/* ============================================================
   IMMOBILIEN IMPULS, Komponenten für Unterseiten
   page-hero · breadcrumb · filter · forms · listing · expose
   · account · chat · tables. Ergänzt ds.css.
   ============================================================ */

/* ============ PAGE HERO ============ */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(128px, 16vh, 188px) 0 clamp(40px, 6vw, 70px);
  border-bottom: 1px solid var(--hairline);
}
.page-hero.with-img .ph-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero.with-img .ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.with-img .ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,13,20,0.7), rgba(9,13,20,0.86)); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(34px, 5vw, 60px); color: #f5f2ea; margin: 16px 0 0; text-wrap: balance; }
.page-hero .ph-sub { margin-top: 16px; font-size: clamp(15.5px, 1.7vw, 19px); color: var(--cream-2); opacity: 0.88; max-width: 60ch; text-wrap: pretty; }

.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--steel); letter-spacing: 0.02em; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity: 0.5; }

/* ============ FILTER BAR ============ */
.filter-bar { border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.filter-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.filter-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; }
.filter-field.grow { flex: 2; }
.filter-field label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--steel); padding-left: 2px; }
.field {
  background: rgba(255,255,255,0.05); border: 1px solid var(--glass-line); border-radius: 13px;
  color: var(--cream); font-family: 'Jost', sans-serif; font-size: 14.5px; font-weight: 400;
  padding: 12px 15px; outline: none; transition: border-color 0.25s, background 0.25s; width: 100%;
}
.field:focus { border-color: rgba(201,168,106,0.5); background: rgba(255,255,255,0.07); }
select.field option { background: var(--navy-2); color: var(--cream); }
textarea.field { resize: vertical; min-height: 120px; line-height: 1.55; }
.field::placeholder { color: var(--cream-2); opacity: 0.45; }

.pill-tabs { display: inline-flex; gap: 5px; padding: 5px; border-radius: 100px; background: rgba(255,255,255,0.045); border: 1px solid var(--glass-line); }
.pill-tab { font-size: 13.5px; font-weight: 500; color: var(--steel); padding: 9px 20px; border-radius: 100px; border: none; background: transparent; transition: 0.25s var(--ease); }
.pill-tab.on { color: var(--ink); background: var(--cream); }

.chips { display: flex; gap: 9px; flex-wrap: wrap; }
.chip-btn {
  font-size: 13px; font-weight: 400; color: var(--cream-2); padding: 9px 15px; border-radius: 100px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--glass-line); transition: 0.25s var(--ease);
  display: inline-flex; align-items: center; gap: 7px;
}
.chip-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }
.chip-btn.on { background: rgba(201,168,106,0.16); border-color: rgba(201,168,106,0.5); color: var(--gold-2); }
.chip-btn .x { opacity: 0.6; }

.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 4px; border-bottom: 1px solid var(--hairline); }
.toggle-row:last-child { border-bottom: none; }
.toggle-row .tr-main { font-size: 14.5px; color: var(--cream); }
.toggle-row .tr-sub { font-size: 12.5px; color: var(--steel); margin-top: 2px; }
.switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track { position: absolute; inset: 0; border-radius: 100px; background: rgba(255,255,255,0.12); border: 1px solid var(--glass-line); transition: 0.3s; }
.switch .track::before { content: ""; position: absolute; left: 3px; top: 2.5px; width: 19px; height: 19px; border-radius: 50%; background: var(--cream); transition: 0.3s var(--ease); }
.switch input:checked + .track { background: var(--gold); border-color: var(--gold); }
.switch input:checked + .track::before { transform: translateX(20px); background: var(--ink); }

/* ============ LISTING CARD ============ */
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.results-head .rh-count { font-size: 14.5px; color: var(--cream-2); }
.results-head .rh-count b { font-family: 'Marcellus', serif; font-size: 20px; color: #f4f1ea; }

.prop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prop-card { border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: 0.4s var(--ease); }
.prop-card:hover { transform: translateY(-5px); }
.prop-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.prop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.prop-card:hover .prop-media img { transform: scale(1.06); }
.prop-badge { position: absolute; top: 14px; left: 14px; font-size: 11.5px; font-weight: 500; color: var(--ink); background: var(--gold); padding: 6px 13px; border-radius: 100px; }
.prop-badge.blue { background: var(--blue); color: #fff; }
.prop-badge.rent { background: var(--cream); color: var(--ink); }
.prop-fav { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(11,16,23,0.5); backdrop-filter: blur(8px); border: 1px solid var(--glass-line); }
.prop-fav svg { width: 17px; height: 17px; stroke: var(--cream); fill: none; }
.prop-fav.on svg { fill: var(--gold); stroke: var(--gold); }
.prop-provider { position: absolute; bottom: 12px; left: 14px; font-size: 11px; letter-spacing: 0.03em; color: var(--cream); background: rgba(11,16,23,0.55); backdrop-filter: blur(8px); border: 1px solid var(--glass-line); padding: 5px 11px; border-radius: 100px; }
.prop-body { padding: 18px 20px 22px; }
.prop-type { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.prop-loc { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--steel); margin-top: 6px; }
.prop-loc svg { width: 13px; height: 13px; stroke: var(--steel); fill: none; }
.prop-card h3 { font-size: 20px; color: #f4f1ea; margin: 9px 0 0; }
.prop-price { font-family: 'Marcellus', serif; font-size: 23px; color: #fff; margin-top: 13px; }
.prop-meta { display: flex; gap: 16px; margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--hairline); flex-wrap: wrap; }
.prop-meta span { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--cream-2); }
.prop-meta svg { width: 15px; height: 15px; stroke: var(--steel); fill: none; }

/* ============ SELLER SUBNAV (interne Verlinkung Verkaufen) ============ */
.seller-subnav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border-radius: 100px; padding: 12px 18px; }
.seller-subnav .ssn-label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); margin-right: 8px; }
.seller-subnav a { font-size: 13.5px; color: var(--cream-2); padding: 9px 17px; border-radius: 100px; border: 1px solid transparent; transition: 0.25s var(--ease); }
.seller-subnav a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.seller-subnav a.on { background: var(--gold); color: var(--ink); }
@media (max-width: 720px){ .seller-subnav { border-radius: 18px; } .seller-subnav .ssn-label { width: 100%; margin-bottom: 4px; } }

/* ============ FAQ (Akkordeon) ============ */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { border-radius: var(--radius); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: transparent; border: none; color: #f4f1ea; font-family: 'Marcellus', serif; font-size: clamp(17px,2vw,20px); padding: 24px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.faq-q .faq-ic { width: 26px; height: 26px; flex-shrink: 0; position: relative; }
.faq-q .faq-ic::before, .faq-q .faq-ic::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--gold); border-radius: 2px; transition: 0.3s var(--ease); }
.faq-q .faq-ic::before { width: 15px; height: 2px; }
.faq-q .faq-ic::after { width: 2px; height: 15px; }
.faq-item.open .faq-q .faq-ic::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding: 0 26px 26px; font-size: 15px; color: var(--cream-2); opacity: 0.88; line-height: 1.7; max-width: 70ch; }
.faq-item.open .faq-a { max-height: 480px; }

/* ============ TESTIMONIALS (Referenzen) ============ */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.testi-card { border-radius: var(--radius); padding: 30px 30px 28px; display: flex; flex-direction: column; }
.testi-stars { color: var(--gold); letter-spacing: 3px; font-size: 16px; }
.testi-quote { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(18px,2.2vw,22px); color: #f1ede3; line-height: 1.5; margin: 18px 0 24px; text-wrap: pretty; }
.testi-who { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--hairline); }
.testi-avatar { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: 'Marcellus', serif; font-size: 19px; color: var(--ink); background: linear-gradient(150deg, var(--gold-2), var(--gold-deep)); }
.testi-name { font-size: 15px; color: #f4f1ea; }
.testi-loc { font-size: 12.5px; color: var(--steel); margin-top: 2px; }
@media (max-width: 760px){ .testi-grid { grid-template-columns: 1fr; } }

/* ============ GENERIC SECTIONS ============ */
.content-narrow { max-width: 820px; }
.prose p { font-size: 16.5px; color: var(--cream-2); opacity: 0.9; line-height: 1.75; margin-bottom: 20px; text-wrap: pretty; }
.prose h3 { font-size: 26px; color: #f4f1ea; margin: 40px 0 14px; }
.prose ul { list-style: none; margin: 8px 0 24px; }
.prose li { position: relative; padding-left: 26px; font-size: 16px; color: var(--cream-2); opacity: 0.9; margin-bottom: 12px; }
.prose li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.prose .lead-in { font-size: 18.5px; color: #eef1f5; opacity: 0.96; line-height: 1.7; margin-bottom: 26px; }

/* ============ RATGEBER ARTICLE ============ */
.rg-more { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 46px; }
.rg-more a { font-size: 13.5px; color: var(--cream-2); padding: 10px 18px; border-radius: 100px; border: 1px solid var(--glass-line); background: rgba(255,255,255,0.04); transition: 0.25s; }
.rg-more a:hover { background: rgba(201,168,106,0.14); border-color: rgba(201,168,106,0.4); color: var(--gold-2); }
.rg-more-label { font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); width: 100%; margin-bottom: 4px; }

.step-list { display: flex; flex-direction: column; gap: 16px; }
.step { display: flex; gap: 20px; padding: 24px; border-radius: var(--radius); }
.step .num { font-family: 'Marcellus', serif; font-size: 30px; color: var(--gold); line-height: 1; flex-shrink: 0; width: 52px; }
.step h3 { font-size: 21px; color: #f4f1ea; }
.step p { font-size: 14.5px; color: var(--cream-2); opacity: 0.85; margin-top: 7px; }

/* ============ EXPOSÉ ============ */
.expose-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; border-radius: var(--radius-lg); overflow: hidden; height: clamp(340px, 52vh, 560px); }
.eg-main { position: relative; overflow: hidden; }
.eg-main img { width: 100%; height: 100%; object-fit: cover; }
.eg-side { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; }
.eg-side .eg-cell { position: relative; overflow: hidden; }
.eg-side .eg-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.eg-side .eg-cell:hover img { transform: scale(1.05); }
.eg-more { position: absolute; right: 14px; bottom: 14px; font-size: 13px; color: var(--cream); background: rgba(11,16,23,0.6); backdrop-filter: blur(10px); border: 1px solid var(--glass-line); padding: 9px 15px; border-radius: 100px; display: flex; align-items: center; gap: 8px; }
.eg-more svg { width: 15px; height: 15px; stroke: currentColor; fill: none; }

.expose-layout { display: grid; grid-template-columns: 1fr 380px; gap: 34px; margin-top: 40px; align-items: start; }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.spec { border-radius: 16px; padding: 18px; text-align: center; }
.spec .sv { font-family: 'Marcellus', serif; font-size: 26px; color: #f4f1ea; }
.spec .sl { font-size: 12px; color: var(--steel); margin-top: 4px; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table td { padding: 13px 4px; border-bottom: 1px solid var(--hairline); font-size: 14.5px; }
.data-table td:first-child { color: var(--steel); width: 45%; }
.data-table td:last-child { color: var(--cream); text-align: right; }

.sticky-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }

/* contact / agent card */
.agent-card { border-radius: var(--radius); padding: 24px; }
.agent-head { display: flex; align-items: center; gap: 15px; }
.agent-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center top; border: 2px solid var(--glass-line); background: #cdd3da; }
.agent-name { font-family: 'Marcellus', serif; font-size: 20px; color: #f4f1ea; }
.agent-role { font-size: 12.5px; color: var(--gold); letter-spacing: 0.02em; margin-top: 2px; }
.agent-contacts { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.agent-contact { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 13px; background: rgba(255,255,255,0.04); border: 1px solid var(--hairline); transition: 0.25s; }
.agent-contact:hover { background: rgba(255,255,255,0.07); }
.agent-contact svg { width: 17px; height: 17px; stroke: var(--gold); fill: none; flex-shrink: 0; }
.agent-contact .ac-main { font-size: 14px; color: var(--cream); }
.agent-contact .ac-sub { font-size: 11.5px; color: var(--steel); }

/* object chat */
.obj-chat { border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.oc-head { padding: 16px 20px; border-bottom: 1px solid var(--hairline); display: flex; align-items: center; gap: 11px; }
.oc-head .dot { width: 8px; height: 8px; border-radius: 50%; background: #4fbf7a; box-shadow: 0 0 0 3px rgba(79,191,122,0.2); }
.oc-head h4 { font-family: 'Jost', sans-serif; font-size: 14px; font-weight: 600; color: #f4f1ea; letter-spacing: 0.01em; }
.oc-head .oc-obj { font-size: 11.5px; color: var(--steel); }
.oc-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; max-height: 280px; overflow-y: auto; }
.oc-msg { max-width: 82%; padding: 11px 15px; border-radius: 16px; font-size: 13.5px; line-height: 1.5; }
.oc-msg.them { align-self: flex-start; background: rgba(255,255,255,0.06); border: 1px solid var(--hairline); border-bottom-left-radius: 5px; color: var(--cream); }
.oc-msg.me { align-self: flex-end; background: var(--gold); color: var(--ink); border-bottom-right-radius: 5px; }
.oc-msg .t { display: block; font-size: 10.5px; opacity: 0.6; margin-top: 5px; }
.oc-lock { padding: 18px 20px; border-top: 1px solid var(--hairline); text-align: center; }
.oc-lock p { font-size: 13px; color: var(--steel); margin-bottom: 13px; }
.oc-input { padding: 14px 16px; border-top: 1px solid var(--hairline); display: flex; gap: 10px; align-items: center; }
.oc-input .field { border-radius: 100px; padding: 11px 16px; }
.oc-send { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: var(--gold); border: none; display: flex; align-items: center; justify-content: center; }
.oc-send svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; }

/* documents */
.doc-list { display: flex; flex-direction: column; gap: 10px; }
.doc-item { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-radius: 14px; background: rgba(255,255,255,0.035); border: 1px solid var(--hairline); transition: 0.25s; }
.doc-item:hover { background: rgba(255,255,255,0.06); border-color: var(--glass-line); }
.doc-ic { width: 40px; height: 40px; border-radius: 11px; background: rgba(201,168,106,0.13); border: 1px solid rgba(201,168,106,0.28); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.doc-ic svg { width: 19px; height: 19px; stroke: var(--gold); fill: none; }
.doc-item .di-main { font-size: 14.5px; color: var(--cream); }
.doc-item .di-sub { font-size: 12px; color: var(--steel); }
.doc-item .di-act { margin-left: auto; font-size: 12.5px; color: var(--gold); display: flex; align-items: center; gap: 6px; }
.doc-item .di-act svg { width: 15px; height: 15px; stroke: currentColor; fill: none; }
.doc-locked { opacity: 0.6; }
.doc-locked .di-act { color: var(--steel); }

/* ============ FORM CARD ============ */
.form-card { border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-note { font-size: 12.5px; color: var(--steel); display: flex; align-items: flex-start; gap: 9px; margin-top: 4px; }
.form-note svg { width: 15px; height: 15px; stroke: var(--gold); fill: none; flex-shrink: 0; margin-top: 2px; }

/* ============ ACCOUNT ============ */
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: start; }
.account-nav { position: sticky; top: 92px; border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 3px; }
.an-link { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; font-size: 14px; color: var(--cream-2); transition: 0.25s; cursor: pointer; }
.an-link svg { width: 18px; height: 18px; stroke: currentColor; fill: none; opacity: 0.8; }
.an-link:hover { background: rgba(255,255,255,0.05); color: #fff; }
.an-link.on { background: rgba(201,168,106,0.14); color: var(--gold-2); border: 1px solid rgba(201,168,106,0.3); }
.an-link .badge-n { margin-left: auto; font-size: 11px; background: var(--gold); color: var(--ink); border-radius: 100px; padding: 2px 8px; }

.acc-panel { display: none; }
.acc-panel.on { display: block; animation: fadeUp 0.5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card { border-radius: var(--radius); padding: 22px; }
.stat-card[role="button"] { cursor: pointer; transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease); }
.stat-card[role="button"]:hover { transform: translateY(-3px); border-color: rgba(201,168,106,0.4); background: rgba(255,255,255,0.05); }
.stat-card[role="button"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.stat-card .sc-ic { width: 38px; height: 38px; border-radius: 11px; background: rgba(201,168,106,0.13); border: 1px solid rgba(201,168,106,0.26); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.stat-card .sc-ic svg { width: 19px; height: 19px; stroke: var(--gold); fill: none; }
.stat-card .sc-n { font-family: 'Marcellus', serif; font-size: 32px; color: #f4f1ea; line-height: 1; }
.stat-card .sc-l { font-size: 13px; color: var(--steel); margin-top: 6px; }

/* lead rank */
.rank-card { border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); position: relative; overflow: hidden; }
.rank-meter { height: 10px; border-radius: 100px; background: rgba(255,255,255,0.1); overflow: hidden; margin: 18px 0 10px; }
.rank-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-2)); }
.rank-tiers { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--steel); }
.rank-tiers span.on { color: var(--gold-2); font-weight: 500; }
.premium-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #f4f1ea; background: linear-gradient(100deg, rgba(74,147,212,0.25), rgba(201,168,106,0.25)); border: 1px solid var(--glass-line); padding: 7px 14px; border-radius: 100px; }
.premium-badge svg { width: 15px; height: 15px; stroke: var(--gold); fill: none; }

/* message threads */
.thread { display: flex; gap: 14px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,0.035); border: 1px solid var(--hairline); transition: 0.25s; cursor: pointer; }
.thread:hover { background: rgba(255,255,255,0.06); }
.thread .th-thumb { width: 56px; height: 56px; border-radius: 11px; object-fit: cover; flex-shrink: 0; }
.thread .th-top { display: flex; justify-content: space-between; gap: 10px; }
.thread .th-obj { font-size: 14.5px; color: #f4f1ea; font-weight: 500; }
.thread .th-time { font-size: 11.5px; color: var(--steel); }
.thread .th-msg { font-size: 13px; color: var(--cream-2); opacity: 0.8; margin-top: 4px; }
.thread .th-unread { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex-shrink: 0; align-self: center; }

/* appointment */
.appt { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,0.035); border: 1px solid var(--hairline); }
.appt .ap-date { text-align: center; flex-shrink: 0; width: 56px; }
.appt .ap-date .d { font-family: 'Marcellus', serif; font-size: 24px; color: #f4f1ea; line-height: 1; }
.appt .ap-date .m { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.appt .ap-main { font-size: 14.5px; color: var(--cream); }
.appt .ap-sub { font-size: 12.5px; color: var(--steel); margin-top: 3px; }

.section-title-sm { font-family: 'Marcellus', serif; font-size: 24px; color: #f4f1ea; margin-bottom: 18px; }

/* ============ KATEGORIE LISTE ============ */
.cat-intro { max-width: 70ch; }

/* editorial intro on category / overview pages */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.info-card { border-radius: var(--radius); padding: 26px 24px; }
.info-card .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(201,168,106,0.12); border: 1px solid rgba(201,168,106,0.28); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.info-card .ic svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; }
.info-card h3 { font-size: 19px; color: #f4f1ea; }
.info-card p { font-size: 14px; color: var(--cream-2); opacity: 0.85; margin-top: 8px; line-height: 1.55; }
@media (max-width: 1024px){ .info-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px){ .info-grid { grid-template-columns: 1fr; } }

.editorial-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px,4vw,56px); align-items: center; }
.editorial-figure { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--glass-line); box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; }
.editorial-figure img { width: 100%; height: 100%; object-fit: cover; }
.editorial-figure.tall { aspect-ratio: 3 / 4; }
@media (max-width: 820px){ .editorial-split { grid-template-columns: 1fr; } .editorial-figure { aspect-ratio: 16 / 10; } }
.cat-note { display: flex; gap: 11px; align-items: flex-start; border-radius: 14px; padding: 14px 18px; background: rgba(201,168,106,0.08); border: 1px solid rgba(201,168,106,0.22); margin: 26px 0 0; }
.cat-note svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; flex-shrink: 0; margin-top: 1px; }
.cat-note p { font-size: 13px; color: var(--cream-2); opacity: 0.9; }
.obj-list { display: flex; flex-direction: column; gap: 18px; margin-top: 40px; }
.obj-row { display: grid; grid-template-columns: 340px 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; transition: 0.4s var(--ease); }
.obj-row:hover { transform: translateY(-3px); }
.obj-row .or-media { position: relative; overflow: hidden; min-height: 240px; }
.obj-row .or-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.obj-row:hover .or-media img { transform: scale(1.05); }
.obj-row .or-media.placeholder { display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, #15202e, #0f1722); }
.obj-row .or-media.placeholder svg { width: 38px; height: 38px; stroke: var(--gold); fill: none; opacity: 0.6; }
.obj-row .or-badge { position: absolute; top: 14px; left: 14px; font-size: 11.5px; font-weight: 500; color: var(--ink); background: var(--gold); padding: 6px 13px; border-radius: 100px; }
.obj-row .or-badge.blue { background: var(--blue); color: #fff; }
.obj-row .or-badge.rent { background: var(--cream); color: var(--ink); }
.obj-row .or-body { padding: 26px 28px; display: flex; flex-direction: column; }
.obj-row .or-type { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.obj-row .or-loc { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--steel); margin-top: 7px; }
.obj-row .or-loc svg { width: 14px; height: 14px; stroke: var(--steel); fill: none; }
.obj-row h3 { font-size: 24px; color: #f4f1ea; margin: 9px 0 0; }
.obj-row .or-kurz { font-size: 14.5px; color: var(--cream-2); opacity: 0.85; margin-top: 12px; line-height: 1.6; max-width: 60ch; }
.obj-row .or-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 18px; flex-wrap: wrap; }
.obj-row .or-price { font-family: 'Marcellus', serif; font-size: 26px; color: #fff; }
.obj-row .or-meta { display: flex; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.obj-row .or-meta span { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--cream-2); }
.obj-row .or-meta svg { width: 15px; height: 15px; stroke: var(--steel); fill: none; }
.cat-empty { text-align: center; padding: 70px 20px; }
.cat-empty .ce-ic { width: 60px; height: 60px; border-radius: 16px; margin: 0 auto 18px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-line); display: flex; align-items: center; justify-content: center; }
.cat-empty .ce-ic svg { width: 28px; height: 28px; stroke: var(--gold); fill: none; }
.cat-empty p { color: var(--cream-2); }
@media (max-width: 760px){ .obj-row { grid-template-columns: 1fr; } .obj-row .or-media { min-height: 200px; } }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .prop-grid { grid-template-columns: repeat(2, 1fr); }
  .expose-layout { grid-template-columns: 1fr; }
  .sticky-side { position: static; }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .an-link { flex: 1; min-width: 130px; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
  .prop-grid { grid-template-columns: 1fr; }
  .expose-gallery { grid-template-columns: 1fr; height: auto; }
  .eg-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; height: 160px; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
}

/* ============ MOBILE-FEINSCHLIFF (Komponenten) ============ */
@media (max-width: 767px) {
  /* Page-Hero: weniger Leerraum unter dem kompakteren Header */
  .page-hero { padding-top: clamp(98px, 27vw, 138px); padding-bottom: clamp(34px, 8vw, 52px); }
  /* Filterleiste: jedes Feld volle Breite & gut tippbar */
  .filter-bar { padding: 16px; }
  .filter-field, .filter-field.grow { flex: 1 1 100%; }
  .field { padding: 13px 15px; font-size: 16px; }
  /* Account-Navigation als kompakte, gut tippbare Pillen */
  .account-nav { gap: 6px; }
  .an-link { min-width: 0; }
  /* Datentabelle: Werte nicht zu eng */
  .data-table td { padding: 12px 2px; }
  /* Spezifikationen lesbar in 2 Spalten */
  .spec-grid { grid-template-columns: 1fr 1fr; }
  /* Schritt-Liste: Nummer kompakter */
  .step { padding: 20px; gap: 16px; }
  .step .num { width: 40px; font-size: 26px; }
}
@media (max-width: 420px) {
  .spec-grid { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: 1fr; }
  .eg-side { height: 130px; }
}

/* ============ CTA FINAL (Unterseiten) ============ */
.final-cta { text-align: center; border-radius: var(--radius-lg); padding: clamp(40px, 4.5vw, 64px) clamp(24px, 4vw, 60px); }
.final-cta h2 { font-size: clamp(30px, 4.4vw, 52px); color: #f6f2e9; }
.final-cta p { margin: 18px auto 0; max-width: 54ch; font-size: 16.5px; color: var(--cream-2); opacity: 0.9; }
.final-cta .actions { margin-top: 34px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.final-cta .actions .btn-lg { padding: 18px 38px; font-size: 16px; min-height: 58px; }
