/* URBANGOODLIVING Bild und Logo Korrekturen 2026-09-09 */
.site-header .brand{display:flex!important;align-items:center!important;justify-content:flex-start!important;min-width:150px!important;height:100%!important;overflow:visible!important}
.site-header .brand img,.header-bar .brand img{display:block!important;width:176px!important;max-width:176px!important;height:68px!important;max-height:68px!important;object-fit:contain!important;object-position:center center!important}
.footer img,.site-footer img[src*="ugl-logo"],img[src*="ugl-logo.webp"]{object-fit:contain!important;object-position:center center!important}

/* Personen niemals anschneiden */
img[src*="team-urbangoodliving.webp"],
img[src*="team-urbangoodliving-candid.webp"],
img[src*="kerstin-rohde.webp"],
img[src*="mario-urban.webp"],
img[src*="doreen-urban.webp"],
img[src*="michael-urban.webp"],
img[src*="michael-mario-urban.webp"]{
  object-fit:contain!important;
  object-position:center center!important;
}
.hero-image:has(img[src*="team-urbangoodliving"]),
.jobs-image:has(img[src*="team-urbangoodliving"]),
.page-hero-grid:has(img[src*="team-urbangoodliving"]),
.team-portrait,
.team-wide-image,
.subpage-hero:has(img[src*="team-urbangoodliving"]){background:#001534!important}
.team-portrait img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important}
.team-wide-image img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important}
.subpage-hero img[src*="team-urbangoodliving"]{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important}
@media(max-width:720px){
  .site-header .brand img,.header-bar .brand img{width:150px!important;max-width:150px!important;height:58px!important;max-height:58px!important}
}

/* Finale Sichtbarkeits- und Modal-Korrekturen 2026-09-09 */
html,body{max-width:100%;}
.site-header,.header-bar,.site-header-bar,.brand{overflow:visible!important}
.brand{display:flex!important;align-items:center!important;justify-content:flex-start!important}
.brand img,img[src$="/ugl-logo.webp"],img[src="/ugl-logo.webp"]{
  object-fit:contain!important;object-position:center center!important;
  max-width:100%!important;height:auto!important;
}
.site-header .brand{width:190px!important;min-width:190px!important;height:74px!important}
.site-header .brand img{width:190px!important;height:74px!important;max-height:74px!important}
.footer-top img[src*="ugl-logo"],.site-footer img[src*="ugl-logo"]{width:min(240px,100%)!important;height:auto!important;max-height:none!important}

/* Menschen immer vollständig zeigen. Kein Beschnitt von Kopf oder Körper. */
.team-portrait{background:#001534!important;display:flex!important;align-items:center!important;justify-content:center!important;aspect-ratio:2/3!important;height:auto!important;min-height:440px!important;overflow:hidden!important}
.team-portrait img,
.team-wide-image img,
.hero-image img[src*="team-"],
.jobs-image img[src*="team-"],
.page-hero img[src*="team-"],
.subpage-hero-image[src*="team-"],
img[src*="michael-urban.webp"],
img[src*="kerstin-rohde.webp"],
img[src*="mario-urban.webp"],
img[src*="doreen-urban.webp"],
img[src*="michael-mario-urban.webp"]{
  object-fit:contain!important;object-position:center center!important;background:#001534!important;
}
.team-wide-image{background:#001534!important;overflow:hidden!important}
.team-wide-image img{width:100%!important;height:auto!important;max-height:none!important;display:block!important}
.jobs-image{background:#001534!important;border-radius:22px!important;overflow:hidden!important}
.jobs-image img{width:100%!important;height:auto!important;aspect-ratio:auto!important;max-height:none!important}
.subpage-hero:has(.subpage-hero-image[src*="team-"]){background:#001534!important}
.subpage-hero-image[src*="team-"]{width:100%!important;height:100%!important}

/* Immobilienangebote wie auf den regionalen Landingpages als großes Fenster */
.ugl-modal-fixed.modal{background:rgba(0,14,35,.84)!important;padding:18px!important}
.ugl-modal-fixed .modal-window{width:min(1180px,96vw)!important;height:min(880px,92vh)!important;border-radius:0!important;border:1px solid rgba(239,209,123,.24)!important}
.ugl-modal-fixed .modal-window-offers{width:min(1100px,96vw)!important}
.ugl-modal-fixed .modal-toolbar{background:#001f50!important;min-height:68px!important;padding:12px 18px!important}
.ugl-modal-fixed .modal-toolbar strong{font-family:Georgia,'Times New Roman',serif!important;font-size:21px!important}
.ugl-modal-fixed .modal-toolbar button{border-radius:0!important;width:44px!important;height:44px!important;background:#d8ad45!important;font-size:27px!important}
.ugl-modal-fixed .modal-body{background:#fff!important;overflow:hidden!important}
.ugl-modal-fixed .modal-body iframe{width:100%!important;height:100%!important;border:0!important;background:#fff!important;display:block!important}
body.modal-open{overflow:hidden!important}

/* Prämien-Embed: Logo vollständig, aber nicht überdimensioniert */
.praemie-embed-logo{display:flex;justify-content:center;align-items:center;padding:18px 20px 6px;background:#001f50}
.praemie-embed-logo img{width:min(300px,72vw)!important;height:auto!important;max-height:118px!important;object-fit:contain!important}

@media(max-width:720px){
  .site-header .brand{width:145px!important;min-width:145px!important;height:58px!important}
  .site-header .brand img{width:145px!important;height:58px!important;max-height:58px!important}
  .team-portrait{min-height:360px!important}
  .ugl-modal-fixed.modal{padding:4px!important}
  .ugl-modal-fixed .modal-window,.ugl-modal-fixed .modal-window-offers{width:100%!important;height:calc(100vh - 8px)!important}
}

/* Kundenpriorisierung 2026-09-09 */
.client-paths{background:#f7f3ea!important}
.client-path-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:34px}
.client-path-card{padding:42px;border:1px solid rgba(0,31,80,.12);background:#fff;min-height:360px;display:flex;flex-direction:column;justify-content:center}
.client-path-card h3{font-family:Georgia,'Times New Roman',serif;color:#001f50;font-size:clamp(30px,3vw,50px);line-height:1.04;margin:10px 0 18px}
.client-path-card p{font-size:17px;line-height:1.7;max-width:620px}
.client-path-card.seller-card{background:#001f50;color:#fff;border-color:#001f50}
.client-path-card.seller-card h3,.client-path-card.seller-card .eyebrow{color:#efd17b}
.client-path-card.seller-card p{color:rgba(255,255,255,.88)}
.client-path-card.seller-card .text-link{color:#fff}
.client-path-actions{display:flex;gap:18px;flex-wrap:wrap;align-items:center;margin-top:26px}
.team-teaser-layout{display:grid;grid-template-columns:minmax(320px,1.05fr) minmax(320px,.95fr);gap:54px;align-items:center}
.team-teaser-image{background:#001534;min-height:440px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.team-teaser-image img{width:100%!important;height:100%!important;max-height:560px!important;object-fit:contain!important;object-position:center center!important;display:block!important}

/* Logos und Personen immer vollständig sichtbar */
.site-header .brand,.header-bar .brand{overflow:visible!important}
.site-header .brand img,.header-bar .brand img,.site-footer img[src*="ugl-logo"],.footer img[src*="ugl-logo"]{object-fit:contain!important;object-position:center center!important}
img[src*="team-"],img[src*="michael-"],img[src*="kerstin-"],img[src*="mario-"],img[src*="doreen-"]{object-fit:contain!important;object-position:center center!important}

@media(max-width:900px){
  .client-path-grid,.team-teaser-layout{grid-template-columns:1fr}
  .client-path-card{padding:30px;min-height:0}
  .team-teaser-image{min-height:320px}
}


/* Lokaler Immobilienkatalog im Modal */
html.embed-mode .site-header-bar,
html.embed-mode .header-spacer,
html.embed-mode .mobile-panel,
html.embed-mode .mobile-nav,
html.embed-mode .offers-hero,
html.embed-mode footer,
html.embed-mode .footer{display:none!important}
html.embed-mode body{background:#fff!important}
html.embed-mode main{padding:0!important;margin:0!important}
html.embed-mode .section{padding:20px 0 28px!important}
html.embed-mode .shell{width:min(1180px,calc(100% - 24px))!important}
html.embed-mode .offers-toolbar{margin-top:4px!important;position:sticky;top:0;z-index:5;background:#fff;padding:12px 0 10px}
html.embed-mode .offers-source{margin-bottom:8px}

/* 13.09.2026 freigegebene Navigation und Angebotsintegration */
.site-header-bar{position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:5000!important}
.modal-window-offers .modal-body iframe,#offers-modal .modal-body iframe{width:100%!important;height:100%!important;border:0!important;background:#fff!important}
@media(max-width:1180px){.site-header.compact .desktop-nav,.site-header.compact .header-cta{display:none!important}.site-header.compact .menu-button{display:inline-flex!important}}
