/* Offerte flow */
.offerte-body {
    background: var(--color-cream);
    min-height: 100vh;
}

.offerte-app {
    min-height: 100vh;
}

.offerte-screen {
    display: none;
    min-height: 100vh;
}

.offerte-screen.is-active {
    display: flex;
}

/* Entry screen */
.offerte-screen--entry {
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
}

.offerte-entry-bg {
    position: fixed;
    inset: 0;
    background:
        url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1920&q=80') center/cover no-repeat;
    filter: blur(8px) brightness(0.85);
    transform: scale(1.05);
    z-index: 0;
}

.offerte-entry-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(244, 248, 252, 0.55);
}

.offerte-entry-card {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-lg);
}

.offerte-entry__title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 4vw, 1.875rem);
    font-weight: 700;
    color: var(--color-burgundy);
    text-align: center;
    margin-bottom: 0.375rem;
}

.offerte-entry__subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 1.75rem;
    font-size: 0.9375rem;
}

.service-select {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-select__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    padding: 0.75rem 0.625rem;
    min-width: 72px;
    border: 1.5px solid var(--color-cream-dark);
    border-radius: var(--radius-md);
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.service-select__item:hover {
    border-color: var(--color-orange);
}

.service-select__item.is-selected {
    border-color: var(--color-orange);
    background: var(--color-orange-light);
    color: var(--color-burgundy);
}

.service-select__icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--service-icon-bg, #f0ece6);
}

.service-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.service-icon__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.service-icon--photo {
    padding: 3px;
    overflow: hidden;
}

.service-icon--card {
    width: 38px;
    height: 38px;
    border-radius: 11px;
}

.service-icon--card svg {
    width: 26px;
    height: 26px;
}

.service-select__icon svg {
    width: 24px;
    height: 24px;
}

.service-select--wizard {
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.offerte-usps {
    list-style: none;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--color-cream-dark);
    border-bottom: 1px solid var(--color-cream-dark);
}

.offerte-usps li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.offerte-usps li:last-child {
    margin-bottom: 0;
}

.offerte-usps__check {
    color: var(--color-orange);
    font-weight: 700;
    flex-shrink: 0;
}

.offerte-entry-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.offerte-entry-form .form-row label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
    color: var(--color-burgundy-soft);
}

.offerte-entry-form .form-row input,
.house-details-form input,
.house-details-form select,
.contact-step-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--color-cream-dark);
    border-radius: var(--radius-sm);
    font: inherit;
    background: var(--color-white);
    transition: border-color 0.2s;
}

.offerte-entry-form .form-row input:focus,
.house-details-form input:focus,
.house-details-form select:focus,
.contact-step-form input:focus {
    outline: none;
    border-color: var(--color-orange);
}

.offerte-entry-form .form-row {
    margin-bottom: 1rem;
}

.form-error {
    color: #c0392b;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

/* Loading screen */
.offerte-screen--loading {
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    padding: 2rem 1rem;
}

.offerte-loading-inner {
    text-align: center;
    max-width: 480px;
    width: 100%;
}

.offerte-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 2.5rem;
}

.offerte-logo .logo__img {
    height: 40px;
    max-width: 240px;
}

.offerte-loading__visual {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.house-scan {
    width: min(100%, 360px);
    padding: 0.5rem 0;
}

.house-scan__svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

.house-scan__zone {
    fill: rgba(0, 119, 200, 0.14);
    animation: house-scan-zone 2.4s ease-in-out infinite;
}

.house-scan__bracket {
    stroke: var(--color-orange);
    stroke-width: 2.5;
    stroke-linecap: round;
    fill: none;
}

.house-scan__overlay {
    transform-box: fill-box;
    transform-origin: center top;
}

.house-scan__beam-wrap {
    animation: house-scan-beam 2.4s ease-in-out infinite;
}

.house-scan__beam {
    stroke: #6b8fa3;
    stroke-width: 2;
    stroke-linecap: round;
    filter: drop-shadow(0 1px 2px rgba(107, 143, 163, 0.45));
}

@keyframes house-scan-beam {
    0%, 100% {
        transform: translateY(98px);
        opacity: 0.55;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translateY(136px);
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
}

@keyframes house-scan-zone {
    0%, 100% { fill: rgba(0, 119, 200, 0.1); }
    50% { fill: rgba(0, 119, 200, 0.2); }
}

@media (prefers-reduced-motion: reduce) {
    .house-scan__beam-wrap,
    .house-scan__zone {
        animation: none;
    }

    .house-scan__beam-wrap {
        transform: translateY(118px);
    }
}

.offerte-loading__title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--color-burgundy);
    margin-bottom: 0.375rem;
}

.offerte-loading__address {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.scan-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.scan-step {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 500;
    background: var(--color-cream);
    color: var(--color-text-muted);
    border: 1.5px solid transparent;
    transition: all 0.35s ease;
}

.scan-step.is-active {
    background: var(--color-orange-light);
    border-color: var(--color-orange);
    color: var(--color-burgundy);
}

.scan-step.is-done {
    background: color-mix(in srgb, var(--color-orange-light) 50%, white);
    color: var(--color-burgundy);
}

.scan-sources {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.scan-source {
    background: var(--color-white);
    border: 1px solid var(--color-cream-dark);
    border-radius: var(--radius-sm);
    padding: 0.625rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    min-width: 80px;
}

/* Wizard — Atlas-style layout */
.offerte-screen--wizard {
    flex-direction: column;
    background: var(--color-cream-card);
    min-height: 100vh;
}

.offerte-wizard-layout {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 1400px;
    margin-inline: auto;
}

@media (min-width: 960px) {
    .offerte-wizard-layout {
        grid-template-columns: 42fr 58fr;
        min-height: 100vh;
    }
}

.offerte-map-panel {
    background: #eceae6;
    padding: 1rem;
}

@media (min-width: 960px) {
    .offerte-map-panel {
        padding: 1.25rem;
        position: sticky;
        top: 0;
        height: 100vh;
    }
}

.offerte-map-stack {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 0;
}

.offerte-map-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex: 1;
    min-height: 420px;
    box-shadow: var(--shadow-sm);
}

@media (min-width: 960px) {
    .offerte-map-wrap {
        min-height: 0;
    }

    .offerte-map-stack {
        min-height: calc(100vh - 2.5rem);
    }
}

.offerte-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #c8c4bc;
    z-index: 1;
    overscroll-behavior: contain;
}

.map-help-bubble {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 500;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--color-white);
    border-radius: 14px;
    padding: 0.875rem 1rem;
    box-shadow: 0 6px 24px rgba(26, 20, 18, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.05);
    font-size: 0.8125rem;
    max-width: 260px;
    line-height: 1.45;
}

.map-help-bubble::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 1.5rem;
    width: 14px;
    height: 14px;
    background: var(--color-white);
    transform: rotate(45deg);
    box-shadow: 3px 3px 6px rgba(26, 20, 18, 0.08);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.map-help-bubble__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    color: var(--color-orange);
}

.map-help-bubble__icon svg {
    width: 36px;
    height: 36px;
    display: block;
}

.map-help-bubble__body {
    flex: 1;
    min-width: 0;
}

.map-help-bubble strong {
    display: block;
    color: var(--color-burgundy);
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.map-help-bubble p {
    margin: 0 0 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    line-height: 1.45;
}

.map-help-bubble__link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--color-orange);
    font-weight: 700;
    font-size: 0.8125rem;
    text-decoration: none;
    padding: 0.35rem 0.65rem;
    margin: 0 -0.65rem -0.15rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.map-help-bubble__link:hover {
    background: var(--color-orange-light);
    text-decoration: none;
}

.map-help-bubble__link::after {
    content: '→';
    font-size: 0.9em;
}

.offerte-map-overlay {
    position: absolute;
    top: 42%;
    left: 50%;
    width: 72px;
    height: 44px;
    transform: translate(-50%, -50%);
    border: 2.5px solid var(--color-orange);
    border-radius: 3px;
    pointer-events: none;
    z-index: 400;
    opacity: 0;
    transition: opacity 0.5s;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.12);
}

.offerte-map-overlay.is-visible {
    opacity: 1;
}

.offerte-address-card {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 1000;
    background: var(--color-white);
    border-radius: 14px;
    padding: 1rem 1.125rem 0.875rem;
    box-shadow: 0 8px 32px rgba(26, 20, 18, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.06);
    pointer-events: auto;
}

.offerte-address-card__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
}

.offerte-address-card__product-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.offerte-address-card__product-icon .service-icon--card {
    box-shadow: 0 2px 8px rgba(26, 20, 18, 0.08);
}

.offerte-address-card__product-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1c2b4a;
    letter-spacing: -0.01em;
}

.offerte-address-card__main {
    display: flex;
    gap: 0.875rem;
    align-items: center;
    margin-bottom: 0.875rem;
}

.offerte-address-card__photo {
    width: 96px;
    height: 68px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0ece6;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
}

.facade-photo-fallback,
.facade-photo-embed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.facade-photo-fallback {
    object-fit: cover;
}

.offerte-address-card__photo.is-loaded.is-photo .facade-photo-fallback {
    opacity: 1;
    visibility: visible;
}

.offerte-address-card__photo.is-loaded.is-embed .facade-photo-embed {
    opacity: 1;
    visibility: visible;
    width: 400px;
    height: 300px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.24);
}

.offerte-address-card__photo-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0a89e;
    z-index: 0;
}

.offerte-address-card__photo.is-loaded .offerte-address-card__photo-placeholder {
    display: none;
}

.offerte-address-card__address {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1c2b4a;
    line-height: 1.45;
    flex: 1;
    min-width: 0;
}

.offerte-address-card__footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.125rem;
}

.offerte-address-card__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem;
    flex: 1;
    min-width: 0;
}

.address-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.625rem;
    border-radius: var(--radius-pill);
    font-size: 0.6875rem;
    font-weight: 600;
    background: #eef1f6;
    color: #4a5568;
    white-space: nowrap;
}

.address-tag--label {
    background: var(--color-orange);
    color: var(--color-white);
    font-weight: 700;
    padding: 0.3rem 0.55rem;
}

.address-tag--label.is-unknown {
    background: #eef1f6;
    color: #4a5568;
}

.address-tag--label.is-a {
    background: #0077c8;
}

.address-tag--label.is-b {
    background: #0094d4;
}

.address-tag--label.is-c {
    background: #5bc4eb;
    color: #0f2847;
}

.address-tag--label.is-d {
    background: #8eb8d4;
    color: #0f2847;
}

.address-tag--label.is-ef {
    background: #64748b;
}

.address-tag--label.is-g {
    background: #475569;
}

.address-tag.is-unknown {
    background: #eef1f6;
    color: #4a5568;
}

.address-tag--label svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.offerte-address-card__edit {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1.5px solid var(--color-orange);
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-orange);
    flex-shrink: 0;
    transition: background 0.2s;
}

.offerte-address-card__edit:hover {
    background: var(--color-orange-light);
}

.offerte-address-card.is-editing .offerte-address-card__footer {
    display: none;
}

.offerte-address-card.is-editing {
    padding-bottom: 1rem;
}

/* Address edit panel on map card */
.address-edit-panel {
    margin-top: 0.25rem;
    padding-top: 0.875rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.address-edit-panel__title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 0.875rem;
}

.address-edit-field {
    margin-bottom: 0.75rem;
}

.address-edit-field--row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

.address-edit-field__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1c2b4a;
    margin-bottom: 0.375rem;
}

.address-edit-input-wrap {
    position: relative;
}

.address-edit-input {
    width: 100%;
    padding: 0.625rem 2.25rem 0.625rem 0.75rem;
    border: 1.5px solid var(--color-cream-dark);
    border-radius: 10px;
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--color-text);
    background: var(--color-white);
    transition: border-color 0.2s;
}

.address-edit-input-wrap .address-edit-input {
    padding-right: 2.5rem;
}

.address-edit-input-suffix {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text-muted);
    pointer-events: none;
}

.address-edit-input:focus {
    outline: none;
    border-color: var(--color-orange);
}

.address-edit-panel__actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 0.875rem;
}

.btn--sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

.custom-select {
    position: relative;
}

.custom-select__native {
    width: 100%;
    padding: 0.625rem 2rem 0.625rem 0.75rem;
    border: 1.5px solid var(--color-cream-dark);
    border-radius: 10px;
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--color-text);
    background: var(--color-white);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.65rem center;
    cursor: pointer;
    transition: border-color 0.2s;
}

.custom-select__native:focus {
    outline: none;
    border-color: var(--color-orange);
}

/* Energy label picker */
.label-picker {
    position: relative;
}

.label-picker__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border: 1.5px solid var(--color-cream-dark);
    border-radius: 10px;
    background: var(--color-white);
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s;
}

.label-picker__trigger:hover,
.label-picker.is-open .label-picker__trigger {
    border-color: var(--color-orange);
}

.label-picker__trigger-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--color-text-muted);
    transition: transform 0.2s;
}

.label-picker.is-open .label-picker__trigger-chevron {
    transform: rotate(180deg);
}

.label-picker__menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 1100;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(26, 20, 18, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.05);
    max-height: 240px;
    overflow-y: auto;
    padding: 0.375rem;
}

.label-picker__option {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.625rem;
    border: 2px solid transparent;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s, border-color 0.15s;
}

.label-picker__option:hover {
    background: #f8f6f3;
}

.label-picker__option.is-selected {
    border-color: var(--color-orange);
    background: var(--color-orange-light);
}

.label-picker__check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-orange);
    color: var(--color-white);
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.6875rem;
    font-weight: 700;
}

.label-picker__option.is-selected .label-picker__check {
    display: flex;
}

.label-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
    min-width: 52px;
    justify-content: center;
}

.label-badge svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.label-badge--unknown {
    background: #eef1f6;
    color: #4a5568;
    font-weight: 600;
}

.label-badge--a4 { background: #004a80; }
.label-badge--a3 { background: #0060a8; }
.label-badge--a2 { background: #0077c8; }
.label-badge--a1 { background: #0094d4; }
.label-badge--a  { background: #5bc4eb; color: #0f2847; }
.label-badge--b  { background: #8eb8d4; color: #0f2847; }
.label-badge--c  { background: #b8dff0; color: #0f2847; }
.label-badge--d  { background: #94a3b8; color: #0f2847; }
.label-badge--e  { background: #64748b; }
.label-badge--f  { background: #475569; }
.label-badge--g  { background: #334155; }

.house-details-form .label-picker__menu {
    z-index: 50;
}

.offerte-form-panel {
    padding: 1.5rem 1.25rem 2rem;
    background: var(--color-white);
    min-width: 0;
}

@media (min-width: 960px) {
    .offerte-form-panel {
        padding: 2rem 2.5rem 2.5rem;
    }
}

.offerte-stepper {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.offerte-stepper__step {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    background: transparent;
    border-radius: var(--radius-pill);
    transition: all 0.2s;
}

.offerte-stepper__step.is-active {
    background: var(--color-orange);
    color: var(--color-white);
}

.offerte-stepper__step.is-done {
    color: var(--color-burgundy);
}

.offerte-stepper__sep {
    width: 20px;
    height: 1px;
    background: var(--color-cream-dark);
    position: relative;
    flex-shrink: 0;
}

.offerte-stepper__sep::after {
    content: '';
    position: absolute;
    right: -2px;
    top: -3px;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid var(--color-cream-dark);
}

.wizard-step {
    animation: fade-in 0.35s ease;
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.wizard-step__title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-burgundy);
    margin-bottom: 0.375rem;
    line-height: 1.25;
}

.wizard-step__subtitle {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-burgundy);
    margin-bottom: 0.875rem;
    line-height: 1.35;
}

.wizard-step__intro {
    color: var(--color-text-muted);
    margin-bottom: 1.75rem;
    font-size: 0.9375rem;
}

.wizard-step__question-group {
    margin-bottom: 1.75rem;
}

.wizard-step__question-group:last-child {
    margin-bottom: 0;
}

.text-muted {
    font-weight: 400;
    color: var(--color-text-muted);
}

.household-select {
    display: flex;
    margin-bottom: 2rem;
    background: var(--color-white);
    border: 1px solid #e8e4de;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.household-select__btn {
    flex: 1 1 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0.625rem;
    border: none;
    border-right: 1px solid #e8e4de;
    border-radius: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #b0a8a0;
    background: var(--color-white);
    transition: background 0.2s, color 0.2s;
    min-width: 0;
    position: relative;
}

.household-select__btn:first-child {
    border-top-left-radius: calc(var(--radius-md) - 1px);
    border-bottom-left-radius: calc(var(--radius-md) - 1px);
}

.household-select__btn:last-child {
    border-right: none;
    border-top-right-radius: calc(var(--radius-md) - 1px);
    border-bottom-right-radius: calc(var(--radius-md) - 1px);
}

.household-select__btn.is-active {
    background: var(--color-orange-light);
    color: var(--color-orange);
    z-index: 1;
}

.household-select__btn.is-active::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1.5px solid var(--color-orange);
    border-radius: inherit;
    pointer-events: none;
}

.household-select__label {
    flex-shrink: 0;
    line-height: 1;
    font-size: 0.9375rem;
    min-width: 1.1em;
    text-align: center;
}

.household-select__icons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 24px;
    color: #c4bcb4;
}

.household-select__btn.is-active .household-select__icons {
    color: var(--color-orange);
}

.household-icon {
    display: block;
    height: 24px;
    width: 24px;
}

.household-select__btn[data-household="5"] .household-icon {
    width: 26px;
}

@media (max-width: 520px) {
    .household-select {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .household-select::-webkit-scrollbar {
        display: none;
    }

    .household-select__btn {
        flex: 0 0 auto;
        min-width: 4rem;
        padding: 0.875rem 0.75rem;
    }

    .household-select__btn[data-household="3"] {
        min-width: 4.75rem;
    }

    .household-select__btn[data-household="4"],
    .household-select__btn[data-household="5"] {
        min-width: 5.25rem;
    }
}

.energy-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.energy-option {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border: 1.5px solid #ebe7e1;
    border-radius: var(--radius-md);
    cursor: pointer;
    background: var(--color-white);
    transition: border-color 0.2s, background 0.2s;
}

.energy-option:has(input:checked) {
    border-color: var(--color-orange);
    background: var(--color-orange-light);
}

.energy-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.energy-option__icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.energy-facility-icon__img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.energy-option__body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.energy-option__label {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-text);
}

.energy-option__detail {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem;
    min-height: 1.25em;
}

.energy-option__detail--spacer {
    visibility: hidden;
}

.energy-solar-wrap:has(.energy-solar-wrap__checkbox:checked) .energy-option__detail--spacer {
    display: none;
}

.energy-counter {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1.5px solid #e8e4de;
    background: var(--color-white);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    color: var(--color-text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.15s, color 0.15s, background 0.15s, box-shadow 0.15s;
}

.energy-counter:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
    background: var(--color-orange-light);
}

.energy-counter:active {
    background: var(--color-orange-light);
    transform: scale(0.95);
}

.energy-option__input {
    width: 40px;
    padding: 0.35rem 0.25rem;
    border: 1.5px solid #e8e4de;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: center;
    color: var(--color-text);
    background: var(--color-white);
    -moz-appearance: textfield;
    appearance: textfield;
}

.energy-option__input:focus {
    outline: none;
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(0, 119, 200, 0.12);
}

.energy-option__input::-webkit-outer-spin-button,
.energy-option__input::-webkit-inner-spin-button,
.energy-stepper__input::-webkit-outer-spin-button,
.energy-stepper__input::-webkit-inner-spin-button,
.energy-kwh-field__input::-webkit-outer-spin-button,
.energy-kwh-field__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.energy-option__input--wide {
    width: 56px;
}

.energy-option__tick {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid #ddd;
    flex-shrink: 0;
    position: relative;
}

.energy-option:has(input:checked) .energy-option__tick {
    background: var(--color-orange);
    border-color: var(--color-orange);
}

.energy-option:has(input:checked) .energy-option__tick::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 3px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.kwh-slider-wrap {
    margin-bottom: 2rem;
    padding-top: 0.5rem;
}

.kwh-slider__header {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.kwh-slider__bolt {
    color: var(--color-orange);
    flex-shrink: 0;
}

.kwh-slider__value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
}

.kwh-slider__label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.kwh-slider {
    width: 100%;
    height: 8px;
    appearance: none;
    background: #e8e4de;
    border-radius: var(--radius-pill);
    outline: none;
}

.kwh-slider::-webkit-slider-thumb {
    appearance: none;
    width: 28px;
    height: 28px;
    background: var(--color-orange);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 119, 200, 0.45);
    border: 3px solid var(--color-white);
}

.text-required {
    color: var(--color-burgundy);
    font-weight: 700;
}

/* Validatie: lege verplichte velden */
.offerte-entry-form .form-row input.is-invalid,
.house-details-form input.is-invalid,
.house-details-form select.is-invalid,
.contact-step-form input.is-invalid,
.custom-select__native.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.18);
}

.household-select.is-invalid,
.option-pills.is-invalid,
.choice-cards.is-invalid,
.service-select.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.18);
}

.form-row.is-invalid label {
    color: #dc3545;
}

.wizard-step__divider {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin: 0 0 1.5rem;
    padding-top: 0.25rem;
}

.wizard-step__hint {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin: -0.5rem 0 1rem;
}

.energy-options--tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.625rem;
    align-items: stretch;
}

.energy-options--stacked {
    grid-template-columns: 1fr;
}

.energy-option--tile {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto;
    justify-items: start;
    align-items: center;
    text-align: left;
    padding: 1rem 1.125rem;
    gap: 1rem;
    min-height: auto;
    position: relative;
}

.energy-option--tile .energy-option__icon {
    flex-shrink: 0;
}

.energy-options--tiles .energy-facility-icon__img {
    width: 56px;
    height: 56px;
}

.energy-option--tile .energy-option__body {
    align-items: flex-start;
    justify-content: center;
}

.energy-option--tile .energy-option__detail--spacer {
    display: none;
}

.energy-option--tile .energy-option__tick {
    position: absolute;
    top: 0.625rem;
    right: 0.625rem;
}

.energy-solar-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    height: 100%;
}

.energy-solar-wrap:not(:has(.energy-solar-wrap__checkbox:checked)) .energy-option--tile {
    flex: 1;
    height: 100%;
}

.energy-solar-wrap__checkbox {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.energy-solar-wrap:has(.energy-solar-wrap__checkbox:checked) {
    border: 1.5px solid var(--color-orange);
    border-radius: var(--radius-md);
    background: var(--color-orange-light);
}

.energy-solar-wrap:has(.energy-solar-wrap__checkbox:checked) .energy-option--tile {
    border-color: transparent;
    background: transparent;
    margin-bottom: 0;
    min-height: auto;
    padding-bottom: 0.375rem;
}

.energy-solar-wrap:has(.energy-solar-wrap__checkbox:checked) .energy-option__tick {
    background: var(--color-orange);
    border-color: var(--color-orange);
}

.energy-solar-wrap:has(.energy-solar-wrap__checkbox:checked) .energy-option__tick::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 3px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.energy-solar-fields {
    display: none;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding: 0 0.625rem 0.875rem;
    white-space: nowrap;
}

.energy-solar-wrap:has(.energy-solar-wrap__checkbox:checked) .energy-solar-fields {
    display: flex;
}

.energy-stepper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #e8e4de;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-white);
    flex-shrink: 0;
}

.energy-stepper__btn {
    appearance: none;
    -webkit-appearance: none;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 0;
    background: var(--color-cream-card);
    color: var(--color-text-muted);
    font-family: inherit;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    padding: 0 0 2px;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    box-shadow: none;
    transition: background 0.15s, color 0.15s;
}

.energy-stepper__btn:first-child {
    border-right: 1px solid #e8e4de;
}

.energy-stepper__btn:last-child {
    border-left: 1px solid #e8e4de;
}

.energy-stepper__btn:hover {
    background: var(--color-orange-light);
    color: var(--color-orange);
}

.energy-stepper__btn:active {
    background: var(--color-orange-light);
    transform: none;
}

.energy-stepper .energy-counter:hover,
.energy-stepper .energy-counter:active {
    border: none;
    box-shadow: none;
}

.energy-stepper__input {
    width: 2.5rem;
    height: 30px;
    border: none;
    padding: 0;
    text-align: center;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text);
    background: var(--color-white);
    -moz-appearance: textfield;
    appearance: textfield;
}

.energy-stepper__input:focus {
    outline: none;
    background: var(--color-orange-light);
}

.energy-solar-fields__sep {
    flex-shrink: 0;
    color: #c4bcb4;
    font-size: 0.875rem;
    font-weight: 500;
    user-select: none;
}

.energy-kwh-field {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #e8e4de;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-white);
    flex-shrink: 0;
    height: 30px;
}

.energy-kwh-field__input {
    width: 3.75rem;
    height: 100%;
    border: none;
    padding: 0 0.25rem;
    text-align: center;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text);
    background: transparent;
    -moz-appearance: textfield;
    appearance: textfield;
}

.energy-kwh-field__input:focus {
    outline: none;
    background: var(--color-orange-light);
}

.energy-kwh-field__unit {
    padding: 0 0.625rem 0 0.125rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.usage-slider-wrap {
    margin-bottom: 1.75rem;
}

.usage-slider-wrap--boxed {
    background: var(--color-white);
    border: 1.5px solid #ebe7e1;
    border-radius: var(--radius-md);
    padding: 1.25rem 1.125rem 1rem;
}

.usage-slider__scale {
    display: flex;
    justify-content: space-between;
    margin-top: 0.625rem;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.usage-slider__header {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.usage-slider__icon--gas {
    color: var(--color-orange);
}

.usage-slider__icon--power {
    color: var(--color-orange);
}

.usage-slider__value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text);
}

.usage-slider__label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.usage-slider__info {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid #ccc;
    background: var(--color-white);
    color: var(--color-text-muted);
    font-size: 0.6875rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    margin-left: auto;
    flex-shrink: 0;
}

.usage-slider {
    width: 100%;
    height: 8px;
    appearance: none;
    background: linear-gradient(to right, var(--color-orange) 0%, var(--color-orange) var(--slider-fill, 50%), var(--color-cream-dark) var(--slider-fill, 50%), var(--color-cream-dark) 100%);
    border-radius: var(--radius-pill);
    outline: none;
}

.usage-slider::-webkit-slider-thumb {
    appearance: none;
    width: 28px;
    height: 28px;
    background: var(--color-white);
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--color-orange);
}

.kwh-slider {
    background: linear-gradient(to right, var(--color-orange) 0%, var(--color-orange) var(--slider-fill, 50%), var(--color-cream-dark) var(--slider-fill, 50%), var(--color-cream-dark) 100%);
}

.option-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.option-pills--2 {
    max-width: 280px;
}

.option-pill {
    flex: 1 1 auto;
    min-width: 0;
    cursor: pointer;
}

.option-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-pill span {
    display: block;
    padding: 0.75rem 1rem;
    border: 1.5px solid #ebe7e1;
    border-radius: var(--radius-md);
    background: var(--color-white);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.option-pill:has(input:checked) span {
    border-color: var(--color-orange);
    background: var(--color-orange-light);
    color: var(--color-orange);
}

.choice-cards {
    display: grid;
    gap: 0.625rem;
    margin-bottom: 1.75rem;
}

.choice-cards--2 {
    grid-template-columns: repeat(2, 1fr);
}

.choice-cards--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-cards--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.choice-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 0.75rem;
    border: 1.5px solid #ebe7e1;
    border-radius: var(--radius-md);
    background: var(--color-white);
    cursor: pointer;
    text-align: center;
    transition: border-color 0.2s, background 0.2s;
    min-height: 150px;
}

.choice-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-card__icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.choice-cards--2 .choice-card__icon {
    width: 96px;
    height: 96px;
}

.choice-cards--2 .choice-card {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 1.125rem;
    padding: 1.125rem 1.25rem;
    min-height: auto;
}

.choice-cards--2 .choice-card__label {
    flex: 1;
    min-width: 0;
    font-size: 0.9375rem;
}

.choice-cards--2.choice-cards--vertical .choice-card {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1.25rem 0.75rem;
    min-height: 150px;
}

.choice-cards--2.choice-cards--vertical .choice-card__icon {
    width: 72px;
    height: 72px;
}

.choice-cards--2.choice-cards--vertical .choice-card__label {
    flex: none;
    font-size: 0.8125rem;
}

.choice-card--tall {
    min-height: 170px;
}

.choice-card--tall .choice-card__label {
    font-size: 0.8125rem;
    line-height: 1.4;
    padding: 0 0.25rem;
}

.choice-card__info {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid #ddd;
    background: var(--color-white);
    color: var(--color-text-muted);
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    cursor: help;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.choice-card__info:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
}

.choice-card__icon svg,
.choice-card__img,
.choice-card__svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.choice-card__icon--question .choice-card__svg {
    width: 72px;
    height: 72px;
}

.choice-card__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.35;
}

.choice-card__radio,
.choice-card__check {
    position: absolute;
    top: 0.625rem;
    right: 0.625rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid #ddd;
    background: var(--color-white);
}

.choice-card__check {
    border-radius: 4px;
}

.choice-card:has(input:checked) {
    border-color: var(--color-orange);
    background: var(--color-orange-light);
}

.choice-card:has(input:checked) .choice-card__radio {
    border-color: var(--color-orange);
    background: var(--color-orange);
    box-shadow: inset 0 0 0 3px var(--color-white);
}

.choice-card--check:has(input:checked) .choice-card__check {
    background: var(--color-orange);
    border-color: var(--color-orange);
}

.choice-card--check:has(input:checked) .choice-card__check::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.insulation-panel {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

/* Airco — ruimtes */
.airco-room-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.125rem;
    margin-bottom: 1.75rem;
    background: var(--color-white);
    border: 1.5px solid #ebe7e1;
    border-radius: var(--radius-md);
}

.airco-room-counter__label {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
}

.airco-room-counter__icon {
    color: var(--color-orange);
    flex-shrink: 0;
}

.airco-room-counter__stepper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #e8e4de;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-white);
}

.airco-room-counter__btn {
    appearance: none;
    -webkit-appearance: none;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--color-cream-card);
    color: var(--color-text-muted);
    font-family: inherit;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    transition: background 0.15s, color 0.15s;
}

.airco-room-counter__btn:first-child {
    border-right: 1px solid #e8e4de;
}

.airco-room-counter__btn:last-child {
    border-left: 1px solid #e8e4de;
}

.airco-room-counter__btn:hover {
    background: var(--color-orange-light);
    color: var(--color-orange);
}

.airco-room-counter__value {
    width: 44px;
    border: none;
    background: transparent;
    text-align: center;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    pointer-events: none;
}

.airco-room-counter.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.18);
}

.airco-rooms {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.875rem;
}

.airco-room-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0.75rem;
    background: var(--color-white);
    border: 1.5px solid #ebe7e1;
    border-radius: var(--radius-md);
}

.airco-room-card.is-invalid,
.airco-room-card__input.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.18);
}

.airco-room-card__visual {
    position: relative;
    width: 100%;
    max-width: 120px;
}

.airco-room-card__room {
    width: 100%;
    height: auto;
    display: block;
}

.airco-room-card__badge {
    position: absolute;
    top: 0.25rem;
    left: 0.25rem;
    min-width: 22px;
    height: 22px;
    padding: 0 0.375rem;
    border-radius: 4px;
    background: var(--color-white);
    border: 1.5px solid #e8e4de;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.airco-room-card__field {
    position: relative;
    width: 100%;
}

.airco-room-card__input {
    width: 100%;
    padding: 0.625rem 2rem 0.625rem 0.75rem;
    border: 1.5px solid #e8e4de;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: center;
    background: var(--color-white);
    transition: border-color 0.2s;
}

.airco-room-card__input:focus {
    outline: none;
    border-color: var(--color-orange);
}

.airco-room-card__unit {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    pointer-events: none;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1.5px solid #ebe7e1;
    border-radius: var(--radius-md);
    background: var(--color-white);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.product-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.product-card:has(input:checked) {
    border-color: var(--color-orange);
    box-shadow: 0 0 0 1px var(--color-orange);
}

.product-card__badge {
    position: absolute;
    top: 0.625rem;
    left: 0.625rem;
    z-index: 1;
    padding: 0.25rem 0.5rem;
    background: var(--color-orange);
    color: var(--color-white);
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 4px;
}

.product-card__image {
    display: block;
    aspect-ratio: 3 / 2;
    background: #f5f5f5;
}

.product-card__image svg {
    width: 100%;
    height: 100%;
}

.product-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding: 1rem;
    flex: 1;
}

.product-card__title {
    font-size: 0.875rem;
    color: var(--color-text);
    line-height: 1.4;
}

.product-card__usps {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.product-card__usps li {
    position: relative;
    padding-left: 1.125rem;
    margin-bottom: 0.25rem;
}

.product-card__usps li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-orange);
    font-weight: 700;
}

.product-card__link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-orange);
    margin-top: auto;
}

@media (max-width: 900px) {
    .energy-options--tiles:not(.energy-options--stacked) {
        grid-template-columns: 1fr;
    }

    .choice-cards--3 {
        grid-template-columns: 1fr;
    }

    .choice-cards--2.choice-cards--vertical {
        grid-template-columns: repeat(2, 1fr);
    }

    .choice-cards--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .choice-cards--2 {
        grid-template-columns: 1fr;
    }

    .option-pills:not(.option-pills--2) {
        flex-direction: column;
    }
}

.house-details-form .form-row {
    margin-bottom: 1rem;
}

.house-details-form label {
    display: block;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
    color: var(--color-burgundy);
}

.product-summary {
    background: var(--color-cream-card);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.wizard-nav-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.wizard-nav-buttons .btn {
    flex: 1;
}

.contact-step-form .form-row {
    margin-bottom: 1rem;
}

.contact-step-form label {
    display: block;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
    color: var(--color-burgundy);
}

.success-message {
    text-align: center;
    padding: 3rem 1rem;
}

.success-message__icon {
    width: 64px;
    height: 64px;
    background: var(--color-orange-light);
    color: var(--color-burgundy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.success-message h2 {
    font-family: var(--font-serif);
    color: var(--color-burgundy);
    margin-bottom: 0.75rem;
}

.success-message p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.offerte-fab {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--color-burgundy);
    color: var(--color-white);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    z-index: 50;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
}

.offerte-fab:hover {
    transform: translateY(-2px);
}

@media (max-width: 959px) {
    .offerte-fab.offerte-fab--hidden {
        transform: translateY(calc(100% + 2rem));
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .offerte-fab.offerte-fab--hidden:hover {
        transform: translateY(calc(100% + 2rem));
    }
}

.offerte-map .leaflet-control-attribution,
.offerte-map .leaflet-control-zoom {
    display: none !important;
}

/* Mobile address card — compact / expanded */
@media (max-width: 959px) {
    .offerte-map-panel {
        padding: 0.75rem 1rem 1rem;
        background: var(--color-cream-card);
    }

    .offerte-map-panel .offerte-map-stack {
        min-height: 0;
    }

    .offerte-map-wrap {
        min-height: 0;
        background: var(--color-white);
        border-radius: 14px;
        box-shadow: 0 4px 20px rgba(26, 20, 18, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.06);
        overflow: hidden;
    }

    .offerte-map-wrap:not(.is-mobile-expanded) .offerte-map-block,
    .offerte-map-wrap:not(.is-mobile-expanded) .address-card-mobile-details {
        display: none !important;
    }

    .offerte-map-wrap:not(.is-mobile-expanded) .address-card-expandable {
        display: none !important;
    }

    .offerte-map-wrap.is-mobile-expanded .offerte-map-block {
        display: block;
        position: relative;
    }

    .offerte-map-wrap.is-mobile-expanded .offerte-map {
        position: relative;
        inset: auto;
        height: 220px;
        width: 100%;
        border-radius: 0;
    }

    .offerte-map-wrap.is-mobile-expanded .map-product-badge {
        display: inline-flex !important;
        position: absolute;
        bottom: 0.75rem;
        right: 0.75rem;
        z-index: 500;
    }

    .offerte-address-card {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0.875rem 1rem;
        margin: 0;
    }

    .offerte-map-wrap.is-mobile-expanded .offerte-address-card {
        padding-bottom: 0.75rem;
    }

    .address-card-desktop,
    .map-help-bubble {
        display: none !important;
    }

    .address-card-compact {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .address-card-compact__photo {
        width: 72px;
        height: 52px;
    }

    .address-card-compact__rows {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 0.375rem;
    }

    .address-card-row {
        display: flex;
        align-items: center;
        gap: 0.375rem;
        flex-wrap: wrap;
    }

    .address-card-row__label {
        font-size: 0.8125rem;
        color: #8a94a6;
        flex-shrink: 0;
    }

    .address-card-row__value--house {
        font-size: 0.875rem;
        font-weight: 700;
        color: var(--color-burgundy);
    }

    .address-card-row__value .address-tag {
        font-size: 0.6875rem;
    }

    .address-card-toggle {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        border: 1.5px solid #e8e4de;
        background: var(--color-white);
        color: #8a94a6;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        cursor: pointer;
        padding: 0;
        transition: border-color 0.2s, background 0.2s;
    }

    .offerte-map-wrap.is-mobile-expanded .address-card-toggle__icon {
        transform: rotate(180deg);
    }

    .address-card-expandable__address {
        font-size: 0.8125rem;
        color: #8a94a6;
        line-height: 1.45;
        margin: 0 0 0.75rem;
        padding: 0 1rem;
    }

    .map-product-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.375rem;
        padding: 0.375rem 0.625rem;
        background: var(--color-white);
        border-radius: var(--radius-pill);
        box-shadow: 0 2px 10px rgba(26, 20, 18, 0.12);
        border: 1px solid rgba(0, 0, 0, 0.06);
    }

    .map-product-badge__icon .service-icon--card {
        width: 28px;
        height: 28px;
    }

    .map-product-badge__label {
        font-size: 0.8125rem;
        font-weight: 700;
        color: var(--color-burgundy);
    }

    .offerte-map-wrap.is-mobile-expanded .map-product-badge {
        position: absolute;
        bottom: 0.75rem;
        right: 0.75rem;
        z-index: 500;
    }

    .address-card-mobile-details {
        padding: 0 1rem 1rem;
        background: var(--color-white);
    }

    .address-card-details {
        border-top: 1px solid #ebe7e1;
        margin-bottom: 0.875rem;
    }

    .address-card-detail-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.875rem 0;
        border-bottom: 1px solid #ebe7e1;
    }

    .address-card-detail-row__label {
        font-size: 0.875rem;
        color: var(--color-text-muted);
    }

    .address-card-detail-row__value {
        font-size: 0.875rem;
        font-weight: 700;
        color: var(--color-text);
    }

    .address-card-aanpassen {
        width: 100%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
        border: 1.5px solid var(--color-orange);
        border-radius: var(--radius-pill);
        background: var(--color-white);
        color: var(--color-orange);
        font-family: inherit;
        font-size: 0.9375rem;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.2s;
    }

    .address-card-aanpassen:hover {
        background: var(--color-orange-light);
    }

    .offerte-address-card.is-editing .address-card-compact,
    .offerte-address-card.is-editing .address-card-expandable,
    .offerte-address-card.is-editing ~ .offerte-map-block,
    .offerte-address-card.is-editing ~ .address-card-mobile-details {
        display: none !important;
    }

    .offerte-address-card.is-editing {
        padding: 1rem;
    }
}

@media (min-width: 960px) {
    .address-card-compact,
    .address-card-expandable,
    .address-card-mobile-details,
    .address-card-toggle {
        display: none !important;
    }

    .offerte-map-block {
        display: block !important;
        position: absolute;
        inset: 0;
        z-index: 1;
    }

    .offerte-map-block .map-product-badge {
        display: none !important;
    }
}
