.hb-app{--hb-paper:#f7f2e8;--hb-ink:#29261f;--hb-accent:#795b3d;--hb-line:#d7c9b7;color:var(--hb-ink);font:16px/1.55 system-ui,sans-serif;max-width:1100px;margin:0 auto}.hb-app *{box-sizing:border-box}.hb-intro{margin-bottom:22px}.hb-intro h2{font:clamp(30px,4vw,48px)/1.15 Georgia,serif;margin:8px 0}.hb-intro p{color:#6d6358}.hb-eyebrow{font-size:12px;letter-spacing:1.7px;color:var(--hb-accent);font-weight:700}.hb-selectors{display:flex;gap:14px;flex-wrap:wrap;margin:22px 0}.hb-selectors label{font-size:14px;font-weight:700;flex:1;min-width:220px}.hb-selectors select{display:block;width:100%;margin-top:6px;padding:12px;border:1px solid var(--hb-line);border-radius:8px;background:white;color:var(--hb-ink);font:inherit}.hb-viewer{background:#d6c5ad;border-radius:12px;overflow:hidden;position:relative;min-height:340px;display:flex;align-items:center;justify-content:center}.hb-photo{display:block;width:100%;max-height:620px;object-fit:contain;background:#302b25}.hb-photo[hidden]{display:none}.hb-empty{padding:90px 25px;text-align:center;color:#534838}.hb-empty[hidden]{display:none}.hb-overlay{position:absolute;bottom:16px;left:16px;background:#201b17d9;color:#fff;padding:7px 13px;border-radius:7px}.hb-overlay:empty{display:none}.hb-timeline,.hb-panel{background:#fff;border:1px solid var(--hb-line);border-radius:12px;padding:22px;margin-top:18px}.hb-time-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.hb-year{font:28px Georgia,serif;color:var(--hb-accent)}.hb-range{width:100%;accent-color:var(--hb-accent);margin:22px 0 5px}.hb-photo-count,.hb-credit{font-size:13px;color:#74695d}.hb-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.hb-actions button{cursor:pointer;background:var(--hb-accent);border:1px solid var(--hb-accent);border-radius:8px;color:white;padding:10px 15px;font:inherit}.hb-actions button:disabled{opacity:.4;cursor:not-allowed}.hb-panel h3{font:26px Georgia,serif;margin:0 0 12px}.hb-player{width:100%}.hb-panel[hidden]{display:none}@media(max-width:650px){.hb-viewer{min-height:220px}.hb-empty{padding:60px 15px}.hb-timeline,.hb-panel{padding:15px}.hb-actions button{flex:1}}
.hb-year-buttons{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.hb-year-button{border:1px solid var(--hb-line);border-radius:7px;padding:7px 11px;background:#fff;color:var(--hb-ink);cursor:pointer}.hb-year-button.active{background:var(--hb-accent);color:white;border-color:var(--hb-accent)}.hb-year-button:focus-visible{outline:3px solid #b49a72;outline-offset:2px}

.hb-map-section{background:#fff;border:1px solid var(--hb-line);border-radius:12px;padding:18px;margin:18px 0}
.hb-map-section h3{font:25px Georgia,serif;margin:0 0 5px}
.hb-map-hint,.hb-map-empty{font-size:14px;color:#74695d;margin:4px 0 12px}
.hb-map{height:350px;z-index:0;border-radius:9px;overflow:hidden;background:#e8e2d7}
@media(max-width:650px){.hb-map{height:260px}}

/* Damals-heute slider: same image box, clipped historical overlay. */
.hb-compare[hidden],.hb-compare-controls[hidden]{display:none}
.hb-compare{position:relative;width:100%;aspect-ratio:4/3;max-height:620px;overflow:hidden;background:#302b25}
.hb-compare-now,.hb-compare-old{display:block;width:100%;height:100%;object-fit:contain;position:absolute;inset:0}
.hb-compare-old-wrap{position:absolute;inset:0 auto 0 0;width:50%;overflow:hidden;z-index:1}
.hb-compare-old{width:100%;max-width:none;object-fit:contain;object-position:center}
.hb-compare-line{position:absolute;top:0;bottom:0;left:50%;width:3px;transform:translateX(-50%);background:white;box-shadow:0 0 8px #0008;z-index:2;pointer-events:none}
.hb-compare-label{position:absolute;top:14px;z-index:3;background:#201b17cc;color:#fff;padding:5px 10px;border-radius:5px;font-size:13px}
.hb-compare-label-old{left:14px}.hb-compare-label-now{right:14px}
.hb-compare-controls{background:#fff;border:1px solid var(--hb-line);border-radius:10px;padding:12px 18px;margin-top:12px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.hb-compare-controls label{font-weight:600}.hb-compare-range{flex:1;min-width:160px;accent-color:var(--hb-accent)}

.hb-compare-old-wrap{width:100%;clip-path:inset(0 50% 0 0)}
