/* Objektdatenbank (Liste, Detail) – nutzt die zentralen Design-Variablen */
.of { margin: 0 0 30px; color: var(--text, #404040); }
.of h1 { font-size: 26px; line-height: 1.2; margin: 0 0 4px; color: var(--h2c, #404040); } .of h2 { font-size: 16px; margin: 0 0 10px; color: var(--chc, #404040); } .of h3 { font-size: 16px; margin: 0 0 4px; line-height: 1.25; }
.of-filter { background: var(--cbg, #fff); border: var(--cbw, 1px) solid var(--cbc, #e6e6e6); border-radius: var(--cbr, 5px); padding: 16px; margin-bottom: 18px; }
.of-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.of label { display: block; font-size: 12px; color: #777; } .of label input:not([type=checkbox]), .of label select, .of label textarea { display: block; width: 100%; margin-top: 4px; padding: 9px 11px; border: 1px solid #d8d8d8; border-radius: 8px; font: inherit; font-size: 14px; color: #404040; background: #fff; box-sizing: border-box; }
.of label input:focus, .of label select:focus, .of label textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.of-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; }
.of-check { display: flex !important; gap: 8px; align-items: flex-start; font-size: 13px !important; color: #555 !important; } .of-check input { margin-top: 3px; }
.of-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border: 1px solid var(--accent); border-radius: 8px; background: var(--accent); color: #fff; font: inherit; font-size: 14px; cursor: pointer; text-decoration: none; }
.of-btn:hover { filter: brightness(1.1); text-decoration: none; } .of-btn.sec { background: #fff; color: var(--accent); } .of-btn.sec:hover { background: #faf3f3; }
.of-total { font-size: 13px; color: #777; margin: 0 0 10px; }
.of-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.of-card { position: relative; background: var(--cbg, #fff); border: var(--cbw, 1px) solid var(--cbc, #e6e6e6); border-radius: var(--cbr, 5px); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.of-card:hover { box-shadow: 0 8px 22px rgba(0,0,0,.12); transform: translateY(-2px); }
.of-img { position: relative; display: block; aspect-ratio: 3/2; background: #eee; overflow: hidden; } .of-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.of-noimg { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 40px; color: #ccc; }
.of-badge { position: absolute; left: 10px; top: 10px; background: #404040; color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 20px; }
.of-mk { position: absolute; left: 10px; bottom: 10px; background: var(--accent); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 20px; }
.of-card.is-off .of-img img { filter: grayscale(.7) opacity(.8); }
.of-heart { position: absolute; right: 8px; top: 8px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--accent); font-size: 17px; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.of-heart.on i, .of-heart-btn.on i { font-weight: 900; }
.of-body { padding: 12px 14px 14px; } .of-body h3 a { color: var(--text, #404040); } .of-loc { margin: 0; font-size: 13px; color: #777; } .of-facts { margin: 6px 0 0; font-size: 13px; } .of-price { margin: 8px 0 0; font-weight: 700; color: var(--accent); font-size: 16px; }
.of-empty { padding: 30px; text-align: center; background: #fff; border: 1px dashed #d8d8d8; border-radius: 8px; }
.of-pager { display: flex; gap: 6px; justify-content: center; margin-top: 22px; flex-wrap: wrap; } .of-pager a, .of-pager .cur { min-width: 36px; text-align: center; padding: 7px 10px; border: 1px solid #ddd; border-radius: 8px; background: #fff; } .of-pager .cur { background: var(--accent); color: #fff; border-color: var(--accent); }
.of-more { text-align: center; margin-top: 18px; }
.of-hint { font-size: 12px; color: #888; }
/* Detail */
.of-back { font-size: 13px; margin: 0 0 12px; }
.of-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 16px; } .of-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.of-notice { background: #fff6e5; border: 1px solid #f0d9a8; padding: 10px 14px; border-radius: 8px; }
.of-gallery { margin-bottom: 20px; } .of-main { display: block; aspect-ratio: 16/9; max-height: 480px; width: 100%; background: #eee; border-radius: var(--cbr, 5px); overflow: hidden; } .of-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.of-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; padding-bottom: 4px; } .of-thumbs a { flex: 0 0 96px; height: 64px; border-radius: 6px; overflow: hidden; opacity: .75; border: 2px solid transparent; } .of-thumbs a.on, .of-thumbs a:hover { opacity: 1; border-color: var(--accent); } .of-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.of-cols { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; align-items: start; }
.of-box { background: var(--cbg, #fff); border: var(--cbw, 1px) solid var(--cbc, #e6e6e6); border-radius: var(--cbr, 5px); padding: 16px; margin-bottom: 16px; }
.of-dl { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; margin: 0; } .of-dl dt, .of-dl dd { margin: 0; padding: 6px 0; border-bottom: 1px solid #eee; font-size: 14px; } .of-dl dt { color: #777; }
.of-text p { margin: 0 0 10px; } .of-plans img { width: 100%; height: auto; display: block; }
.of-right { position: sticky; top: 16px; } .of-person { margin: 0 0 12px; font-size: 14px; }
.of-form label { margin-bottom: 10px; } .of-form .of-btn { width: 100%; justify-content: center; }
.of-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.of-ok { background: #eaf6ec; border: 1px solid #b7dfc0; padding: 12px; border-radius: 8px; } .of-err { background: #fdeceb; border: 1px solid #f0bcb8; padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.of-lb { position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 99999; display: flex; align-items: center; justify-content: center; } .of-lb img { max-width: 92vw; max-height: 88vh; } .of-lb button { position: absolute; top: 14px; right: 18px; font-size: 30px; background: none; border: 0; color: #fff; cursor: pointer; }
.of-lb .nav { position: absolute; top: 50%; font-size: 36px; } .of-lb .prev { left: 14px; right: auto; } .of-lb .next { right: 14px; }
@media (max-width: 900px) { .of-grid { grid-template-columns: repeat(2, 1fr); } .of-list { grid-template-columns: repeat(2, 1fr); } .of-cols { grid-template-columns: 1fr; } .of-right { position: static; } }
@media (max-width: 560px) { .of-list { grid-template-columns: 1fr; } .of-grid { grid-template-columns: 1fr 1fr; gap: 8px; } .of-grid label:first-child { grid-column: 1 / -1; } .of-actions > span { display: flex; flex-wrap: wrap; gap: 6px; } .of-head h1 { font-size: 22px; } .of-tools .of-btn { flex: 1 1 auto; justify-content: center; } }
.of-all { margin: 0 0 12px; font-size: 14px; text-align: right; } .of-all i { margin-right: 4px; }

.of-bar { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: 0 0 14px; }
@media (max-width: 560px) { .of-bar .of-btn { flex: 1 1 auto; justify-content: center; } }

.of-stamp { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-12deg); z-index: 2; padding: 4px 16px; border: 3px solid currentColor; border-radius: 6px; background: rgba(255,255,255,.88); font-weight: 800; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; pointer-events: none; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.of-stamp.st-vermietet { color: #c87800; } .of-stamp.st-vermietet.kauf { color: #c02828; } .of-stamp.st-reserviert { color: #285aaa; }
.of-stamp.big { font-size: 46px; padding: 8px 30px; border-width: 5px; } .of-main { position: relative; }
@media (max-width: 560px) { .of-stamp { font-size: 17px; } .of-stamp.big { font-size: 28px; padding: 5px 18px; } }
.of-card.is-off .of-img img { filter: none; }

.of-mapbox { margin: 0 0 16px; } .of-mappanel { margin-top: 10px; } .of-mapnote { padding: 14px 16px; border: 1px solid #e0e0e0; border-radius: var(--cbr, 5px); background: #f7f7f7; font-size: 14px; } .of-mapnote p { margin: 0 0 10px; }
.of-map { height: 460px; border-radius: var(--cbr, 5px); overflow: hidden; border: 1px solid #ddd; position: relative; z-index: 0; isolation: isolate; } .of-detail .of-map { height: 280px; }
.of-pop { width: 190px; font-size: 13px; line-height: 1.35; } .of-pop img { width: 100%; height: auto; display: block; border-radius: 4px; margin-bottom: 6px; } .of-pop b { display: block; margin-bottom: 2px; } .of-pop a { font-weight: 600; } .of-pop .st { color: #c02828; font-weight: 700; }
@media (max-width: 560px) { .of-map { height: 380px; } }

.of-lage { margin-top: 24px; } .of-detail .of-lage .of-map { height: 480px; } @media (max-width: 560px) { .of-detail .of-lage .of-map { height: 380px; } }

.of-map img { border: 0 !important; padding: 0 !important; margin: 0; box-shadow: none !important; border-radius: 0 !important; filter: none; }
.of-mapbox .of-hint { margin: 8px 0 0; font-size: 12.5px; color: #777; }

.of-plansec { margin-top: 24px; } .of-plansec .of-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; } .of-plansec .of-plans img { width: 100%; height: auto; max-height: 640px; object-fit: contain; background: #fff; border: 1px solid #e3e3e3; }
