/* === Passend zu objekt.css - Konsistente Farben === */
:root {
  --primary-blue: #194b67;
  --primary-dark: #0f3549;
  --secondary-green: #28a745;
  --accent-gold: #f59e0b;
  --accent-red: #dc3545;
  --accent-gradient: linear-gradient(135deg, #2a7ae2 0%, #1e5bb8 100%);

  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #999999;

  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-gray: #e9ecef;
  --border-color: #dee2e6;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);

  --transition-base: 0.3s ease;
  --border-radius: 12px;
}

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

html,
body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-white);
}


/* === Hero Section - Mit Video-Fallback === */
.hero-section {
  margin-top: 70px;
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--accent-gradient);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  display: none;  /* Kein Overlay! */
}

.hero-title,
.hero-subtitle {
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.5),
    0 4px 8px rgba(0, 0, 0, 0.3),
    0 8px 16px rgba(0, 0, 0, 0.2);
}

.hero-content {
  position: relative;
  max-width: 900px;
  text-align: center;
  color: white;
  z-index: 10;
  padding: 0 24px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--accent-gold);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  margin-bottom: 35px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: white;
  color: var(--primary-blue);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: white;
}

.sound-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: var(--primary-blue);
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.sound-toggle:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.sound-toggle i {
  transition: transform 0.2s ease;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce 2s infinite;
}

/* === Properties Section === */
.properties-section {
  padding: 80px 24px;
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.properties-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

/* === Property Card - ALLE GLEICH GROSS === */
.property-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.property-image-container {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--bg-gray);
}

.property-slider {
  width: 100%;
  height: 100%;
}

.property-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.property-card:hover .property-slider img {
  transform: scale(1.05);
}

.property-badges {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  display: flex;
  gap: 8px;
  flex-direction: column;
  align-items: flex-end;
}

.badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

/* Badge Status Colors */
.badge-rented {
  background: rgba(220, 53, 69, 0.95);
  color: white;
}

.badge-available {
  background: rgba(40, 167, 69, 0.95);
  color: white;
}

.badge-featured {
  background: rgba(245, 158, 11, 0.95);
  color: white;
}

.badge-premium {
  background: var(--accent-gradient);
  color: white;
}

/* === MODERNE SWIPER NAVIGATION === */

/* ============================================ */
/* OPTION 5: ICON-ONLY (Ultra-Minimalistisch) */
/* ============================================ */
/* Nur kleine Icons, kein Hintergrund */

.swiper-button-next,
.swiper-button-prev {
  width: auto;
  height: auto;
  background: none;
  border: none;
  padding: 8px;
  transition: all 0.3s ease;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transform: scale(1.2);
}



/* === Property Content === */
.property-content {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-header {
  margin-bottom: 18px;
}

.property-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 14px;
}

.property-location i {
  color: var(--primary-blue);
}

.property-highlights {
  display: flex;
  gap: 15px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: var(--bg-light);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.highlight-item i {
  color: var(--primary-blue);
  font-size: 15px;
}

.property-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
  font-size: 15px;
}

.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-light);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.feature i {
  color: var(--secondary-green);
  font-size: 12px;
}

/* === Property Score === */
.property-score {
  margin-bottom: 20px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: 10px;
}

.score-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: block;
}

.score-bar {
  height: 8px;
  background: var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}

.score-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary-green), var(--primary-blue));
  border-radius: 10px;
  transition: width 1s ease-out;
}

.score-value {
  text-align: right;
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-blue);
}

/* === Property Actions === */
.property-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.btn-view {
  flex: 1;
  background: var(--primary-blue);
  color: white;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.btn-view:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-bookmark {
  width: 50px;
  background: var(--bg-light);
  color: var(--text-secondary);
  justify-content: center;
}

.btn-bookmark:hover {
  background: var(--border-color);
  color: var(--primary-blue);
}

/* === Property Details Expandable === */
.property-details-expandable {
  padding: 0 26px 26px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.property-details-expandable.expanded {
  max-height: 1000px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 10px;
}

.detail-group h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.detail-group h4 i {
  color: var(--primary-blue);
}

.detail-group ul {
  list-style: none;
}

.detail-group ul li {
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* === About Section === */
.about-section {
  padding: 80px 24px;
  background: white;
}

.about-container {
  max-width: 1280px;
  margin: 0 auto;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
}

.about-text h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
  padding: 30px;
  background: var(--bg-light);
  border-radius: var(--border-radius);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.about-contact-cta {
  background: var(--accent-gradient);
  padding: 30px;
  border-radius: var(--border-radius);
  color: white;
  margin-top: 30px;
}

.about-contact-cta h4 {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: 700;
}

.contact-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.contact-buttons .btn {
  background: white;
  color: var(--primary-blue);
  flex: 1;
  min-width: 200px;
  justify-content: center;
}

.contact-buttons .btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
}

.contact-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.feature-box {
  padding: 30px;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.feature-box:hover {
  border-color: var(--primary-blue);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon i {
  font-size: 26px;
  color: white;
}

.feature-box h4 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-box p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 15px;
}

/* === Tips Section === */
.tips-section {
  padding: 80px 24px;
  background: var(--bg-light);
}

.tips-container {
  max-width: 1280px;
  margin: 0 auto;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.tip-card {
  padding: 30px;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.tip-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.tip-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-gradient);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.tip-icon i {
  font-size: 26px;
  color: white;
}

.tip-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.tip-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 15px;
}

/* === Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* === Responsive === */
@media (max-width: 768px) {
.properties-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .sound-toggle {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }

  /* About Section Responsive */
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .contact-buttons .btn {
    width: 100%;
  }

  /* Hide email text on mobile, show only icon */
  .email-text {
    display: none;
  }

  .contact-phone span {
    display: none;
  }

}

@media (max-width: 480px) {
  .properties-section,
  .tips-section {
    padding: 50px 16px;
  }

  .property-content {
    padding: 20px;
  }
}

/* === Swiper: force overflow clip (v9+ uses .swiper, our HTML uses .swiper-container) === */
.swiper-container {
  overflow: hidden;
}

/* === Hero: mobile hybrid — hide video, show poster as background-image === */
@media (max-width: 768px) {
  .hero-video {
    display: none;
  }

  .hero-section {
    background-image: url('/bilder/hero-poster.avif');
    background-size: cover;
    background-position: center center;
  }
}

/* === Hero: Low Power Mode JS fallback === */
.hero-section.hero-video-fallback {
  background-image: url('/bilder/hero-poster.avif');
  background-size: cover;
  background-position: center center;
}

/* === Mobile: reduce section whitespace === */
@media (max-width: 768px) {
  section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  h2 {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }
}

/* === Property card: secondary CTA === */
.btn-secondary-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-gold);
  text-decoration: none;
  border: 1px solid rgba(245, 158, 11, 0.3);
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-secondary-cta:hover {
  background: rgba(245, 158, 11, 0.2);
  color: #fff;
  border-color: rgba(245, 158, 11, 0.6);
}

/* === Waitlist CTA section === */
.bw-waitlist-cta {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: #0d1f3c;
  color: #fff;
  margin: 3rem auto;
  max-width: 760px;
  border-radius: 14px;
}

.bw-waitlist-cta h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.bw-waitlist-cta p {
  opacity: 0.78;
  margin-bottom: 1.4rem;
  font-size: 15px;
}

/* ============================================================
   PROPERTY CARDS — Conversion-Redesign
   ============================================================ */

/* --- Badges --- */
.badge-available {
  background: rgba(16, 185, 129, 0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.badge-rented {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  font-weight: 500;
  border-radius: 4px;
  padding: 4px 10px;
}

/* --- Price Block (right after header) --- */
.property-price-block {
  padding: 12px 0 8px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 12px;
}

.price-main {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.price-per-person {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* --- Score inline (next to price) --- */
.score-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.score-label-inline {
  font-size: 12px;
  color: var(--text-secondary);
}

.score-val-inline {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-blue);
}

/* --- CTA Buttons --- */

/* Primary: Jetzt bewerben (available property) */
.btn-apply {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--accent-gold);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease;
  flex: 1;
  justify-content: center;
}

.btn-apply:hover {
  background: #d97706;
  transform: translateY(-1px);
}

/* Ghost secondary: Details ansehen (on available property) */
.btn-details-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: transparent;
  color: var(--primary-blue);
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: 1.5px solid var(--primary-blue);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  flex: 1;
  justify-content: center;
}

.btn-details-ghost:hover {
  background: var(--primary-blue);
  color: #fff;
}

/* Ghost secondary: Ähnliches anfragen (on rented property) */
.btn-secondary-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.btn-secondary-ghost:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* Availability highlight-item */
.highlight-item.highlight-avail span {
  color: rgb(16, 185, 129);
  font-weight: 700;
}
