/* ============================================================
   IMMOBILIEN — Premium Property Cards & Detail Page
   Brand-Farben aus style.css verwenden:
   --navy #1B263B, --petrol #415A77, --gold #E0A458,
   --slate #778DA9, --offwhite #F0F2F5, --white #FFFFFF
   ============================================================ */

/* Filter-Tabs */
.prop-filter-tab {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border: 1px solid rgba(65,90,119,0.2);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--petrol);
  background: var(--white);
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}
.prop-filter-tab:hover {
  border-color: var(--gold);
  color: var(--navy);
}
.prop-filter-tab.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Property-Grid */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}
/* Sanfte Filter-Übergänge — versteckte Karten faden raus */
.property-card {
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.property-card.prop-card-hidden {
  opacity: 0;
  transform: scale(0.95);
  position: absolute;
  pointer-events: none;
  visibility: hidden;
  height: 0;
  overflow: hidden;
}

/* Property-Card */
.property-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 20px rgba(27,38,59,0.06);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.3s ease;
  border: 1px solid rgba(65,90,119,0.08);
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(27,38,59,0.15);
}

.property-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--offwhite);
}
.property-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.property-card:hover .property-card-img img {
  transform: scale(1.04);
}

.property-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gold);
  color: var(--navy);
  padding: 7px 14px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 14px rgba(27,38,59,0.25);
}

.property-card-type {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(27,38,59,0.85);
  color: var(--white);
  padding: 5px 11px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.property-card-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}

.property-card-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 50px;
}

.property-card-meta {
  font-size: 13px;
  color: var(--petrol);
}
.property-card-loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.property-card-loc svg { color: var(--gold); flex-shrink: 0; }

.property-card-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: 0.5rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(65,90,119,0.1);
  margin-top: 0.3rem;
}
.property-stat {
  text-align: center;
}
.property-stat-num {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}
.property-stat-label {
  font-size: 11px;
  color: var(--petrol);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.property-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-top: auto;
  padding-top: 0.4rem;
}
.property-card-cta svg {
  transition: transform 0.25s ease;
}
.property-card:hover .property-card-cta svg {
  transform: translateX(3px);
}

/* Erfolgreich-Vermittelt-Sektion */
.property-references {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.reference-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(27,38,59,0.05);
  border: 1px solid rgba(65,90,119,0.08);
}
.reference-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--offwhite);
}
.reference-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Grayscale-Effekt entfernt — er war Ursache für das kurze Verschwinden des
     Badges bei Hover (Repaint-Flicker durch Filter-Transition) */
}
.reference-overlay {
  position: absolute;
  bottom: 10px; left: 10px;
  background: rgba(27,38,59,0.96);
  color: var(--gold);
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 4px;
  z-index: 3;
  /* Badge bleibt fix sichtbar — keine Transitions die ihn verschwinden lassen */
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
/* Bild-Layer explizit hinter Badge — verhindert Z-Index-Flicker bei Filter-Wechsel */
.reference-card-img img {
  position: relative;
  z-index: 1;
}
.reference-card-body { padding: 0.9rem 1rem 1rem; }
.reference-card-loc {
  font-size: 11px;
  color: var(--petrol);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.reference-card-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
  margin: 4px 0 6px;
}
.reference-card-meta {
  font-size: 12px;
  color: var(--petrol);
}

/* Karussell-Modus für viele Referenzen — kontinuierlich laufendes Banner */
.property-references-carousel {
  margin-top: 3rem;
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Sanftes Fade an den Rändern */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
/* inline-flex + max-width-Override damit globale * { max-width: 100% } Regel aus style.css
   nicht den Track auf Viewport-Breite zusammendrückt (war Ursache für Stapel-Bug auf iPhone) */
.property-references-track {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  max-width: none !important;
  width: max-content;
  /* Dauer kommt per CSS-Variable aus dem PHP — skaliert mit Card-Anzahl */
  animation: refsScroll var(--refs-duration, 32s) linear infinite;
  -webkit-animation: refsScroll var(--refs-duration, 32s) linear infinite;
  will-change: transform;
}
.property-references-carousel:hover .property-references-track,
.property-references-carousel:focus-within .property-references-track {
  animation-play-state: paused;
  -webkit-animation-play-state: paused;
}
.property-references-carousel .reference-card {
  flex: 0 0 280px !important;
  width: 280px !important;
  min-width: 280px !important;
  max-width: 280px !important;
}
@keyframes refsScroll {
  0%   { transform: translate3d(0, 0, 0); -webkit-transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); -webkit-transform: translate3d(-50%, 0, 0); }
}
@-webkit-keyframes refsScroll {
  0%   { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
  100% { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .property-references-track {
    animation: none;
    -webkit-animation: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .property-references-carousel { mask-image: none; -webkit-mask-image: none; overflow-x: auto; }
  .property-references-carousel .reference-card { scroll-snap-align: start; }
}
@media (max-width: 700px) {
  .property-references-carousel .reference-card {
    flex: 0 0 240px !important;
    width: 240px !important;
    min-width: 240px !important;
    max-width: 240px !important;
  }
  .property-references-track {
    animation-duration: 25s;
    -webkit-animation-duration: 25s;
  }
}

/* ============================================================
   DETAIL-SEITE: immobilie.php
   ============================================================ */
.property-detail {
  max-width: 1280px;
  margin: 0 auto;
  padding: 110px 1.5rem 5rem;
  color: var(--body-text);
}

.prop-error {
  text-align: center;
  padding: 5rem 1rem;
}
.prop-error h1 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 1rem;
}

/* Nav-Kontrast für Detail-Seite — vollopak in Safari + alle Browsern */
.prop-detail-page nav,
.prop-detail-page nav.scrolled {
  background: #1B263B !important;
  background-color: #1B263B !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(224,164,88,0.25);
}
.prop-detail-page nav .nav-links a {
  color: #ffffff !important;
  font-weight: 700;
  opacity: 1 !important;
}
.prop-detail-page nav .nav-links a:hover { color: var(--gold) !important; }
.prop-detail-page .logo-text strong,
.prop-detail-page .logo-text small { color: #ffffff !important; }

/* Print-Button im Header der Detail-Seite */
.prop-detail-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.prop-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(65,90,119,0.25);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--petrol);
  background: var(--white);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}
.prop-action-btn:hover {
  border-color: var(--gold);
  color: var(--navy);
  background: rgba(224,164,88,0.05);
}
.prop-action-btn svg { color: var(--gold); }

.prop-breadcrumb {
  font-size: 13px;
  color: #1B263B;
  margin-bottom: 1.4rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.prop-breadcrumb a {
  color: #415A77;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}
.prop-breadcrumb a:hover { color: var(--gold); }
.prop-breadcrumb .prop-bc-sep {
  color: #415A77;
  margin: 0 6px;
  opacity: 0.7;
  font-weight: 400;
}

.prop-detail-header {
  margin-bottom: 2rem;
}
.prop-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 0.6rem;
}
.prop-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 3px;
}
.prop-detail-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 1rem 0;
}
.prop-detail-price-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(65,90,119,0.12);
}
.prop-detail-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.prop-detail-price-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--petrol);
}
.prop-detail-price-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.5px;
}
.prop-detail-price-sub {
  font-size: 13px;
  color: var(--petrol);
  margin-top: 2px;
  font-weight: 500;
}

/* Galerie */
.prop-gallery { margin: 2rem 0 2.5rem; }
.prop-gallery-main {
  position: relative;
  width: 100%;
  height: clamp(420px, 60vh, 680px);
  border-radius: 12px;
  overflow: hidden;
  background: var(--navy); /* Dunkler Rahmen, falls Bild kein 16:9 hat */
  box-shadow: 0 14px 40px rgba(27,38,59,0.18);
  margin-bottom: 1rem;
}
.prop-gallery-main img {
  width: 100%; height: 100%;
  object-fit: contain; /* Bild komplett anzeigen, nicht abschneiden */
  display: block;
  cursor: zoom-in;
  transition: opacity 0.3s ease;
}

/* Pfeil-Navigation auf dem Hauptbild */
.prop-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(27,38,59,0.7);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, transform 0.2s ease;
}
.prop-gallery-arrow:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-50%) scale(1.05);
}
.prop-gallery-prev { left: 16px; }
.prop-gallery-next { right: 16px; }

.prop-gallery-counter {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(27,38,59,0.85);
  color: white;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.prop-gallery-zoom {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(27,38,59,0.7);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease;
}
.prop-gallery-zoom:hover { background: var(--gold); color: var(--navy); }

/* ═══ Grundrisse — eigene Sektion mit klickbaren Plan-Vorschauen ═══ */
.prop-grundriss-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 280px));
  gap: 1.25rem;
  justify-content: start;
}
.prop-grundriss-item {
  display: block;
  background: var(--white);
  border: 1px solid rgba(65,90,119,0.15);
  width: 100%;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.prop-grundriss-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(27,38,59,0.12);
  border-color: var(--gold);
}
.prop-grundriss-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--offwhite);
  display: block;
  padding: 1rem;
}
.prop-grundriss-caption {
  padding: 0.85rem 1rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-top: 1px solid rgba(65,90,119,0.08);
}
.prop-grundriss-caption svg { color: var(--gold); }

/* ═══ Video-Player (MP4 aus OpenImmo) ═══ */
.prop-video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.prop-video-block {
  background: var(--navy);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(27,38,59,0.18);
}
.prop-video-player {
  width: 100%;
  display: block;
  max-height: 560px;
  background: #000;
}
/* Wrapper für YouTube/Vimeo-Iframes mit 16:9 Aspect Ratio */
.prop-video-iframe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.prop-video-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
/* Wrapper für Interaktive Karten (AreaButler) — höher als Video, bessere Lesbarkeit */
.prop-map-iframe-wrap {
  position: relative;
  width: 100%;
  height: clamp(480px, 70vh, 720px);
  background: #f0f2f5;
  overflow: hidden;
}
.prop-map-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 700px) {
  .prop-map-iframe-wrap { height: 460px; }
}
.prop-video-caption {
  padding: 0.85rem 1.2rem;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  background: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.prop-video-caption a:hover {
  color: white !important;
}

/* ═══ Lightbox-Overlay (Vollbild-Modus) ═══ */
.prop-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vh 4vw;
  cursor: zoom-out;
}
.prop-lightbox.open {
  display: flex;
  animation: lightboxFadeIn 0.25s ease;
}
@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.prop-lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  cursor: default;
}
.prop-lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 2;
}
.prop-lightbox-close:hover { background: rgba(255,255,255,0.2); }
.prop-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.prop-lightbox-arrow:hover { background: var(--gold); color: var(--navy); }
.prop-lightbox-prev { left: 24px; }
.prop-lightbox-next { right: 24px; }
.prop-lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  background: rgba(0,0,0,0.6);
  padding: 8px 16px;
  border-radius: 6px;
  max-width: 80%;
  text-align: center;
}
/* Counter (X / Y) für Grundriss-Lightbox */
.prop-lightbox-counter {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  background: rgba(0,0,0,0.6);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.prop-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.6rem;
}
.prop-thumb {
  position: relative;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: none;
  padding: 0;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.prop-thumb:hover { transform: translateY(-2px); }
.prop-thumb.active { border-color: var(--gold); }
.prop-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.prop-thumb-tag {
  position: absolute;
  top: 4px; left: 4px;
  background: rgba(224,164,88,0.95);
  color: var(--navy);
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 3px;
}

/* Body-Layout: NICHT mehr 2-spaltig — alles volle Breite */
.prop-detail-body {
  display: block;
}

/* ═══ Ansprechpartner-Banner direkt unter Galerie ═══ */
.prop-contact-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  margin: 0 0 2.5rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--petrol) 100%);
  border-radius: 12px;
  flex-wrap: wrap;
  box-shadow: 0 8px 24px rgba(27,38,59,0.18);
}
.prop-contact-banner-info {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.prop-contact-banner-photo {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}
.prop-contact-banner-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 4px;
}
.prop-contact-banner-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: white;
  line-height: 1.2;
}
.prop-contact-banner-role {
  font-size: 13px;
  color: rgba(255,255,255,0.92);
  margin-top: 2px;
  font-weight: 500;
}
.prop-contact-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.prop-contact-banner-tel,
.prop-contact-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}
.prop-contact-banner-tel {
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
}
.prop-contact-banner-tel:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--gold);
}
.prop-contact-banner-cta {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(224,164,88,0.4);
}
.prop-contact-banner-cta:hover {
  background: #d49645;
  transform: translateY(-2px);
}

/* ═══ Features-Grid (Ausstattung) ═══ */
.prop-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  background: var(--offwhite);
  padding: 1.5rem;
  border-radius: 12px;
}
.prop-feature-block { display: flex; flex-direction: column; gap: 0.5rem; }
.prop-feature-cat {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.prop-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.prop-feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--navy);
  line-height: 1.4;
}
.prop-feature-list li svg { color: var(--gold); flex-shrink: 0; }

/* ═══ Distanzen / Fahrtzeiten ═══ */
.prop-distances-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(65,90,119,0.12);
  border: 1px solid rgba(65,90,119,0.12);
  border-radius: 12px;
  overflow: hidden;
}
.prop-distance-item {
  background: var(--white);
  padding: 1rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}
.prop-distance-target {
  font-size: 13px;
  color: var(--petrol);
}
.prop-distance-value {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
}

/* ═══ Anfrage-Sektion — DUNKEL (passend zu Eckdaten / Lage / Energie) ═══ */
.prop-inquiry-section {
  margin-top: 4.5rem;
  padding: 3rem 2.25rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--petrol) 100%);
  border-radius: 16px;
  border: 1px solid rgba(224,164,88,0.30);
  position: relative;
  box-shadow: 0 14px 40px rgba(27,38,59,0.18);
  overflow: hidden;
  color: white;
}
.prop-inquiry-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, #d49645 50%, var(--gold) 100%);
}
/* Heller Text auf dunklem Hintergrund */
.prop-inquiry-section .prop-inquiry-title { color: white; }
.prop-inquiry-section .prop-inquiry-intro p { color: rgba(255,255,255,0.92); }
.prop-inquiry-section .prop-eyebrow { color: var(--gold); }
.prop-inquiry-section .prop-eyebrow::before { background: var(--gold); }
/* Form-Labels in Gold */
.prop-inquiry-section .prop-form-group label {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
/* Inputs hell mit dunklem Text — bleiben gut lesbar beim Tippen */
.prop-inquiry-section .prop-form-group input,
.prop-inquiry-section .prop-form-group select,
.prop-inquiry-section .prop-form-group textarea {
  background: white;
  color: var(--navy);
  border: 1px solid rgba(255,255,255,0.3);
}
.prop-inquiry-section .prop-form-group input:focus,
.prop-inquiry-section .prop-form-group select:focus,
.prop-inquiry-section .prop-form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(224,164,88,0.25);
}
/* Kontakt-Box (Manfred Hocke) auf dunklem Background */
.prop-inquiry-section .prop-inquiry-contact {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: white;
}
.prop-inquiry-section .prop-inquiry-contact-name { color: white; }
.prop-inquiry-section .prop-inquiry-contact-role { color: rgba(255,255,255,0.85); }
.prop-inquiry-section .prop-inquiry-contact-tel { color: var(--gold); }
/* Anrede-Zeile bekommt schmaleres Layout (Anrede allein oben) */
.prop-form-row-anrede {
  grid-template-columns: minmax(180px, 240px) 1fr !important;
}
@media (max-width: 600px) {
  .prop-form-row-anrede {
    grid-template-columns: 1fr !important;
  }
}
.prop-inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.prop-inquiry-intro .prop-inquiry-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  color: var(--navy);
  margin: 0.5rem 0 1.25rem;
  line-height: 1.2;
}
.prop-inquiry-intro p {
  font-size: 16px;
  color: var(--body-text);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
.prop-inquiry-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 1.5rem 1.6rem;
  background: var(--white);
  border: 1px solid rgba(65,90,119,0.15);
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(27,38,59,0.06);
}
.prop-inquiry-contact img {
  width: 84px; height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}
.prop-inquiry-contact-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
}
.prop-inquiry-contact-role {
  font-size: 14px;
  color: var(--petrol);
  margin: 4px 0 8px;
  font-weight: 500;
}
.prop-inquiry-contact-tel {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.3px;
}
.prop-inquiry-contact-tel:hover { text-decoration: underline; }

.prop-detail-section { margin-bottom: 2.75rem; }
.prop-section-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 1.25rem 0;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.prop-prose {
  font-size: 17px;
  line-height: 1.75;
  color: var(--body-text);
}
.prop-prose p { margin: 0 0 1.1rem 0; }
.prop-prose h2,
.prop-prose h3 {
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 500;
  margin: 1.8rem 0 0.7rem;
  line-height: 1.3;
}
.prop-prose h2 { font-size: 22px; }
.prop-prose h3 { font-size: 18px; }
.prop-prose h2:first-child,
.prop-prose h3:first-child { margin-top: 0; }
.prop-prose strong { color: var(--navy); font-weight: 600; }
.prop-prose ul,
.prop-prose ol {
  padding-left: 1.4rem;
  margin: 0.6rem 0 1rem;
}
.prop-prose li {
  margin-bottom: 0.4rem;
  line-height: 1.65;
}
.prop-prose-small {
  font-size: 15px;
  color: var(--petrol);
  line-height: 1.7;
}
.prop-prose-small h2,
.prop-prose-small h3 {
  font-size: 17px;
  margin-top: 1.5rem;
  font-weight: 600;
}
.prop-prose-small p {
  margin-bottom: 0.9rem;
}

/* Dunkle Sektionen — Eckdaten, Lage, Energieausweis */
.prop-eckdaten-wrapper,
.prop-dark-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--petrol) 100%);
  border-radius: 14px;
  padding: 2rem 2rem 2.25rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 12px 36px rgba(27,38,59,0.18);
}
.prop-eckdaten-wrapper .prop-section-title,
.prop-dark-section .prop-section-title {
  color: white;
  border-bottom-color: var(--gold);
  margin-top: 0;
}

/* Distanzen im dunklen Layout — Werte unten ausgerichtet wie Eckdaten */
.prop-dark-section .prop-distances-grid {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
}
.prop-dark-section .prop-distance-item {
  background: rgba(27,38,59,0.45);
  padding: 1.25rem 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 110px;
  align-items: stretch;
}
.prop-dark-section .prop-distance-target {
  color: var(--gold);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  min-height: 30px;
}
.prop-dark-section .prop-distance-value {
  color: white;
  font-size: 22px;
  font-weight: 600;
  font-family: var(--font-display);
  line-height: 1.2;
  padding-bottom: 2px;
}

/* Energieausweis im dunklen Layout — Werte unten ausgerichtet wie Eckdaten */
.prop-dark-section .prop-energy-grid {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0;
  /* Wie Eckdaten: Grid mit 1px-Gaps für saubere Trennlinien */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  border-radius: 10px;
}
.prop-dark-section .prop-energy-item {
  background: rgba(27,38,59,0.45);
  padding: 1.25rem 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 110px;
}
.prop-dark-section .prop-energy-label {
  color: var(--gold);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  min-height: 30px;
}
.prop-dark-section .prop-energy-value {
  color: white;
  font-size: 22px;
  font-weight: 600;
  font-family: var(--font-display);
  word-break: break-word;
  line-height: 1.2;
  padding-bottom: 2px;
}
.prop-dark-section .prop-energy-class {
  color: var(--gold);
  font-size: 36px;
}

/* Ausstattung im dunklen Layout — gleiche Zellen-Struktur wie Eckdaten/Lage/Energie */
.prop-dark-section .prop-features-grid {
  /* Grid mit 1px-Gap und durchgängigem hellen Background → wirkt als Trennlinie zwischen Zellen */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
}
.prop-dark-section .prop-feature-block {
  background: rgba(27,38,59,0.45);
  padding: 1.4rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 110px;
}
.prop-dark-section .prop-feature-cat {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.prop-dark-section .prop-feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.prop-dark-section .prop-feature-list li {
  color: white;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.prop-dark-section .prop-feature-list li svg,
.prop-dark-section .prop-feature-list li::before {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Breadcrumb ist <nav> und erbt sonst die globale Navy-Hintergrundfarbe */
.prop-detail-actions,
nav.prop-breadcrumb,
.prop-breadcrumb {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  position: static !important;
  height: auto !important;
  padding: 0 !important;
  display: inline-block;
  width: auto;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
}
.prop-detail-actions {
  display: flex !important;
}
.prop-facts-grid {
  display: grid;
  /* Etwas breitere Mindestbreite — verhindert Umbrüche wie "nach Vereinbarung" → 2 Zeilen */
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
}
.prop-fact {
  background: rgba(27,38,59,0.6);
  padding: 1.25rem 1.2rem 1.4rem;
  backdrop-filter: blur(4px);
  /* Werte unten ausrichten — egal wie viele Zeilen das Label hat,
     stehen alle Zahlen auf gleicher Linie */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 110px;
}
.prop-fact-label {
  /* Label oben, mit Mindesthöhe für Konsistenz bei mehrzeiligen Labels */
  min-height: 30px;
}
.prop-fact-value {
  /* Wert unten — nicht abgeschnitten, KEINE hässliche Silbentrennung */
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  -webkit-hyphens: none;
  line-height: 1.2;
  padding-bottom: 2px;
}
/* Stellplatz-Zelle bekommt mehr Platz für längeren Text */
.prop-fact-wide {
  grid-column: span 2;
}
@media (max-width: 700px) {
  .prop-fact-wide { grid-column: span 1; }
}
.prop-fact-label {
  font-size: 12px;
  letter-spacing: 1.2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 700;
}
.prop-fact-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: white;
}

/* Energy-Block */
.prop-energy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  background: linear-gradient(135deg, rgba(224,164,88,0.06), rgba(224,164,88,0.02));
  border: 1px solid rgba(224,164,88,0.25);
  border-radius: 10px;
  padding: 1.25rem;
}
.prop-energy-item {}
.prop-energy-label {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--petrol);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.prop-energy-value {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
}
.prop-energy-class {
  font-size: 28px;
  color: var(--gold);
}

/* Anfrage-Aside (rechts, sticky) */
.prop-inquiry-aside {
  position: sticky;
  top: 110px;
}
.prop-inquiry-card {
  background: var(--white);
  border: 1px solid rgba(65,90,119,0.12);
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 8px 30px rgba(27,38,59,0.08);
}

.prop-contact-block {
  text-align: center;
  padding-bottom: 1.4rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid rgba(65,90,119,0.12);
}
.prop-contact-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.prop-contact-photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.6rem;
  border: 3px solid var(--gold);
}
.prop-contact-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
}
.prop-contact-role {
  font-size: 12px;
  color: var(--petrol);
  margin-bottom: 0.6rem;
}
.prop-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--petrol);
  text-decoration: none;
  margin-top: 0.4rem;
}
.prop-contact-link:hover { color: var(--gold); }
.prop-contact-link svg { color: var(--gold); }

.prop-inquiry-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 1.2rem 0;
  text-align: center;
}

.prop-inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.prop-form-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0.6rem;
}
.prop-form-group { display: flex; flex-direction: column; gap: 6px; }
.prop-form-group label {
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--petrol);
  font-weight: 500;
}
.prop-form-group input,
.prop-form-group select,
.prop-form-group textarea {
  padding: 12px 14px;
  border: 1px solid rgba(65,90,119,0.25);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.2s ease;
}
.prop-form-group input:focus,
.prop-form-group select:focus,
.prop-form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.prop-form-group textarea { resize: vertical; min-height: 80px; }

.prop-form-check {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14px;
  color: white;
  line-height: 1.5;
  margin: 0.6rem 0;
  padding: 14px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(224,164,88,0.4);
  border-radius: 8px;
  cursor: pointer;
}
/* Checkbox sicher sichtbar — eigenes Custom-Design statt Browser-Default */
.prop-form-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: inline-block;
  width: 22px;
  height: 22px;
  min-width: 22px;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid var(--gold);
  border-radius: 4px;
  background: rgba(255,255,255,0.12);
  position: relative;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.prop-form-check input[type="checkbox"]:hover {
  background: rgba(255,255,255,0.2);
  border-color: var(--gold-light, #f0bc7a);
}
.prop-form-check input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}
.prop-form-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px; top: 1px;
  width: 7px; height: 13px;
  border: solid var(--navy);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.prop-form-check input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.prop-form-check a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
}
.prop-form-check a:hover { color: var(--gold-light, #f0bc7a); }
.prop-form-check strong { color: white; font-weight: 700; }

.prop-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold);
  color: var(--navy);
  padding: 16px 28px;
  border: none;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 0.6rem;
  box-shadow: 0 4px 14px rgba(224,164,88,0.35);
  letter-spacing: 0.2px;
}
.prop-form-submit:hover {
  background: #d49645;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(224,164,88,0.5);
}

.prop-inquiry-success {
  text-align: center;
  padding: 1rem 0;
}
.prop-inquiry-success-icon {
  font-size: 48px;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.prop-inquiry-success h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 0.5rem;
}

/* Mobile-Anpassungen — kompaktere Schriftgrößen */
@media (max-width: 900px) {
  .property-detail { padding: 90px 1rem 3rem; }
  .prop-detail-title { font-size: clamp(24px, 6vw, 32px); }
  .prop-detail-price-num { font-size: 32px; }
  .prop-detail-price-label { font-size: 11px; }
  .prop-section-title { font-size: 20px; }
  .property-grid { grid-template-columns: 1fr; gap: 1.25rem; }

  /* Schriften zurück auf mobile-freundliche Größen */
  .prop-prose { font-size: 15px; line-height: 1.65; }
  .prop-prose h2 { font-size: 18px; }
  .prop-prose h3 { font-size: 16px; }
  .prop-prose-small { font-size: 13px; }
  .prop-prose-small h2,
  .prop-prose-small h3 { font-size: 14px; }
  .prop-form-group label { font-size: 11px; }
  .prop-form-group input,
  .prop-form-group select,
  .prop-form-group textarea { font-size: 15px; padding: 10px 12px; }
  .prop-form-check { font-size: 12px; padding: 10px 12px; }
  .prop-form-submit { font-size: 14px; padding: 13px 22px; }
  .prop-inquiry-intro .prop-inquiry-title { font-size: 24px; }
  .prop-inquiry-intro p { font-size: 14px; }
  .prop-inquiry-contact { padding: 1rem 1.1rem; gap: 14px; }
  .prop-inquiry-contact img { width: 60px; height: 60px; }
  .prop-inquiry-contact-name { font-size: 17px; }
  .prop-inquiry-contact-role { font-size: 12px; }
  .prop-inquiry-contact-tel { font-size: 14px; }

  .prop-inquiry-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .prop-inquiry-section {
    padding: 2rem 1.25rem;
  }
  .prop-contact-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .prop-contact-banner-actions {
    width: 100%;
  }
  .prop-contact-banner-tel,
  .prop-contact-banner-cta {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .property-references { grid-template-columns: repeat(2, 1fr); }
  .prop-form-row { grid-template-columns: 1fr; }
  .prop-features-grid { padding: 1rem; }
  .prop-distance-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* ═══ PRINT-STYLESHEET — saubere PDF/Druck-Darstellung ═══ */
@media print {
  /* Navigation, Footer, interaktive Elemente weg */
  nav, footer,
  .prop-gallery-arrow, .prop-gallery-zoom, .prop-gallery-counter,
  .prop-gallery-thumbs, .prop-lightbox,
  .prop-action-btn, .prop-detail-actions,
  .prop-contact-banner-actions,
  .prop-inquiry-section,
  .floating-action-buttons {
    display: none !important;
  }

  body { background: white; color: black; font-size: 11pt; }

  .property-detail {
    padding: 0;
    max-width: 100%;
  }

  .prop-detail-title {
    font-size: 22pt;
    color: #1B263B;
  }

  .prop-detail-price-num {
    font-size: 22pt;
    color: #1B263B;
    font-weight: 700;
  }
  .prop-detail-price-label {
    font-size: 9pt;
    color: #415A77;
  }

  /* Galerie: nur Hauptbild, klein */
  .prop-gallery-main {
    height: 240pt !important;
    max-height: 240pt;
    box-shadow: none !important;
    page-break-inside: avoid;
  }
  .prop-gallery-main img { object-fit: contain; }

  /* Eckdaten dunkel → in Print mit Border statt dunklem Hintergrund */
  .prop-eckdaten-wrapper {
    background: white !important;
    color: black !important;
    border: 1pt solid #1B263B;
    box-shadow: none !important;
    padding: 12pt 14pt;
    page-break-inside: avoid;
  }
  .prop-eckdaten-wrapper .prop-section-title { color: #1B263B; }
  .prop-fact { background: white !important; }
  .prop-fact-label { color: #B8862B !important; }
  .prop-fact-value { color: #1B263B !important; }

  /* Contact-Banner: weniger auffällig im Print */
  .prop-contact-banner {
    background: white !important;
    border: 1pt solid #ccc;
    color: black !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }
  .prop-contact-banner-name,
  .prop-contact-banner-role { color: #1B263B !important; }
  .prop-contact-banner-label { color: #B8862B !important; }

  /* Sektionen umbruchfreundlich */
  .prop-detail-section {
    page-break-inside: avoid;
    margin-bottom: 16pt;
  }
  .prop-section-title {
    font-size: 14pt;
    page-break-after: avoid;
  }

  .prop-prose {
    font-size: 10.5pt;
    color: black;
  }
  .prop-prose h2 { font-size: 13pt; color: #1B263B; }
  .prop-prose h3 { font-size: 12pt; color: #1B263B; }

  /* Features-Grid kompakter */
  .prop-features-grid {
    background: white !important;
    padding: 8pt;
    border: 1pt solid #ccc;
    page-break-inside: avoid;
  }

  /* Energieausweis-Box auch im Druck mit Box */
  .prop-energy-grid {
    background: white !important;
    border: 1pt solid #B8862B;
    page-break-inside: avoid;
  }

  /* URL / Quelle am Seitenende einblenden */
  .property-detail::after {
    content: "Aktiv Immobilien Service · www.aktiv-immobilien-service.de";
    display: block;
    font-size: 9pt;
    color: #888;
    text-align: center;
    margin-top: 16pt;
    padding-top: 8pt;
    border-top: 1pt solid #ccc;
  }

  /* Bild-Pfeile, Lightbox-Close usw. komplett aus dem Druckbild */
  a[href]::after { content: ""; }

  /* Page setup */
  @page {
    size: A4;
    margin: 1.2cm 1.5cm;
  }
}
