/* LifestyleProperty – Feinschliff über dem Classical-Designsystem: ruhigere Flächen, feine Linien, zurückhaltende Bewegung */
:root { --lp-navy: #0B1F3A; --lp-gold: #C8A35A; --lp-gold-deep: #a07a2f; --lp-paper: #F7F4EE; --lp-ink: #201f1d; --lp-hair: rgba(32,31,29,.12); }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -.005em; }
a { transition: color .15s ease, opacity .15s ease; }
.btn { transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease; letter-spacing: .01em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.input { transition: border-color .15s ease, box-shadow .15s ease; }
.input:focus { border-color: var(--lp-gold); box-shadow: 0 0 0 3px rgba(200,163,90,.18); outline: none; }
button:focus-visible, a:focus-visible, .input:focus-visible { outline: 2px solid var(--lp-gold); outline-offset: 2px; }
::selection { background: rgba(200,163,90,.28); }

/* Header */
header[data-lp-header] { border-bottom: 1px solid rgba(200,163,90,.35); box-shadow: 0 1px 0 rgba(0,0,0,.25); }
header[data-lp-header] nav a { position: relative; padding-bottom: 2px; }
header[data-lp-header] nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1px; background: var(--lp-gold); transition: right .2s ease; }
header[data-lp-header] nav a:hover::after { right: 0; }

/* Objektkarten */
.lp-card { background: #fff; border: 1px solid var(--lp-hair); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.lp-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -14px rgba(11,31,58,.35), 0 2px 6px rgba(11,31,58,.06); border-color: rgba(200,163,90,.55); }
.lp-card .lp-photo { position: relative; height: 200px; background: #e9e4d8; cursor: pointer; }
.lp-card .lp-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,58,0) 60%, rgba(11,31,58,.25)); pointer-events: none; }
.lp-card .lp-tag { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; background: rgba(11,31,58,.85); color: var(--lp-gold); padding: 5px 9px; border-radius: 2px; backdrop-filter: blur(4px); pointer-events: none; }
.lp-card .lp-fav { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(247,244,238,.5); background: rgba(11,31,58,.55); display: flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(4px); transition: background .15s ease, transform .15s ease; }
.lp-card .lp-fav:hover { background: rgba(11,31,58,.9); transform: scale(1.06); }
.lp-card .lp-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.lp-card .lp-kicker { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; letter-spacing: .04em; color: #7d7979; }
.lp-card .lp-title { font-family: var(--font-heading); font-size: 21px; line-height: 1.15; color: var(--lp-navy); cursor: pointer; }
.lp-card .lp-title:hover { color: var(--lp-gold-deep); }
.lp-card .lp-facts { font-size: 13px; color: #605d5d; }
.lp-card .lp-foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--lp-hair); }
.lp-card .lp-price { font-family: var(--font-heading); font-size: 24px; color: var(--lp-navy); font-variant-numeric: tabular-nums; }
.lp-card .lp-link { background: none; border: 0; padding: 0; font: inherit; font-size: 12.5px; color: var(--lp-gold-deep); cursor: pointer; letter-spacing: .02em; }
.lp-card .lp-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.lp-card.locked .lp-photo { cursor: default; }
.lp-card.off { background: var(--lp-navy); color: var(--lp-paper); border-color: rgba(200,163,90,.45); cursor: pointer; }
.lp-card.off:hover { border-color: var(--lp-gold); }

/* Hero */
.lp-hero-fade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,31,58,.92) 0%, rgba(11,31,58,.7) 45%, rgba(11,31,58,.35) 100%), linear-gradient(180deg, rgba(11,31,58,0) 60%, rgba(11,31,58,.9) 100%); pointer-events: none; }
.lp-glass { background: rgba(11,31,58,.55); backdrop-filter: blur(8px); border: 1px solid rgba(200,163,90,.45); }

/* Karten-Pins & Karte */
.leaflet-container { font-family: var(--font-body); }
.leaflet-bar a { color: var(--lp-navy); }

/* Abschnitts-Kicker */
.lp-kicker-line { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--lp-gold-deep); }
.lp-kicker-line::after { content: ""; flex: 1; height: 1px; background: var(--lp-hair); }

/* Dialog */
.lp-dialog { animation: lp-fade .2s ease-out; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } .lp-card:hover, .btn:hover { transform: none; } }

/* Bildnachweis dezenter (Shadow-Part von <image-slot>) */
image-slot::part(credit) { font-size: 9.5px; letter-spacing: .02em; opacity: .72; background: rgba(11,31,58,.45); backdrop-filter: blur(2px); padding: 2px 6px; border-radius: 2px 2px 0 0; }
image-slot:hover::part(credit) { opacity: 1; }
