.immo-map { position: relative; margin-bottom: 1rem; }
.immo-map-canvas { height: 320px; border-radius: .5rem; background: #e9ecef; }
.immo-map:not(.immo-map-on):not(.immo-map-auto) .immo-map-canvas { display: none; }
/* automatic mode: the space is reserved from the start (fixed height, no jump when the map appears) */
.immo-map-auto .immo-map-canvas { display: block; min-height: 320px; }
.immo-map-consent { border: 1px solid #dee2e6; border-radius: .5rem; padding: 1rem; background: #f8f9fa; }
.immo-map-on .immo-map-consent { display: none; }
.immo-map .immo-map-load { min-height: 44px; }
#location_av:has(.immo-map)::after { display: none !important; }
@media (min-width: 992px) { .immo-map-canvas, .immo-map-auto .immo-map-canvas { height: 380px; min-height: 380px; } }

/* map search */
.immo-map-canvas-large { height: 70vh; min-height: 360px; }
.immo-list { max-height: 70vh; overflow-y: auto; }
.immo-card { border-bottom: 1px solid #dee2e6; }
.immo-card-link { display: flex; gap: .75rem; padding: .5rem 0; color: inherit; text-decoration: none; min-height: 44px; }
.immo-card-img { width: 120px; height: 80px; object-fit: cover; border-radius: .25rem; flex: none; }
.immo-card-price { color: #0b2545; font-weight: 600; }
.immo-pin { background: none; border: 0; width: 0 !important; height: 0 !important; }
.immo-pin-label { position: absolute; transform: translate(-50%, -50%); background: #0b2545; color: #fff; border-radius: 1rem;
                  padding: .1rem .55rem; font-size: .8rem; font-weight: 600; white-space: nowrap; border: 2px solid #fff;
                  box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.immo-pin-label.immo-pin-area { background: #c9a227; color: #0b2545; }
@media (max-width: 991.98px) {
    .immo-search[data-view="list"] .immo-pane-map { display: none; }
    .immo-search[data-view="map"] .immo-pane-list { display: none; }
    .immo-list { max-height: none; }
}

.immo-btn { min-height: 44px; display: inline-flex; align-items: center; }
.immo-more summary { cursor: pointer; font-size: .9rem; min-height: 32px; }

/* properties nearby */
.immo-nearby-props img.av-home-featured-img-av { aspect-ratio: 3 / 2; height: auto; object-fit: cover; }
.immo-pin-label.immo-pin-near { background: #fff; color: #0b2545; border-color: #0b2545; }

/* sticky WhatsApp button (MP-IMMO-MEHRWERT stage 3). Bottom left, because the chat button sits bottom right and the
   chat bubble keeps its 84 px. Below the navigation bar, the booking bar and the cookie notice (z-index), and the
   script lifts it above fixed bars at the bottom and hides it over maps, the footer and while a form field is in
   use. --immo-wa-lift is set by immo_wa.js. Contrast: white on #075e54 is about 8:1. */
.immo-wa {
    position: fixed;
    left: 12px;
    bottom: calc(12px + var(--immo-wa-lift, 0px) + env(safe-area-inset-bottom, 0px));
    z-index: 1020;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-width: 48px;
    min-height: 48px;
    max-width: calc(100vw - 96px);
    padding: .6rem 1.1rem .6rem .9rem;
    border-radius: 999px;
    background: #075e54;
    color: #fff;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
    transition: opacity .15s, bottom .15s;
}
.immo-wa::before { content: "\f232"; font-family: FontAwesome; font-size: 1.5rem; line-height: 1; }
.immo-wa:hover, .immo-wa:focus { color: #fff; background: #064a42; text-decoration: none; }
.immo-wa:focus-visible { outline: 3px solid #c9a227; outline-offset: 2px; }
.immo-wa.immo-wa-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .immo-wa { transition: none; } }
@media print { .immo-wa { display: none; } }

/* property page: checked facts, expat details, trust signals (MP-IMMO-MEHRWERT stage 6). Mobile first: one column
   at 390 px, two columns from 768 px. Long source texts wrap (no sideways scrolling). Gold only as a surface with
   dark blue text (about 5:1); the muted grey #4a5568 on white is about 7:1. */
.immo-facts { --immo-navy: var(--uy-navy, #1E417E); --immo-gold: var(--uy-gold, #F0AB15); min-width: 0; }
.immo-facts-title { color: var(--immo-navy); }
.immo-facts-hint { color: #4a5568; }
.immo-facts-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; margin: 0; }
.immo-fact { border: 1px solid #d9dfeb; border-radius: .5rem; padding: .5rem .75rem; background: #fff; min-width: 0; }
.immo-fact dt { font-size: .8125rem; font-weight: 600; color: #4a5568; margin: 0; }
.immo-fact dd { margin: 0; overflow-wrap: anywhere; }
.immo-fact-value { color: var(--immo-navy); font-weight: 600; }
.immo-fact-unknown { color: #4a5568; font-style: italic; }
.immo-fact-src { font-size: .75rem; color: #4a5568; line-height: 1.35; }
.immo-fact-stale { font-size: .75rem; color: #8a4b00; font-weight: 600; }
.immo-trust { margin-top: 0; padding-left: 0; }
.immo-chip { background: var(--immo-gold); color: var(--immo-navy); border-radius: 1rem; padding: .25rem .75rem;
             font-size: .8125rem; font-weight: 600; }
@media (min-width: 768px) { .immo-facts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media print { .immo-chip { border: 1px solid #1E417E; } }
