/* ═══════════════════════════════════════════════════════════════
   VIVEREA — Premium "Wow" Design
   Moderner Header, Stat-Cards, Property-Cards
   SaaS-Dashboard Look & Feel
   ═══════════════════════════════════════════════════════════════ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HEADER / NAV — Premium Glassmorphism, Gradient-Akzent
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Nav: Stärkerer Schatten, deutliche Abhebung */
nav[style*="height:72px"],
nav[style*="height:60px"] {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04) !important;
  backdrop-filter: none;
}

/* Branding: Gradient-Linie statt grau, Wordmark */
nav > a:first-of-type {
  border-left: none !important;
  position: relative;
  padding-left: 1.5rem !important;
}

/* Gradient-Akzentlinie links: Blau → Indigo */
nav > a:first-of-type::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 36px;
  background: linear-gradient(180deg, #2563EB 0%, #6366F1 100%);
  border-radius: 2px;
}

/* Logo: leicht größer, klarer (nur Logo, kein Text) */
nav > a:first-of-type img[alt="VIVEREA"],
nav > a:first-of-type img[alt="VIVEREA Logo"] {
  height: 56px !important;
  filter: brightness(0) opacity(0.92) drop-shadow(0 0 0.5px rgba(0, 0, 0, 0.3)) !important;
}

[data-theme="dark"] nav > a:first-of-type img[alt="VIVEREA"],
[data-theme="dark"] nav > a:first-of-type img[alt="VIVEREA Logo"] {
  filter: brightness(0) invert(1) opacity(0.95) drop-shadow(0 0 0.5px rgba(255,255,255,0.2)) !important;
}

/* Nav-Item: aktiver Zustand mit Akzent */
nav .v-nav-item.active {
  border-bottom-color: #2563EB !important;
  border-bottom-width: 2px !important;
  color: #0B1220 !important;
  font-weight: 600 !important;
}

[data-theme="dark"] nav .v-nav-item.active {
  color: rgba(255, 255, 255, 0.95) !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   STAT-CARDS — Premium Dashboard-Karten
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.admin-header-stats {
  border-radius: 16px !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
  border: 1px solid var(--separator-subtle) !important;
}

.stat-card {
  border-radius: 12px !important;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
}

/* Gradient-Top-Border auf Hover */
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563EB 0%, #6366F1 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06) !important;
  border-color: rgba(37, 99, 235, 0.2) !important;
}

.stat-card:hover::before {
  opacity: 1;
}

/* Stat-Werte: Premium-Typography */
.stat-card-value {
  font-size: 2rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  color: var(--on-bg);
}

[data-theme="light"] .stat-card-value {
  color: #0B1220;
}

[data-theme="dark"] .stat-card-value {
  color: rgba(255, 255, 255, 0.95);
}

.stat-card-label {
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  color: var(--on-bg-muted);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   KPI-CARDS (Dashboard) — gleicher Premium-Look
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.kpi-card {
  border-radius: 16px !important;
  transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
  position: relative;
  overflow: hidden;
}

.kpi-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563EB 0%, #6366F1 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.kpi-card:hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06) !important;
}

.kpi-card:hover::before {
  opacity: 1;
}

.kpi-value {
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PROPERTY-CARDS — Premium Hover & Glow
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.property-card-modern {
  border-radius: 16px !important;
  transition: all 0.35s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
}

.property-card-modern:hover {
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.08), 0 8px 24px rgba(0, 0, 0, 0.06) !important;
  border-color: rgba(37, 99, 235, 0.15) !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TOOLBAR — "Neue Immobilie" Button
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.properties-toolbar-sticky .btn-primary,
.admin-module .btn-primary,
.admin-module button[class*="primary"] {
  background: linear-gradient(135deg, #2563EB 0%, #1E4ED8 100%) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
  transition: all 0.25s ease !important;
}

.properties-toolbar-sticky .btn-primary:hover,
.admin-module .btn-primary:hover,
.admin-module button[class*="primary"]:hover {
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45) !important;
  transform: translateY(-1px);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PROPERTY DRAWER — Apple-inspired Luxury Design
   Modern · Refined · Premium Real Estate
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Backdrop: Weicher Blur, Apple-typisch */
.property-drawer-backdrop {
  background: rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  transition: opacity 400ms cubic-bezier(0.25, 0.1, 0.25, 1) !important;
}

/* Panel: helles Premium-Canvas (#f8f9fb) */
.property-drawer-panel {
  width: 480px !important;
  background: #f8f9fb !important;
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.08), -4px 0 16px rgba(0, 0, 0, 0.04) !important;
  transition: transform 400ms cubic-bezier(0.25, 0.1, 0.25, 1) !important;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

/* Header: Minimal, über dem Hero-Bild schwebend */
.property-drawer-header {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 10 !important;
  padding: 1.25rem 1.5rem !important;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, transparent 70%) !important;
  border: none !important;
}

.property-drawer-header::after {
  display: none !important;
}

.property-drawer-title {
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  color: rgba(255,255,255,0.98) !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
}

/* Close: Apple-Style, minimal, glasmorph */
.property-drawer-close {
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  color: rgba(255,255,255,0.95) !important;
  font-size: 1.125rem !important;
  font-weight: 300 !important;
  background: rgba(255,255,255,0.15) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  transition: all 250ms cubic-bezier(0.25, 0.1, 0.25, 1) !important;
}

.property-drawer-close:hover {
  background: rgba(255,255,255,0.25) !important;
  color: #fff !important;
  transform: scale(1.05) !important;
}

/* Body */
.property-drawer-body {
  padding: 0 !important;
}

/* Gallery: Hero volle Breite, grösser */
.property-drawer-gallery {
  margin: 0 !important;
}

.property-drawer-hero {
  position: relative !important;
  overflow: hidden !important;
}

.property-drawer-main-image {
  width: 100% !important;
  height: 280px !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  display: block !important;
}

/* Badges: Refined Glass, luxuriös */
.property-drawer-badges {
  position: absolute !important;
  bottom: 1.25rem !important;
  left: 1.5rem !important;
  right: 1.5rem !important;
  display: flex !important;
  gap: 0.5rem !important;
  flex-wrap: wrap !important;
  margin: 0 !important;
}

.property-drawer-badge {
  padding: 0.4rem 0.9rem !important;
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  border-radius: 100px !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  backdrop-filter: blur(16px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(150%) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12) !important;
  transition: transform 200ms ease !important;
}

.property-drawer-badge:hover {
  transform: translateY(-1px) !important;
}

.property-drawer-badge.property-type-badge-modern {
  background: rgba(255,255,255,0.92) !important;
  color: #1d1d1f !important;
}

.property-drawer-badge.property-status-badge-overlay.status-vermietet {
  background: rgba(52, 199, 89, 0.92) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.3) !important;
}

.property-drawer-badge.property-status-badge-overlay.status-verfugbar,
.property-drawer-badge.property-status-badge-overlay.status-verfügbar {
  background: rgba(0, 122, 255, 0.92) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.3) !important;
}

.property-drawer-badge.property-status-badge-overlay.status-verkauft {
  background: rgba(175, 82, 222, 0.92) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.3) !important;
}

.property-drawer-badge.property-status-badge-overlay.status-archiviert {
  background: rgba(107, 119, 140, 0.9) !important;
  color: #F4F7FF !important;
  border-color: rgba(255,255,255,0.28) !important;
}

/* Content: Grosszügiger Weissraum, Apple-Typografie */
.property-drawer-body > .property-drawer-property-title,
.property-drawer-body > .property-drawer-address,
.property-drawer-body > .property-drawer-info-grid,
.property-drawer-body > .property-drawer-occupancy-section,
.property-drawer-body > .property-drawer-section,
.property-drawer-body > .property-drawer-notes,
.property-drawer-body > .property-drawer-meta {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

/* Belegung – Embedded Visualisierung + Button */
.property-drawer-occupancy-section {
  margin-bottom: 1.5rem !important;
}

.property-drawer-occupancy-embedded {
  min-height: 180px;
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
}

.occupancy-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: occupancy-skeleton-shimmer 1.5s ease-in-out infinite;
}

.occupancy-skeleton-placeholder {
  padding: 2rem;
  text-align: center;
  color: #8e8e93;
  font-size: 0.875rem;
}

@keyframes occupancy-skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Embedded: kompakter, gleiche Optik wie Vollansicht */
.occupancy-variant-embedded .occupancy-mfh {
  padding: 0.875rem !important;
}
.occupancy-variant-embedded .mfh-apartment-card {
  min-height: 64px !important;
}
.occupancy-variant-embedded .mfh-unit-number {
  font-size: 0.75rem !important;
}
.occupancy-variant-embedded .mfh-floor-label {
  font-size: 0.6875rem !important;
}

.property-drawer-occupancy-section .property-drawer-section-title {
  margin-bottom: 0.75rem !important;
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  color: #8e8e93 !important;
}

.btn-visuelle-darstellung {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  width: 100% !important;
  padding: 1rem 1.5rem !important;
  background: #fff !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  border-radius: 16px !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  color: #1d1d1f !important;
  cursor: pointer !important;
  transition: all 220ms cubic-bezier(0.25, 0.1, 0.25, 1) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
}

.btn-visuelle-darstellung:hover {
  background: #fafafa !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06) !important;
  transform: translateY(-1px) !important;
}

.btn-visuelle-darstellung svg {
  flex-shrink: 0;
  color: #6e6e73;
}

/* Visuelle Darstellung – Full-Screen Overlay (wie zweite Seite) */
.visuelle-darstellung-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: #f5f5f7;
  opacity: 0;
  transition: opacity 300ms ease;
}

.visuelle-darstellung-overlay.show {
  display: block;
  opacity: 1;
}

.visuelle-darstellung-panel {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  max-width: 100%;
  background: #f5f5f7;
  overflow: hidden;
}

.visuelle-darstellung-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  flex-shrink: 0;
}

.visuelle-darstellung-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0;
}

.visuelle-darstellung-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(0,0,0,0.06);
  border-radius: 50%;
  font-size: 1.25rem;
  color: #1d1d1f;
  cursor: pointer;
  transition: all 200ms ease;
}

.visuelle-darstellung-close:hover {
  background: rgba(0,0,0,0.1);
}

.visuelle-darstellung-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: auto;
  padding: 1.5rem;
}

.visuelle-darstellung-container {
  max-width: 900px;
  margin: 0 auto;
  min-height: 400px;
}

/* Occupancy-Styles: Einheitlich für Gebäudedaten + Visuelle Darstellung (Gebäudedaten = Haupt) */
.occupancy-view-wrapper .occupancy-mfh,
.visuelle-darstellung-container .occupancy-mfh {
  padding: 1.25rem !important;
  background: #fafafa !important;
  border-radius: 16px !important;
}

/* Layout: übereinander – „Nicht zugewiesene Mieter“ oben, Gebäude darunter (wie Gebäudedaten) */
.occupancy-view-wrapper .occupancy-mfh-layout,
.visuelle-darstellung-container .occupancy-mfh-layout {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.25rem !important;
  min-width: 0 !important;
}

.occupancy-view-wrapper .occupancy-unassigned.mfh-panel,
.visuelle-darstellung-container .occupancy-unassigned.mfh-panel {
  flex: 0 0 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-height: none !important;
  background: #fff !important;
  border-radius: 12px !important;
  padding: 1rem !important;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04) !important;
}

.occupancy-view-wrapper .occupancy-building,
.visuelle-darstellung-container .occupancy-building {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
}

/* Gebäude: Dach und Fassade – weicher, eleganter */
.occupancy-view-wrapper .mfh-house-roof,
.visuelle-darstellung-container .mfh-house-roof {
  background: linear-gradient(180deg, #6b7280 0%, #4b5563 50%, #374151 100%) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
}

.occupancy-view-wrapper .mfh-building-body,
.visuelle-darstellung-container .mfh-building-body {
  background: linear-gradient(180deg, #f8f9fa 0%, #f1f3f5 100%) !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  border-radius: 0 0 12px 12px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
  padding: 1rem 1rem 1.25rem !important;
}

/* Wohnungskarten – Apple-Style, abgerundet */
.occupancy-view-wrapper .mfh-apartment-card,
.visuelle-darstellung-container .mfh-apartment-card {
  background: #fff !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
  min-height: 88px !important;
  transition: all 220ms cubic-bezier(0.25, 0.1, 0.25, 1) !important;
}

.occupancy-view-wrapper .mfh-apartment-card:hover,
.visuelle-darstellung-container .mfh-apartment-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
  border-color: rgba(0,0,0,0.12) !important;
}

/* Read-Only: keine Hover-Effekte, keine Interaktion */
.occupancy-view-wrapper .occupancy-view-readonly .mfh-apartment-card:hover,
.visuelle-darstellung-container .occupancy-view-readonly .mfh-apartment-card:hover {
  transform: none !important;
}
.occupancy-view-wrapper .occupancy-unit-leer,
.visuelle-darstellung-container .occupancy-unit-leer {
  font-size: 0.75rem !important;
  color: #8e8e93 !important;
  font-weight: 500 !important;
}

.occupancy-view-wrapper .mfh-apartment-card.mfh-empty,
.visuelle-darstellung-container .mfh-apartment-card.mfh-empty {
  background: #fafafa !important;
  border-color: rgba(0,0,0,0.06) !important;
}

.occupancy-view-wrapper .mfh-card-header,
.visuelle-darstellung-container .mfh-card-header {
  padding: 0.5rem 0.75rem !important;
  border-bottom: 1px solid rgba(0,0,0,0.05) !important;
}

.occupancy-view-wrapper .mfh-unit-number,
.visuelle-darstellung-container .mfh-unit-number {
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  color: #1d1d1f !important;
}

.occupancy-view-wrapper .mfh-add-hint,
.visuelle-darstellung-container .mfh-add-hint {
  color: #8e8e93 !important;
  background: rgba(0,0,0,0.04) !important;
  border-radius: 10px !important;
  width: 32px !important;
  height: 32px !important;
}

.occupancy-view-wrapper .mfh-apartment-card.mfh-empty:hover .mfh-add-hint,
.visuelle-darstellung-container .mfh-apartment-card.mfh-empty:hover .mfh-add-hint {
  color: #1d1d1f !important;
  background: rgba(0,0,0,0.06) !important;
}

/* Stockwerk-Labels */
.occupancy-view-wrapper .mfh-floor-label,
.visuelle-darstellung-container .mfh-floor-label {
  color: #6e6e73 !important;
  font-size: 0.75rem !important;
}

/* Mieter-Badge */
.occupancy-view-wrapper .mfh-tenant-badge,
.visuelle-darstellung-container .mfh-tenant-badge {
  background: rgba(29,29,31,0.06) !important;
  border: 1px solid rgba(29,29,31,0.1) !important;
  color: #1d1d1f !important;
  border-radius: 8px !important;
}

@media (max-width: 520px) {
  .occupancy-view-wrapper .occupancy-unassigned.mfh-panel,
  .visuelle-darstellung-container .occupancy-unassigned.mfh-panel {
    max-height: 120px !important;
  }
  .occupancy-view-wrapper .mfh-apartment-card,
  .visuelle-darstellung-container .mfh-apartment-card {
    min-width: 80px !important;
  }
}

/* Titel: Apple Large Title Style */
.property-drawer-property-title {
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.15 !important;
  color: #1d1d1f !important;
  margin: 1.5rem 0 0.35rem !important;
}

.property-drawer-address {
  color: #6e6e73 !important;
  font-size: 1rem !important;
  margin-bottom: 1.5rem !important;
  font-weight: 400 !important;
}

.property-drawer-address svg {
  color: #6e6e73 !important;
  opacity: 0.9 !important;
}

/* Thumbnails: Apple-Style */
.property-drawer-thumbnails {
  padding: 0.75rem 1.5rem 1.25rem !important;
  gap: 0.5rem !important;
}

.property-drawer-thumbnails img {
  width: 56px !important;
  height: 56px !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  border: 2px solid transparent !important;
  transition: all 250ms cubic-bezier(0.25, 0.1, 0.25, 1) !important;
}

.property-drawer-thumbnails img:hover {
  opacity: 0.9 !important;
  transform: scale(1.02) !important;
}

.property-drawer-thumbnails img.active {
  border-color: #1d1d1f !important;
  box-shadow: 0 0 0 2px rgba(29,29,31,0.15) !important;
}

/* Info-Grid: Apple Card Style */
.property-drawer-info-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.75rem !important;
  margin-bottom: 1.5rem !important;
}

.property-drawer-info-item {
  background: #fff !important;
  border: none !important;
  border-radius: 16px !important;
  padding: 1.125rem 1.25rem !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
  transition: all 250ms cubic-bezier(0.25, 0.1, 0.25, 1) !important;
}

.property-drawer-info-item:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important;
  transform: translateY(-1px) !important;
}

.property-drawer-info-label {
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #8e8e93 !important;
  margin-bottom: 0.35rem !important;
}

.property-drawer-info-value {
  font-size: 1.0625rem !important;
  font-weight: 600 !important;
  color: #1d1d1f !important;
  letter-spacing: -0.02em !important;
}

.property-drawer-info-value.price {
  color: #1d1d1f !important;
}

/* Sektionen: Clean Cards, kein Border */
.property-drawer-section {
  margin-bottom: 1rem !important;
  padding: 1.25rem 1.5rem !important;
  background: #fff !important;
  border: none !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
  transition: box-shadow 200ms ease !important;
}

.property-drawer-section:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.05) !important;
}

.property-drawer-section-title {
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #8e8e93 !important;
  margin-bottom: 0.5rem !important;
}

.property-drawer-section-content {
  font-size: 0.9375rem !important;
  color: #1d1d1f !important;
  line-height: 1.6 !important;
}

/* Links: kein Blau – alle Links im Drawer-Body (E-Mail, Telefon) */
#propertyDetailDrawer .property-drawer-body a:not(.btn):not([class*="btn"]) {
  color: #1d1d1f !important;
  text-decoration: none !important;
}
#propertyDetailDrawer .property-drawer-body a:not(.btn):not([class*="btn"]):hover {
  color: #424245 !important;
}

#propertyDetailDrawer .property-drawer-section-content a,
#propertyDetailDrawer .property-drawer-section-content a:link,
#propertyDetailDrawer .property-drawer-section-content a:visited,
.property-drawer-section-content a,
.property-drawer-section-content a:link,
.property-drawer-section-content a:visited {
  color: #1d1d1f !important;
  text-decoration: none !important;
  transition: color 150ms ease !important;
}

#propertyDetailDrawer .property-drawer-section-content a:hover,
#propertyDetailDrawer .property-drawer-section-content a:focus,
#propertyDetailDrawer .property-drawer-section-content a:active,
.property-drawer-section-content a:hover,
.property-drawer-section-content a:focus,
.property-drawer-section-content a:active {
  color: #424245 !important;
}

/* Notizen */
.property-drawer-notes {
  background: #fff !important;
  border: none !important;
  border-radius: 16px !important;
  padding: 1.25rem 1.5rem !important;
  color: #6e6e73 !important;
  margin-bottom: 1rem !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
}

/* Meta: dezenter */
.property-drawer-meta {
  font-size: 0.75rem !important;
  color: #8e8e93 !important;
  padding-bottom: 1.5rem !important;
}

/* Footer: Apple-Style Buttons */
.property-drawer-footer {
  border-top: 1px solid rgba(0,0,0,0.06) !important;
  padding: 1.25rem 1.5rem !important;
  background: #fff !important;
  gap: 0.75rem !important;
}

.property-drawer-footer::before {
  display: none !important;
}

.property-drawer-footer .btn-primary {
  background: #1d1d1f !important;
  border: none !important;
  color: #fff !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  border-radius: 12px !important;
  padding: 0.75rem 1.5rem !important;
  transition: all 250ms cubic-bezier(0.25, 0.1, 0.25, 1) !important;
}

.property-drawer-footer .btn-primary:hover {
  background: #424245 !important;
  transform: scale(1.02) !important;
}

.property-drawer-footer .btn-secondary {
  background: #f5f5f7 !important;
  border: none !important;
  color: #1d1d1f !important;
  border-radius: 12px !important;
  padding: 0.75rem 1.5rem !important;
  transition: all 250ms cubic-bezier(0.25, 0.1, 0.25, 1) !important;
}

.property-drawer-footer .btn-secondary:hover {
  background: #e8e8ed !important;
}

.property-drawer-footer .btn-danger {
  background: transparent !important;
  border: 1px solid rgba(255, 59, 48, 0.4) !important;
  color: #ff3b30 !important;
  border-radius: 12px !important;
  padding: 0.75rem 1.5rem !important;
  transition: all 250ms cubic-bezier(0.25, 0.1, 0.25, 1) !important;
}

.property-drawer-footer .btn-danger:hover {
  background: rgba(255, 59, 48, 0.08) !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MOBILE — Wordmark ausblenden bei wenig Platz
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media (max-width: 768px) {
  nav > a:first-of-type::after {
    display: none;
  }
  nav > a:first-of-type img[alt="VIVEREA"],
  nav > a:first-of-type img[alt="VIVEREA Logo"] {
    height: 44px !important;
  }
  nav > a:first-of-type::before {
    height: 28px;
  }
}

@media (max-width: 480px) {
  .stat-card-value {
    font-size: 1.5rem !important;
  }
}
