/*
Theme Name: Property-Theme
Theme URI: https://uix-agentur.de
Description: Professionelles Immobilien-Theme für exklusive Präsentationen. Entwickelt von UIX Agentur.
Author: UIX Agentur
Author URI: https://uix-agentur.de
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: property-theme
*/

/* ============================================
   CSS VARIABLES
============================================ */

:root {
  --color-primary: #1e3a5f;
  --color-secondary: #c9a961;
  --color-background: #fafaf9;
  --color-foreground: #0a0a0a;
  --color-muted: #f5f5f4;
  --color-muted-foreground: #737373;
  --color-border: #e7e5e4;
  --color-accent: #78716c;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-mono: "JetBrains Mono", monospace;
  --radius: 0.75rem;
}

/* ============================================
   RESET & BASE STYLES
============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   CONTAINER
============================================ */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.whitecontain {
  background-color: white;
}

/* ============================================
   NAVIGATION
============================================ */

.property-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.property-nav {
  padding: 1rem 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo .logo-text {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo .custom-logo-link {
  display: flex;
  align-items: center;
}

.nav-logo img {
  max-height: 50px;
  width: auto;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--color-muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.25rem;
}

.nav-menu {
  flex: 1;
  display: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.nav-links li {
  margin: 0;
}

/* Menüpunkte in Headline-Schrift und größer */
.nav-links a {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--color-foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-primary);
}

/* CTA Button Styles entfernt da nicht mehr benötigt */

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  position: relative;
}

.mobile-menu-toggle span {
  width: 1.5rem;
  height: 2px;
  background-color: var(--color-primary);
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  width: 100%;
  max-width: 500px;
  padding: 2rem;
}

.mobile-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-nav-links li {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.mobile-menu-overlay.active .mobile-nav-links li {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(2) {
  transition-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(3) {
  transition-delay: 0.3s;
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(4) {
  transition-delay: 0.4s;
}

.mobile-nav-links a {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: white;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
}

.mobile-nav-links a:hover {
  color: var(--color-secondary);
  transform: scale(1.05);
}

@media (min-width: 1024px) {
  .nav-menu {
    display: block;
  }
  .mobile-menu-toggle {
    display: none;
  }
  .mobile-menu-overlay {
    display: none;
  }
}

/* ============================================
   BUTTONS
============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background-color: #152d4a;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(30, 58, 95, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
}

.btn-full {
  width: 100%;
  padding: 1rem 1.5rem;
  gap: 0.5rem;
}

/* ============================================
   PAGE LAYOUT
============================================ */

.property-page {
  padding-top: 46px;
}

/* ============================================
   HERO SECTION
============================================ */

/* Hero Section mit Overlay, zentriertem Titel und Video Support */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-media-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* YouTube Video Styles */
.ytp-title,
.ytp-chrome-top {
  display: none !important;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  /* Berechnung für 16:9 Videos um Container immer zu füllen */
  width: 177.77vh; /* 16/9 = 1.778 */
  height: 56.25vw; /* 9/16 = 0.5625 */
  pointer-events: none;
  z-index: 1;
}

/* Dezenter schwarzer Overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* Zentrierter Titel Container */
.hero-content-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  width: 90%;
  max-width: 1200px;
}

/* Zentrierter großer Titel */
.hero-title-center {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 400;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0;
}

@media (min-width: 768px) {
  .hero-title-center {
    font-size: 5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title-center {
    font-size: 6.5rem;
  }
}

/* Alte Hero Styles entfernt/überschrieben */
.hero-content {
  display: none;
}

/* YouTube Video Loading Overlay - versteckt den Titel beim Laden */
.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 2;
  opacity: 1;
  transition: opacity 1s ease-out;
  pointer-events: none;
}

.hero-video-overlay.fade-out {
  opacity: 0;
}
/* ============================================
   SECTION STYLES
============================================ */

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--color-muted);
  color: var(--color-primary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--color-primary);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.section-title em {
  font-style: italic;
  color: var(--color-secondary);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3.5rem;
  }
}

/* ============================================
   DESCRIPTION SECTION
============================================ */

/* Neue Property Overview Section mit 2-Spalten Layout */
.property-overview-section {
  padding: 6rem 0;
  background-color: white;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .overview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
}

/* Linke Spalte: Beschreibung */
.overview-description {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.property-main-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--color-primary);
  letter-spacing: 0.02em;
  line-height: 1.1;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .property-main-title {
    font-size: 3rem;
  }
}

.description-content {
  position: relative;
}

.description-text {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-muted-foreground);
  text-align: justify;
  max-height: 400px;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.description-text.expanded {
  max-height: none;
}

.description-text p {
  margin-bottom: 1.5rem;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  background: transparent;
  color: var(--color-muted-foreground);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  color: var(--color-primary);
}

.read-more-btn svg {
  transition: transform 0.3s ease;
}

.read-more-btn.expanded svg {
  transform: rotate(180deg);
}

/* Rechte Spalte: Objektdetails */
.overview-details {
  /* Von 2 Spalten auf 3 Spalten für aufgeräumteres Layout (3x2 statt 2x3) */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-content: start;
}

.detail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) / 2);
  transition: all 0.3s ease;
}

.detail-item:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.detail-item-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.detail-item-icon svg {
  width: 100%;
  height: 100%;
}

.detail-item-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.detail-item-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--color-muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.detail-item-value {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-foreground);
}

/* Preis Box */
.price-box {
  grid-column: 1 / -1;
  display: flex;
  /* Horizontal statt vertikal für kompaktere Darstellung */
  flex-direction: row;
  /* Baseline alignment für unten bündige Ausrichtung von Label und Betrag */
  align-items: baseline;
  /* Zentrierter Inhalt */
  justify-content: center;
  /* Reduzierte Gap und Padding für niedrigere Box */
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  background-color: var(--color-primary);
  color: white;
  border-radius: calc(var(--radius) / 2);
  margin-top: 1rem;
}

.price-box-label {
  /* Kleinere Schriftgröße für Label */
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-box-amount {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .price-box-amount {
    font-size: 2.5rem;
  }
}

.description-section {
  padding: 6rem 0;
  background-color: white;
}

.description-content {
  margin: 0 auto;
  text-align: center;
}

.description-text {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-muted-foreground);
  text-align: left;
}

.description-text p {
  margin-bottom: 1.5rem;
}

/* ============================================
   GALLERY SECTION
============================================ */

.gallery-section {
  padding: 6rem 0;
  background-color: var(--color-background);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  background-color: white;
  color: var(--color-foreground);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--color-muted);
  transition: all 0.3s ease;
}

.gallery-item.hidden {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   DETAILS SECTION
============================================ */

.details-section {
  padding: 6rem 0;
  background-color: white;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.detail-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background-color: var(--color-background);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.detail-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.detail-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: calc(var(--radius) - 2px);
  color: var(--color-primary);
}

.detail-icon svg {
  width: 24px;
  height: 24px;
}

.detail-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-foreground);
}

@media (min-width: 768px) {
  .details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .details-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   FEATURES SECTION
============================================ */

.features-section {
  padding: 6rem 0;
  background-color: var(--color-background);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 3rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background-color: white;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.feature-item:hover {
  border-color: var(--color-secondary);
}

.feature-item svg {
  flex-shrink: 0;
  color: var(--color-secondary);
  width: 20px;
  height: 20px;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   FLOORPLANS SECTION (SLIDER)
============================================ */

/* Neue Floorplans Section mit Slider */
.floorplans-section {
  padding: 6rem 0;
  background-color: white;
}

.floorplan-slider-wrapper {
  position: relative;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.floorplan-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--color-muted);
}

.floorplan-slide {
  display: none;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.floorplan-slide.active {
  display: block;
  opacity: 1;
}

.floorplan-image {
  width: 100%;
  height: auto;
  display: block;
  max-height: 700px;
  object-fit: contain;
  background-color: white;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--color-border);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.slider-nav:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: 1rem;
}

.slider-next {
  right: 1rem;
}

.slider-nav svg {
  width: 24px;
  height: 24px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-border);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dot:hover,
.slider-dot.active {
  background-color: var(--color-primary);
  transform: scale(1.2);
}

@media (min-width: 768px) {
  .slider-nav {
    width: 56px;
    height: 56px;
  }

  .slider-prev {
    left: 2rem;
  }

  .slider-next {
    right: 2rem;
  }
}

/* ============================================
   LOCATION SECTION
============================================ */

/* Lage-Section auf 100% Breite ohne Container, Titel und Beschreibung entfernt */
.location-section {
  padding: 0;
  background-color: white;
  width: 100%;
}

.location-section iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}

@media (min-width: 768px) {
  .location-section iframe {
    height: 600px;
  }
}
/* ============================================
   CONTACT SECTION
============================================ */

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background-color: var(--color-background);
}

/* Zweispaltiges Layout: Links Kontaktdaten, Rechts Formular */
.contact-two-column-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

@media (max-width: 991px) {
  .contact-two-column-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Linke Spalte mit Kontaktdaten und Bild unten rechts */
.contact-info-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  min-height: 100%;
}

.contact-info-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-description {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-muted-foreground);
  margin-bottom: 0;
}

.contact-person-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

.contact-person-details h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-primary);
  margin: 0;
  line-height: 1.2;
}

.person-phone,
.person-email {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-foreground);
  margin: 0;
}

.person-phone svg,
.person-email svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

/* WhatsApp Button */
.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  margin-top: 0.5rem;
  background-color: #25d366;
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  align-self: flex-start;
}

.whatsapp-button:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Bild unten rechts ohne Abschneiden */
.contact-person-image-bottom {
  align-self: flex-end;
  width: 60%;
  max-width: 350px;
}

@media (max-width: 991px) {
  .contact-person-image-bottom {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 2rem auto 0 auto;
    order: 0;
  }

  .contact-info-column {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
  }

  .contact-info-content {
    order: -1;
  }

  .contact-two-column-layout {
    gap: 0;
  }
}

.person-image-large {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.person-image-placeholder-large {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-muted);
  color: var(--color-muted-foreground);
}

/* Rechte Spalte: Formular mit dunklem Hintergrund */
.contact-form-column {
  background-color: var(--color-primary);
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
}

@media (max-width: 767px) {
  .contact-form-column {
    padding: 2rem 1.5rem;
    min-height: 400px;
  }
}

/* Formular Styles */
.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: white;
  margin-bottom: 1rem;
  text-align: center;
}

.form-subtitle {
  font-family: var(--font-sans);
}

/* Ergänze vollständige Formular-Styles */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label{
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-foreground);
  background-color: white;
  border: 2px solid transparent;
  border-radius: calc(var(--radius) / 2);
  transition: all 0.3s ease;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.btn.btn-primary.btn-full{
  padding: 1rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  border-radius: calc(var(--radius) / 2);
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn.btn-primary.btn-full:hover {
  background-color: #b89551;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(201, 169, 97, 0.3);
}

.submit-button svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   FOOTER
============================================ */

.property-footer {
  padding: 3rem 0;
  background-color: var(--color-primary);
  color: white;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.property-footer p {
  margin: 0;
  opacity: 0.8;
}


/* Mobile Responsive Fixes für Property Overview Section */

/* 1. Grid auf mobile Geräte anpassen */
.overview-details {
  grid-template-columns: repeat(2, 1fr); /* Standard: 2 Spalten statt 3 */
  gap: 1rem;
}

@media (min-width: 768px) {
  .overview-details {
    grid-template-columns: repeat(3, 1fr); /* Desktop: 3 Spalten */
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .overview-details {
    
  }
}

/* 2. Overflow-Probleme beheben */
.detail-item,
.detail-item-value,
.property-main-title,
.price-box,
.price-box-amount {
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* 3. Section Overflow verhindern */
.property-overview-section {
  overflow-x: hidden;
}

/* 4. Preis-Box auf mobile anpassen */
@media (max-width: 480px) {
  .price-box {
    flex-direction: column;
    padding: 1rem 1.5rem;
  }
  
  .price-box-amount {
    font-size: 1.5rem;
  }
}