.com-baubiologen-public{--bb-green:#2b8a3e;--bb-green-soft:#edf7ee;--bb-border:#dfe7df;--bb-text:#17212b;--bb-muted:#5d6872;color:var(--bb-text)}
.bb-search-intro{margin-bottom:1.5rem}.bb-search-intro h1{margin-bottom:.35rem}.bb-search-intro p{color:var(--bb-muted)}
.bb-search-form{display:grid;grid-template-columns:minmax(260px,2fr) minmax(190px,1fr) minmax(190px,1fr) auto;gap:1rem;align-items:end;padding:1.25rem;border:1px solid var(--bb-border);border-radius:12px;background:#f8fbf8;margin-bottom:1.5rem}.bb-search-field label{display:block;font-weight:700;margin-bottom:.35rem}.bb-search-field input,.bb-search-field select{width:100%;min-height:46px;padding:.65rem .8rem;border:1px solid #cfd8cf;border-radius:7px;background:#fff}.bb-search-actions{display:flex;gap:.5rem}.bb-search-actions .btn{min-height:46px;display:inline-flex;align-items:center}
.bb-results-heading{display:flex;align-items:center;justify-content:space-between;margin:1rem 0}.bb-results-heading h2{font-size:1.25rem;margin:0}
.bb-result-list{border:1px solid var(--bb-border);border-radius:12px;overflow:hidden;background:#fff}.bb-result-card{display:grid;grid-template-columns:105px minmax(0,1fr) auto;gap:1.25rem;align-items:center;padding:1.25rem;border-bottom:1px solid var(--bb-border)}.bb-result-card:last-child{border-bottom:0}.bb-result-image img,.bb-profile-image img{width:100%;height:100%;object-fit:cover}.bb-result-image{width:95px;height:95px;border-radius:50%;overflow:hidden;background:var(--bb-green-soft)}.bb-image-placeholder{display:flex;width:100%;height:100%;align-items:center;justify-content:center;font-size:2rem;font-weight:700;color:var(--bb-green)}.bb-result-content h3{margin:0 0 .25rem;font-size:1.35rem}.bb-result-content h3 a{color:var(--bb-green);text-decoration:none}.bb-company{font-weight:600}.bb-location{color:var(--bb-muted);margin:.25rem 0}.bb-result-content p{margin:.55rem 0}.bb-tags{display:flex;flex-wrap:wrap;gap:.4rem}.bb-tags span{display:inline-block;padding:.25rem .55rem;background:var(--bb-green-soft);color:#236f32;border-radius:5px;font-size:.85rem}.bb-result-action{white-space:nowrap}.bb-pagination{margin-top:1.25rem}
.bb-profile-hero{display:grid;grid-template-columns:180px minmax(0,1fr) auto;gap:2rem;align-items:center;padding:2rem;border:1px solid var(--bb-border);border-radius:14px;background:linear-gradient(135deg,#f4faf4,#fff);margin-bottom:2rem}.bb-profile-image{width:180px;height:180px;border-radius:12px;overflow:hidden;background:var(--bb-green-soft)}.bb-profile-heading h1{margin:0 0 .35rem}.bb-profile-company{font-size:1.2rem;font-weight:700;color:var(--bb-green);margin-bottom:.75rem}.bb-profile-contact-actions{display:flex;flex-direction:column;gap:.6rem}.bb-profile-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:2rem}.bb-profile-section{padding:1.5rem;border:1px solid var(--bb-border);border-radius:12px;background:#fff;margin-bottom:1.5rem}.bb-profile-section h2{font-size:1.35rem;margin-top:0}.bb-tags-large span{font-size:1rem;padding:.4rem .7rem}.bb-service-list{columns:2;gap:2rem;padding-left:1.2rem}.bb-location-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.bb-location-card{padding:1rem;background:#f8fbf8;border-radius:9px}.bb-location-card h3{font-size:1.05rem;margin:0 0 .65rem}.bb-location-card h3 small{font-size:.75rem;color:var(--bb-green)}.bb-location-card address{font-style:normal}.bb-contact-list{margin:0}.bb-contact-list>div{padding:.65rem 0;border-bottom:1px solid var(--bb-border)}.bb-contact-list>div:last-child{border-bottom:0}.bb-contact-list dt{font-weight:700}.bb-contact-list dd{margin:0;overflow-wrap:anywhere}
@media(max-width:900px){.bb-search-form{grid-template-columns:1fr 1fr}.bb-search-field-main{grid-column:1/-1}.bb-profile-hero{grid-template-columns:130px 1fr}.bb-profile-image{width:130px;height:130px}.bb-profile-contact-actions{grid-column:1/-1;flex-direction:row}.bb-profile-grid{grid-template-columns:1fr}}
@media(max-width:620px){.bb-search-form{grid-template-columns:1fr}.bb-search-field-main{grid-column:auto}.bb-result-card{grid-template-columns:75px 1fr}.bb-result-image{width:70px;height:70px}.bb-result-action{grid-column:1/-1}.bb-profile-hero{grid-template-columns:1fr;text-align:center}.bb-profile-image{margin:auto}.bb-profile-contact-actions{justify-content:center}.bb-service-list{columns:1}}
.bb-search-field-main{position:relative}.bb-autocomplete{position:absolute;left:0;right:0;top:calc(100% + 5px);z-index:1000;margin:0;padding:.35rem;background:#fff;border:1px solid var(--bb-border);border-radius:8px;box-shadow:0 12px 30px rgba(0,0,0,.14);max-height:320px;overflow:auto}.bb-suggestion{display:flex;width:100%;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem .8rem;border:0;border-radius:5px;background:#fff;text-align:left;cursor:pointer}.bb-suggestion:hover,.bb-suggestion.is-active{background:var(--bb-green-soft)}.bb-suggestion-label{font-weight:600;color:var(--bb-text)}.bb-suggestion-type{flex:0 0 auto;color:var(--bb-muted);font-size:.78rem}.bb-search-field input:focus,.bb-search-field select:focus{outline:2px solid rgba(43,138,62,.2);border-color:var(--bb-green)}
.bb-live-layout{display:grid;grid-template-columns:minmax(360px,1fr) minmax(420px,1.15fr);gap:1.25rem;align-items:start}.bb-results-panel,.bb-map-panel{min-width:0}.bb-map-panel{position:sticky;top:1rem}.bb-map{height:680px;border:1px solid var(--bb-border);border-radius:12px;background:#eef3ee;overflow:hidden}.bb-map-note{font-size:.75rem;color:var(--bb-muted);text-align:right;margin-top:.3rem}.bb-search-actions{grid-column:1/-1;align-items:center}.bb-live-status{font-size:.9rem;color:var(--bb-muted)}.bb-search-form.is-loading{opacity:.82}.bb-distance{position:absolute;left:-4px;bottom:-4px;padding:.2rem .45rem;border-radius:5px;background:var(--bb-green);color:#fff;font-weight:700;font-size:.76rem}.bb-result-image{position:relative}.bb-result-card.is-active{background:var(--bb-green-soft)}.bb-empty{padding:1.25rem;border:1px solid var(--bb-border);border-radius:12px;background:#fff}.leaflet-popup-content a{color:var(--bb-green);font-weight:700}.bb-search-form{grid-template-columns:minmax(260px,2fr) repeat(3,minmax(150px,1fr))}.bb-result-card{grid-template-columns:88px minmax(0,1fr)}.bb-result-action{grid-column:2}.bb-result-image{width:80px;height:80px}.bb-result-content p{font-size:.92rem}
@media(max-width:1050px){.bb-live-layout{grid-template-columns:1fr}.bb-map-panel{position:static;order:-1}.bb-map{height:430px}.bb-search-form{grid-template-columns:1fr 1fr}.bb-search-field-main{grid-column:1/-1}}
@media(max-width:620px){.bb-map{height:340px}.bb-search-form{grid-template-columns:1fr}.bb-search-field-main{grid-column:auto}.bb-search-actions{flex-wrap:wrap}.bb-result-card{grid-template-columns:68px 1fr}.bb-result-image{width:64px;height:64px}}

.bb-map-wrap{position:relative}.bb-map-legend{position:absolute;right:14px;bottom:14px;z-index:500;background:rgba(255,255,255,.95);border:1px solid var(--bb-border);border-radius:10px;padding:.65rem .8rem;box-shadow:0 4px 16px rgba(0,0,0,.1);font-size:.82rem;line-height:1.65}.bb-map-legend>div{display:flex;align-items:center;gap:.5rem;white-space:nowrap}.bb-legend-dot{display:inline-block;width:12px;height:12px;border-radius:50%}.bb-legend-green{background:#2f8f3a}.bb-legend-yellow{background:#e0a800}.bb-legend-orange{background:#e76f28}.bb-legend-user{display:inline-block;width:12px;height:12px;border:3px solid #fff;border-radius:50%;background:#1976d2;box-shadow:0 0 0 2px #1565c0}.bb-user-location-icon{background:transparent!important;border:0!important}.bb-user-location-dot{position:absolute;left:10px;top:10px;width:14px;height:14px;border:3px solid #fff;border-radius:50%;background:#1976d2;box-shadow:0 0 0 2px #1565c0}.bb-user-location-pulse{position:absolute;left:4px;top:4px;width:26px;height:26px;border-radius:50%;background:rgba(25,118,210,.25);animation:bb-location-pulse 2s ease-out infinite}@keyframes bb-location-pulse{0%{transform:scale(.55);opacity:1}75%,100%{transform:scale(1.35);opacity:0}}@media(max-width:620px){.bb-map-legend{right:8px;bottom:8px;padding:.45rem .6rem;font-size:.75rem}}


/* dev16: Entfernung unter dem Profilbild vollständig anzeigen */
.bb-result-image{
    overflow:visible;
    margin-bottom:12px;
}
.bb-result-image img,
.bb-result-image .bb-image-placeholder{
    border-radius:50%;
    overflow:hidden;
}
.bb-distance{
    left:50%;
    bottom:-10px;
    transform:translateX(-50%);
    z-index:4;
    min-width:54px;
    max-width:none;
    padding:.22rem .5rem;
    text-align:center;
    white-space:nowrap;
    line-height:1.2;
    box-shadow:0 2px 6px rgba(0,0,0,.18);
}
