/* Objektliste + Exposé – Daniel von Baum Immobilien */
.vbo { --p: #007E91; --pd: #005f6e; --b: #0170B9; --o: #E8A020; --od: #c9870f; --t: #1f2a30; --m: #5b6870; --l: #e3ecee; --s: #f3f8f9; --r: 18px; --sh: 0 10px 30px rgba(0, 60, 70, .10);
  font-family: Raleway, system-ui, sans-serif; color: var(--t); line-height: 1.6; }
.vbo *, .vbo *::before, .vbo *::after { box-sizing: border-box; }
.vbo a { text-decoration: none; }
.vbo h1, .vbo h2, .vbo h3 { font-family: inherit; color: var(--t); margin: 0; line-height: 1.2; }
.vbo svg { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Kopf der Liste ---------- */
.vbo-hero { position: relative; overflow: hidden; border-radius: 0 0 32px 32px; background: linear-gradient(125deg, var(--pd), var(--p) 55%, var(--b)); color: #fff; padding: 56px 32px 72px; margin: 0 0 -36px; }
.vbo-hero::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(232,160,32,.35), transparent 70%); }
.vbo-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; }
.vbo-hero p { color: rgba(255,255,255,.88); font-size: 1.1rem; margin: 10px 0 0; max-width: 640px; }
.vbo-hero .vbo-count { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem; margin-bottom: 16px; backdrop-filter: blur(4px); }
.vbo-hero .vbo-count i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.25); }

/* ---------- Filterleiste ---------- */
.vbo-bar { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 14px 16px; margin: 0 16px 32px; }
.vbo-chips { display: flex; gap: 6px; background: var(--s); padding: 4px; border-radius: 999px; }
.vbo-chips a { padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--m); transition: .2s; }
.vbo-chips a:hover { color: var(--p); }
.vbo-chips a.on { background: var(--p); color: #fff; box-shadow: 0 4px 12px rgba(0,126,145,.3); }
.vbo-bar select { font: inherit; font-weight: 600; font-size: .92rem; color: var(--t); border: 1px solid var(--l); border-radius: 999px; padding: 9px 36px 9px 16px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007E91' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center/14px no-repeat; appearance: none; cursor: pointer; }
.vbo-bar .vbo-spacer { flex: 1; }
.vbo-bar .vbo-n { color: var(--m); font-size: .9rem; font-weight: 600; }

/* ---------- Karten ---------- */
.vbo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; padding: 0 16px; }
.vbo-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 2px 10px rgba(0,60,70,.06); border: 1px solid var(--l); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; color: inherit; }
.vbo-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(0,60,70,.16); }
.vbo-card[hidden] { display: none; }
.vbo-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--s); }
.vbo-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); display: block; }
.vbo-card:hover .vbo-img img { transform: scale(1.06); }
.vbo-img::after { content: ''; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(transparent, rgba(0,0,0,.45)); pointer-events: none; }
.vbo-tags { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; z-index: 1; }
.vbo-tag { padding: 5px 11px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: rgba(255,255,255,.92); color: var(--p); backdrop-filter: blur(6px); }
.vbo-tag.res { background: var(--o); color: #fff; }
.vbo-tag.neu { background: #10b981; color: #fff; }
.vbo-photos { position: absolute; right: 14px; bottom: 12px; z-index: 1; display: flex; align-items: center; gap: 6px; color: #fff; font-size: .82rem; font-weight: 600; }
.vbo-price-chip { position: absolute; left: 14px; bottom: 12px; z-index: 1; color: #fff; font-weight: 700; font-size: 1.25rem; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.vbo-price-chip small { font-size: .78rem; font-weight: 600; opacity: .9; margin-left: 4px; }
.vbo-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.vbo-loc { display: flex; align-items: center; gap: 6px; color: var(--p); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.vbo-card h3 { font-size: 1.08rem; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.vbo-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--l); }
.vbo-fact { display: inline-flex; align-items: center; gap: 6px; background: var(--s); color: var(--t); border-radius: 10px; padding: 6px 10px; font-size: .86rem; font-weight: 600; }
.vbo-fact svg { color: var(--p); }
.vbo-cta-card { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 32px; border-radius: var(--r); background: linear-gradient(140deg, var(--s), #fff); border: 2px dashed rgba(0,126,145,.35); color: var(--t); }
.vbo-cta-card h3 { font-size: 1.3rem; }
.vbo-cta-card p { color: var(--m); margin: 0; }
.vbo-empty { grid-column: 1 / -1; text-align: center; padding: 48px 16px; color: var(--m); }

/* ---------- Buttons ---------- */
.vbo-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 2px solid transparent; transition: .2s; cursor: pointer; font-family: inherit; }
.vbo-btn.o { background: var(--o); color: #fff !important; box-shadow: 0 8px 20px rgba(232,160,32,.35); }
.vbo-btn.o:hover { background: var(--od); transform: translateY(-1px); }
.vbo-btn.p { background: var(--p); color: #fff !important; }
.vbo-btn.p:hover { background: var(--pd); }
.vbo-btn.g { border-color: var(--l); color: var(--t) !important; background: #fff; }
.vbo-btn.g:hover { border-color: var(--p); color: var(--p) !important; }
.vbo-btn.w { width: 100%; }

/* ---------- Exposé ---------- */
.vbo-crumbs { font-size: .85rem; color: var(--m); padding: 18px 16px 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.vbo-crumbs a { color: var(--p); font-weight: 600; }
.vbo-gal { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: clamp(320px, 52vw, 540px); border-radius: 24px; overflow: hidden; margin: 0 16px; }
.vbo .vbo-gal > button { all: unset; padding: 0 !important; background: var(--s) !important; box-shadow: none !important; cursor: zoom-in; position: relative; overflow: hidden; background: var(--s); }
.vbo-gal button:first-child { grid-row: span 2; }
.vbo-gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .3s; display: block; }
.vbo-gal button:hover img { transform: scale(1.04); filter: brightness(1.05); }
.vbo-gal-all { position: absolute; right: 18px; bottom: 18px; z-index: 2; }
.vbo-gal-all .vbo-btn { background: rgba(255,255,255,.95); color: var(--t) !important; box-shadow: var(--sh); backdrop-filter: blur(6px); padding: 10px 18px; }
.vbo-gal .vbo-tags { top: 18px; left: 18px; }
.vbo-gal.n1 { grid-template-columns: 1fr; } .vbo-gal.n1 button:first-child { grid-row: span 2; }
.vbo-gal.n2 { grid-template-columns: 2fr 1fr; } .vbo-gal.n2 button:nth-child(2) { grid-row: span 2; }
.vbo-gal.n3 { grid-template-columns: 2fr 1fr; }

.vbo-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; padding: 36px 16px 24px; align-items: start; }
.vbo-head .vbo-loc { margin-bottom: 8px; }
.vbo-head h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
.vbo-head .vbo-sub { color: var(--m); margin: 10px 0 0; font-size: 1.02rem; }
.vbo-keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 28px 0 8px; }
.vbo-key { background: var(--s); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.vbo-key svg { color: var(--p); width: 24px; height: 24px; margin-bottom: 4px; }
.vbo-key b { font-size: 1.2rem; }
.vbo-key span { color: var(--m); font-size: .82rem; font-weight: 600; }
.vbo-key.ek b { display: inline-grid; place-items: center; width: 36px; height: 30px; border-radius: 8px; color: #fff; font-size: 1rem; }

.vbo-sec { padding: 32px 0; border-bottom: 1px solid var(--l); }
.vbo-sec:last-child { border-bottom: 0; }
.vbo-sec h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.vbo-sec h2::before { content: ''; width: 6px; height: 22px; border-radius: 3px; background: linear-gradient(var(--p), var(--b)); }
.vbo-text p { margin: 0 0 12px; color: #34424a; }
.vbo-text p.sep { height: 1px; background: var(--l); margin: 18px 0; overflow: hidden; color: transparent; }
.vbo-more { position: relative; max-height: 320px; overflow: hidden; transition: max-height .4s; }
.vbo-more.open { max-height: none; }
.vbo-more:not(.open)::after { content: ''; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(transparent, #fff); }
.vbo .vbo-more-btn, .vbo .vbo-more-btn:hover, .vbo .vbo-more-btn:focus { all: unset; cursor: pointer; color: var(--p) !important; background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; font-weight: 700; margin-top: 10px; display: inline-flex; gap: 6px; align-items: center; }
.vbo-feat { display: flex; flex-wrap: wrap; gap: 10px; }
.vbo-feat span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--l); font-weight: 600; font-size: .92rem; }
.vbo-feat span svg { color: #10b981; }
.vbo-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0; }
.vbo-dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--l); }
.vbo-dl dt { color: var(--m); font-weight: 600; }
.vbo-dl dd { margin: 0; font-weight: 700; text-align: right; }
.vbo-energy { margin-top: 22px; }
.vbo-scale { position: relative; display: grid; grid-template-columns: repeat(9, 1fr); gap: 3px; margin-top: 46px; }
.vbo-scale span { text-align: center; color: #fff; font-weight: 700; font-size: .82rem; padding: 7px 0; opacity: .45; }
.vbo-scale span:first-child { border-radius: 10px 0 0 10px; } .vbo-scale span:last-child { border-radius: 0 10px 10px 0; }
.vbo-scale span.on { opacity: 1; transform: scaleY(1.25); border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.vbo-scale .pin { position: absolute; top: -42px; transform: translateX(-50%); background: var(--t); color: #fff; font-size: .8rem; font-weight: 700; padding: 5px 10px; border-radius: 8px; white-space: nowrap; }
.vbo-scale .pin::after { content: ''; position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%); border: 6px solid transparent; border-bottom: 0; border-top-color: var(--t); }

.vbo-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }
.vbo-pricecard { background: #fff; border-radius: 22px; box-shadow: var(--sh); border: 1px solid var(--l); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.vbo-pricecard .lbl { color: var(--m); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.vbo-pricecard .val { font-size: 2rem; font-weight: 700; color: var(--t); line-height: 1.1; }
.vbo-pricecard .val small { font-size: .9rem; color: var(--m); font-weight: 600; }
.vbo-pricecard .note { font-size: .82rem; color: var(--m); background: var(--s); border-radius: 12px; padding: 10px 12px; }
.vbo-pricecard .rows { display: grid; gap: 6px; font-size: .92rem; }
.vbo-pricecard .rows div { display: flex; justify-content: space-between; }
.vbo-pricecard .rows span { color: var(--m); }
.vbo-agent { display: flex; align-items: center; gap: 14px; padding-top: 14px; border-top: 1px solid var(--l); }
.vbo-agent img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; background: var(--s); border: 3px solid #fff; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.vbo-agent b { display: block; }
.vbo-agent span { color: var(--m); font-size: .85rem; }
.vbo-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vbo-actions .vbo-btn { padding: 11px 12px; font-size: .9rem; }
.vbo-trust { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--m); padding: 0 6px; }
.vbo-trust svg { color: var(--o); width: 18px; height: 18px; }

.vbo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: var(--s); border-radius: 22px; padding: 28px; }
.vbo-form label { display: grid; gap: 6px; font-weight: 600; font-size: .88rem; }
.vbo-form label.full { grid-column: 1 / -1; }
.vbo-form input, .vbo-form textarea, .vbo-form select { font: inherit; padding: 12px 14px; border: 1px solid var(--l); border-radius: 12px; background: #fff; }
.vbo-form input:focus, .vbo-form textarea:focus { outline: 2px solid var(--p); border-color: transparent; }
.vbo-form .hp { position: absolute; left: -9999px; }
.vbo-form .chk { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .85rem; color: var(--m); }
.vbo-form .chk input { margin-top: 4px; }
.vbo-form .msg { grid-column: 1 / -1; font-weight: 600; }

.vbo-similar { padding: 40px 0 60px; }
.vbo-similar > h2 { padding: 0 16px; font-size: 1.5rem; margin-bottom: 22px; }

/* ---------- Lightbox ---------- */
.vbo-lb { position: fixed; inset: 0; z-index: 2147483001; background: rgba(8,20,24,.96); display: none; flex-direction: column; color: #fff; font-family: Raleway, system-ui, sans-serif; }
.vbo-lb.open { display: flex; }
.vbo-lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; font-weight: 600; }
.vbo-lb-top button, .vbo-lb-nav { all: unset; cursor: pointer; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); transition: .2s; }
.vbo-lb-top button:hover, .vbo-lb-nav:hover { background: rgba(255,255,255,.22); }
.vbo-lb-stage { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; min-height: 0; padding: 0 72px; }
.vbo-lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; user-select: none; }
.vbo-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.vbo-lb-nav.prev { left: 14px; } .vbo-lb-nav.next { right: 14px; }
.vbo-lb-cap { text-align: center; padding: 10px 20px 4px; opacity: .8; font-size: .9rem; min-height: 1.6em; }
.vbo-lb-strip { display: flex; gap: 6px; overflow-x: auto; padding: 10px 20px 18px; scrollbar-width: thin; }
.vbo-lb-strip img { height: 64px; width: 96px; object-fit: cover; border-radius: 8px; opacity: .45; cursor: pointer; flex: none; border: 2px solid transparent; }
.vbo-lb-strip img.on { opacity: 1; border-color: var(--o, #E8A020); }

@media (max-width: 980px) {
  .vbo-layout { grid-template-columns: 1fr; gap: 8px; }
  .vbo-side { position: static; order: -1; }
  .vbo-dl { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .vbo-hero { padding: 40px 20px 64px; border-radius: 0 0 24px 24px; }
  .vbo-bar { margin: 0 8px 24px; }
  .vbo-grid { padding: 0 8px; gap: 18px; }
  .vbo-gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; height: 300px; gap: 6px; margin: 0; border-radius: 0; }
  .vbo-gal button { flex: 0 0 88%; scroll-snap-align: center; border-radius: 16px; }
  .vbo-gal button:first-child { margin-left: 8px; }
  .vbo-gal-all { right: 14px; bottom: 14px; }
  .vbo-form { grid-template-columns: 1fr; padding: 20px; }
  .vbo-lb-stage { padding: 0 8px; }
  .vbo-lb-nav { display: none; }
}
/* Theme-Buttonstile in der Galerie neutralisieren */
.vbo-lb .vbo-lb-top button, .vbo-lb .vbo-lb-nav { background: rgba(255,255,255,.1) !important; border: 0 !important; padding: 0 !important; color: #fff !important; box-shadow: none !important; border-radius: 50% !important; }
.vbo-lb .vbo-lb-top button:hover, .vbo-lb .vbo-lb-nav:hover { background: rgba(255,255,255,.22) !important; }
@media (max-width: 700px) {
  .vbo .vbo-gal > button { flex: 0 0 88%; scroll-snap-align: center; border-radius: 16px; height: 100%; }
  .vbo .vbo-gal > button:first-child { margin-left: 8px; }
  .vbo .vbo-gal > button:last-of-type { margin-right: 8px; }
}

/* ---------- Startseite: neueste Angebote ---------- */
.vbo-home { padding: 8px 0 12px; }
.vbo-home-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 16px 22px; }
.vbo-home .vbo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vbo-home-more { display: flex; justify-content: center; margin-top: 30px; }
@media (max-width: 980px) { .vbo-home .vbo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .vbo-home .vbo-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 4px 16px 18px; }
  .vbo-home .vbo-card { flex: 0 0 82%; scroll-snap-align: center; }
  .vbo-home-bar { justify-content: center; }
}
