/* Matching contact portrait, title layout and close-state across the brand family. */
html body:not(#contact123-off):not(#contact123-off2) :is(.immo-whatsapp-card,.kp-whatsapp-card,.kp-whatsapp-card-v17,.whatsapp-teaser)>div:first-of-type{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;gap:14px!important;align-items:center!important;margin:0 0 14px!important}
html body:not(#contact123-off):not(#contact123-off2) :is(.cb89-avatar-shell,.whatsapp-avatar){width:72px!important;height:72px!important;min-width:72px!important;max-width:72px!important;margin:0!important;border-radius:50%!important;overflow:hidden!important;display:block!important}
html body:not(#contact123-off):not(#contact123-off2) :is(.immo-whatsapp-card,.kp-whatsapp-card,.kp-whatsapp-card-v17,.whatsapp-teaser)>div:first-of-type img{width:72px!important;height:72px!important;max-width:none!important;min-width:72px!important;object-fit:cover!important;object-position:center!important;display:block!important;margin:0!important;border-radius:50%!important;transform:scale(1.55)!important;transform-origin:50% 42%!important;filter:none!important;animation:none!important;transition:none!important;opacity:1!important}
html body:not(#contact123-off):not(#contact123-off2) :is(.immo-whatsapp-card,.kp-whatsapp-card,.kp-whatsapp-card-v17,.whatsapp-teaser)>div:first-of-type span:not(.cb89-avatar-shell):not(.whatsapp-avatar){display:block!important;min-width:0!important}
html body:not(#contact123-off):not(#contact123-off2) :is(.immo-whatsapp-card,.kp-whatsapp-card,.kp-whatsapp-card-v17,.whatsapp-teaser)>div:first-of-type strong{display:block!important;font-size:18px!important;line-height:1.3!important;margin:0 0 4px!important}
html body:not(#contact123-off):not(#contact123-off2) :is(.immo-whatsapp-card,.kp-whatsapp-card,.kp-whatsapp-card-v17,.whatsapp-teaser)>div:first-of-type small{display:block!important;font-size:12px!important;line-height:1.5!important;margin:0!important;font-weight:600!important}
html body:not(#contact123-off):not(#contact123-off2) :is(.immo-whatsapp-card,.kp-whatsapp-card,.kp-whatsapp-card-v17,.whatsapp-teaser)>p{line-height:1.65!important;font-size:14px!important;margin:0 0 16px!important}
html body:not(#contact123-off):not(#contact123-off2) :is(.immo-whatsapp-button,.kp-whatsapp,.kp-whatsapp-v17,.whatsapp-trigger)>.kp-wa-cross123{display:none!important;color:#fff!important;stroke:#fff!important;width:25px!important;height:25px!important}
html body:not(#contact123-off):not(#contact123-off2) :is(.immo-whatsapp-button,.kp-whatsapp,.kp-whatsapp-v17,.whatsapp-trigger).wa-open123>:not(.kp-wa-cross123){display:none!important}
html body:not(#contact123-off):not(#contact123-off2) :is(.immo-whatsapp-button,.kp-whatsapp,.kp-whatsapp-v17,.whatsapp-trigger).wa-open123>.kp-wa-cross123{display:block!important}
html body :is(.immo-whatsapp-card,.kp-whatsapp-card,.kp-whatsapp-card-v17,.whatsapp-teaser)[hidden]{display:none!important}

/* Keep the close cross visible despite the original WhatsApp path fill rule. */
html body:not(#contact125-off):not(#contact125-off2) :is(.immo-whatsapp-button,.kp-whatsapp,.kp-whatsapp-v17,.whatsapp-trigger)>.kp-wa-cross123 path{fill:none!important;stroke:#fff!important;stroke-width:2px!important;stroke-linecap:round!important}

html body:not(#contact125-off):not(#contact125-off2) :is(.immo-whatsapp-card,.kp-whatsapp-card,.kp-whatsapp-card-v17,.whatsapp-teaser)>:is(button,a){background:linear-gradient(#45d883,#159647)!important;color:#fff!important;border:1px solid #b7f5ce!important;border-radius:9px!important;box-shadow:0 3px 6px #173b2528!important;text-shadow:1px 1px 1px #063b25!important}

html body:not(#contact125-off):not(#contact125-off2) :is(.immo-whatsapp-card,.kp-whatsapp-card,.kp-whatsapp-card-v17,.whatsapp-teaser)>button[aria-label="WhatsApp-Hinweis schließen"]{display:none!important}
