/* ========================================
   MK Immobilien - Design System
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@600;700;800&display=swap');

/* CSS Variables */
:root {
/* ====================================================
   AVORESTA BRAND COLORS — Single Source of Truth
   ====================================================
   Primärfarbe (Kobaltblau):  #0047AB
   Primär dunkel:             #003380
   Primär hell:               #1a5fc9
   Gold / Akzent:             #d4a853
   Überschriften / Titel:     #0f172a  (--gray-900)
   Fließtext:                 #334155  (--gray-700)
   ==================================================== */

  /* Kobaltblau Palette */
  --primary: #0047AB;
  --primary-dark: #003380;
  --primary-light: #1a5fc9;
  --primary-glow: rgba(0, 71, 171, 0.15);

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Accent */
  --gold: #d4a853;
  --gold-light: #f0d78c;
  --success: #10b981;
  --error: #ef4444;

  /* Typography */
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Spacing */
  --section-padding: 60px 0;
  --container-width: min(90vw, 85rem);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition: all 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* Container */
.container {
  width: var(--container-width);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 48px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 71, 171, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 71, 171, 0.5);
}

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

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

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--gray-900);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 168, 83, 0.4);
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

/* ── Top-Bar ── immer sichtbar, auch beim Scrollen */
.header-topbar {
  background: var(--primary-dark);
}

.header-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  padding: 8px 0;
}

.header-topbar-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.88);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.header-topbar-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

.header-topbar-item:hover {
  color: var(--white);
}

.header .nav {
  padding: 10px 0;
  transition: padding 0.3s ease;
}

.header.scrolled .nav {
  padding: 6px 0;
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header .logo img {
  height: 105px !important;
  max-height: none !important;
  margin: -15px 0 !important;
  object-fit: contain;
  position: relative;
  z-index: 1001;
  transition: all 0.3s ease !important;
}

.header.scrolled .logo img {
  height: 75px !important;
  margin: -10px 0 !important;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 28px;
  height: 3px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  padding-top: 152px; /* 118px Header + 34px Kartenabstand */
  padding-bottom: 52px;
  background: var(--gray-50);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 1.12;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.hero-text h1 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 22px;
  max-width: 42ch;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.badge-check {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--white);
  border: 1.5px solid rgba(212, 168, 83, 0.70);
  border-radius: 50px;
  padding: 8px 18px;
  box-shadow: var(--shadow-sm);
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-visual {
  display: flex;
  align-items: center;
}

.hero-visual picture {
  display: block;
  width: 100%;
}

.hero-image {
  width: 100%;
  aspect-ratio: 5 / 3;
  max-height: 460px;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow-xl);
  display: block;
}

/* ========================================
   Services Section
   ======================================== */
.services {
  padding: var(--section-padding);
  background: var(--gray-50);
}

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

.section-header p {
  color: var(--gray-500);
  margin-top: 16px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  padding: 48px 36px;
  background: var(--white);
  border-radius: 16px;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.service-card h3 {
  margin-bottom: 14px;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.service-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.service-card p {
  color: var(--gray-500);
  line-height: 1.7;
}

/* ========================================
   Properties Section
   ======================================== */
.properties {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(16px, 2vw, 32px);
}

/* Slider-Modus (aktiv ab > 3 Objekten) */
.properties-grid.is-slider {
  display: block;
  overflow: hidden;
  padding: 4px;
}

.properties-track {
  display: flex;
  gap: clamp(16px, 2vw, 32px);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.properties-grid.is-slider .property-card {
  flex: 0 0 calc((100% - 2 * clamp(16px, 2vw, 32px)) / 3);
  min-width: 0;
}

@media (max-width: 1024px) {
  .properties-grid.is-slider .property-card {
    flex-basis: calc((100% - clamp(16px, 2vw, 32px)) / 2);
  }
}

@media (max-width: 768px) {
  .properties-grid.is-slider .property-card {
    flex-basis: 100%;
  }
}

.properties-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.slider-btn:hover:not(:disabled) {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.slider-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

.slider-dot:hover {
  background: var(--primary);
}

.property-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.property-image {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.property-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: var(--gold);
  color: var(--gray-900);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.property-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.property-title {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-bottom: 16px;
  margin-top: auto;
}

.property-features {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
  overflow: visible;
}

.feature {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--gray-700);
  font-size: clamp(0.72rem, 0.68rem + 0.16vw, 0.8rem);
  background: var(--gray-50);
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  font-weight: 500;
  white-space: nowrap;
  min-width: 0;
  max-width: 100%;
}

.feature svg {
  flex-shrink: 0;
}

/* ========================================
   About Section
   ======================================== */
.about {
  padding: var(--section-padding);
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  height: 500px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-portrait {
  width: 420px;
  height: 420px;
  object-fit: contain;
  background: white;
  border-radius: 50%;
  padding: 50px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}

.experience-badge {
  display: none !important; /* Ausgeblendet bis ein richtiges Bild eingesetzt wird */
  position: absolute;
  bottom: -20px;
  right: 40px;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--gray-900);
  padding: 18px 27px;
  border-radius: 15px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), inset 0 2px 0 rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.experience-badge .number {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 3px;
}

.experience-badge .text {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

.about-text h2 {
  margin-bottom: 24px;
}

.about-text p {
  color: var(--gray-600);
  margin-bottom: 24px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-text .about-feature p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.about-feature strong {
  font-size: 1.05rem;
  display: block;
  margin-bottom: 2px;
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(212, 168, 83, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

/* ========================================
   Valuation Section
   ======================================== */
.valuation {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
}

.valuation h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.valuation p {
  opacity: 0.9;
  max-width: 50ch;
  margin: 0 auto 40px;
}

.valuation-form {
  display: flex;
  gap: 16px;
  max-width: 50ch;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.valuation-form input,
.valuation-form select {
  flex: 1;
  min-width: 200px;
  padding: 16px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-body);
}

.valuation-form .btn {
  min-width: 200px;
}

/* ========================================
   New Valuation CTA
   ======================================== */
.valuation-cta {
  padding: var(--section-padding);
  background: var(--white);
  text-align: center;
}

.valuation-cta h2 {
  margin-bottom: 24px;
}

.valuation-cta p {
  color: var(--gray-600);
  max-width: 60ch;
  margin: 0 auto 30px;
}

/* ========================================
   About Blue Modifiers
   ======================================== */
.about.about-blue {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.about.about-blue .about-text h2 {
  color: var(--white);
}

.about.about-blue .about-text p {
  color: rgba(255, 255, 255, 0.9);
}

.about.about-blue .about-feature strong {
  color: var(--white);
}

.about.about-blue .about-feature p {
  color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
  padding: var(--section-padding);
  background: var(--gray-50);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-info h2 {
  margin-bottom: 24px;
}

.contact-info p {
  color: var(--gray-600);
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: var(--white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
}

.contact-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 500;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

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

.form-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--gray-600);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
}

.checkbox-label a {
  color: var(--primary);
  text-decoration: underline;
}

.checkbox-label a:hover {
  color: var(--primary-dark);
}

.contact-item a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--primary);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 48px 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 32px;
  align-items: stretch;
}

.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}

.footer-brand .logo {
  color: var(--white);
  flex-shrink: 0;
  line-height: 0;
}

.footer-brand .logo img {
  display: block;
  height: 88px;
  width: auto;
  object-fit: contain;
}

.footer-brand .logo-icon {
  background: var(--primary);
}

.footer-brand p {
  max-width: 28ch;
  line-height: 1.65;
  margin: 0;
  font-size: 0.9rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin: 0 0 16px;
  line-height: 1.2;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--primary);
}

.footer-contact a {
  color: var(--gray-400);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--gray-800);
  font-size: 0.875rem;
  gap: 16px;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}

.footer-legal-links a {
  color: var(--gray-400);
  transition: var(--transition);
}

.footer-legal-links a:hover {
  color: var(--white);
}

/* ========================================
   Modal
   ======================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal {
  background: var(--white);
  border-radius: 24px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.25rem;
}

.modal-close {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--gray-100);
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.25rem;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--gray-200);
}

.modal-body {
  padding: 32px;
}

.modal-form {
  display: grid;
  gap: 20px;
}

.modal-section {
  margin-bottom: 24px;
}

.modal-section h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-glow);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-group input {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
}

.checkbox-group label {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* Radio Group */
.radio-group {
  display: flex;
  gap: 24px;
  margin-top: 8px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.9375rem;
  color: var(--gray-700);
}

.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

/* Phone Input */
.phone-input {
  display: flex;
  gap: 8px;
}

.country-select {
  width: 100px;
  padding: 14px 12px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  font-size: 0.9375rem;
  background: var(--white);
  cursor: pointer;
}

.phone-input input {
  flex: 1;
}

/* Message Toggle */
.message-toggle {
  color: var(--gray-700);
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
}

.message-toggle:hover {
  color: var(--primary);
}

.hidden-message {
  display: none;
  margin-top: 12px;
}

.hidden-message.visible {
  display: block;
}

/* Info Icon */
.info-icon {
  margin-left: 8px;
  color: var(--gray-400);
  cursor: help;
  font-size: 0.875rem;
}

.legal-hero {
  text-align: left;
  padding: 60px 0 32px;
  max-width: 800px;
  margin: 0 auto;
  border-bottom: 2px solid var(--gray-900);
}

.legal-hero h1 {
  margin-bottom: 8px;
  color: var(--gray-900);
  font-size: clamp(2.25rem, 4vw, 3rem);
}

.legal-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem) !important;
  color: var(--gray-500) !important;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.legal-section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-200);
}

.legal-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.legal-section h2 {
  font-size: 1.25rem;
  color: var(--gray-900);
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-weight: 700;
}

.legal-section h3 {
  font-size: 1.05rem;
  color: var(--gray-800);
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

.legal-section p {
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 8px;
  font-size: 0.9375rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.legal-section a:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary-dark);
}

.legal-section ul,
.legal-section ol {
  color: var(--gray-600);
  line-height: 1.75;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.9375rem;
}

.header-scrolled {
  box-shadow: var(--shadow-md);
}
.header-scrolled .nav {
  padding: 6px 0;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text p {
    margin: 0 auto 32px;
    max-width: 52ch;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual {
    align-self: auto;
  }

  .hero-image {
    height: clamp(260px, 50vw, 400px);
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .legal-content {
    padding: 36px 32px;
  }
}

@media (max-width: 768px) {
  .header-topbar {
    display: none;
  }

  .hero {
    padding-top: 80px;
    padding-bottom: 48px;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 32px;
    gap: 24px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    transition: var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: flex;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }

  .footer-brand {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .footer-brand p {
    margin: 0 auto;
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-contact {
    align-items: center;
  }

  .footer-contact li {
    justify-content: center;
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .legal-content {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .legal-hero {
    padding: 40px 0 36px;
  }

  .legal-section {
    margin-bottom: 28px;
    padding-bottom: 28px;
  }

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

  .contact-form-wrapper {
    padding: 24px;
    box-shadow: var(--shadow-md);
  }

  .nav {
    justify-content: center;
    position: relative;
  }

  .mobile-toggle {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
  }

  .stats-card {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin: -30px auto 30px;
    width: 90%;
    flex-direction: column;
    gap: 16px;
    padding: 20px 30px;
  }

  .footer-col {
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .valuation-form {
    flex-direction: column;
  }

  .valuation-form input,
  .valuation-form select {
    width: 100%;
  }
}

/* =======================================
   PROPERTY GALLERY & LIGHTBOX
   ======================================= */
.property-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 15px;
  border-radius: 20px;
  margin-bottom: 25px;
  height: 500px;
}

.gallery-main {
  position: relative;
  cursor: pointer;
  height: 100%;
  min-height: 0;
  border-radius: 20px 0 0 20px;
  overflow: hidden;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 100%;
  min-height: 0;
}

.gallery-thumb {
  flex: 1;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  min-height: 0;
}
.property-gallery .gallery-thumb:first-child { border-radius: 0 20px 0 0; }
.property-gallery .gallery-thumb:last-child { border-radius: 0 0 20px 0; }

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

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

.gallery-more {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 51, 102, 0.4);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.gallery-thumb:hover .gallery-more {
  opacity: 1;
}

@media (max-width: 992px) {
  .property-gallery {
    grid-template-columns: 1fr;
    height: auto;
  }
  .gallery-main { height: 350px; border-radius: 20px; }
  .gallery-thumbs { display: none; }
}

/* Lightbox Overlay */
.lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 50px;
  cursor: pointer;
  z-index: 10000;
  line-height: 1;
}

.lightbox-counter {
  position: absolute;
  top: 30px;
  left: 30px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  z-index: 10000;
}

.lightbox-content {
  position: relative;
  width: 90%;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 50px;
  cursor: pointer;
  padding: 20px;
  user-select: none;
  transition: color 0.2s;
}
.lightbox-prev:hover, .lightbox-next:hover { color: var(--accent); }
.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

@media (max-width: 768px) {
  .lightbox-prev { left: -10px; }
  .lightbox-next { right: -10px; }
}

/* ========================================
   Legal Pages (Impressum, Datenschutz)
   ======================================== */
.legal-page { padding-top: 130px; padding-bottom: 80px; background: var(--gray-50); min-height: calc(100vh - 350px); }

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 24px;
  padding: 40px clamp(24px, 5vw, 64px) 64px;
  box-shadow: var(--shadow-lg);
}

/* IT-Recht Kanzlei Embed Styling */
.itrk-legaltext {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--gray-700);
}

/* Main title from the embed */
.itrk-legaltext > h1:first-child {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--gray-900);
  text-align: left;
  margin-bottom: 40px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-200);
  line-height: 1.3;
}

.itrk-legaltext h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-top: 48px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-200);
  line-height: 1.3;
}

.itrk-legaltext h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--primary);
  margin-top: 40px;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 4px solid var(--gold);
  line-height: 1.35;
}

.itrk-legaltext h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--gray-800);
  margin-top: 28px;
  margin-bottom: 10px;
  line-height: 1.35;
}

.itrk-legaltext h4,
.itrk-legaltext h5,
.itrk-legaltext h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--gray-800);
  margin-top: 20px;
  margin-bottom: 8px;
}

.itrk-legaltext p {
  margin-bottom: 14px;
  color: var(--gray-700);
}

.itrk-legaltext ul,
.itrk-legaltext ol {
  margin-bottom: 16px;
  padding-left: 28px;
}

.itrk-legaltext li {
  margin-bottom: 6px;
  color: var(--gray-700);
}

.itrk-legaltext li::marker {
  color: var(--primary);
}

.itrk-legaltext a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.itrk-legaltext a:hover {
  color: var(--primary-dark);
}

.itrk-legaltext strong,
.itrk-legaltext b {
  font-weight: 600;
  color: var(--gray-800);
}

.itrk-legaltext table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
}

.itrk-legaltext th,
.itrk-legaltext td {
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  text-align: left;
  font-size: 0.9375rem;
}

.itrk-legaltext th {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  border-color: var(--primary-dark);
}

.itrk-legaltext hr {
  border: none;
  height: 1px;
  background: var(--gray-200);
  margin: 32px 0;
}

@media (max-width: 768px) {
  .legal-content {
    border-radius: 16px;
    padding: 24px 20px;
  }
}

/* =======================================
   PROPERTY DETAIL PAGE V2
   ======================================= */

/* --- Base Layout --- */
.property-detail {
  padding-top: 140px;
  padding-bottom: 80px;
}

.property-detail-header {
  margin-bottom: 30px;
}

/* --- Gallery Full Width --- */
.property-gallery-full {
  width: 100%;
  height: 60vh;
  min-height: 400px;
  max-height: 700px;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  grid-template-rows: 1fr;
  gap: 12px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.gallery-photo-count {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}

.gallery-photo-count:hover {
  background: rgba(0, 0, 0, 0.85);
}

.gallery-photo-count svg {
  flex-shrink: 0;
}

.gallery-counter {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
  z-index: 5;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, opacity 0.2s;
  opacity: 0;
}

.property-gallery-full:hover .gallery-arrow {
  opacity: 1;
}

.gallery-arrow:hover {
  background: rgba(0, 0, 0, 0.75);
}

.gallery-arrow-left {
  left: 16px;
}

.gallery-arrow-right {
  right: 16px;
}

.gallery-main {
  overflow: hidden;
}

.gallery-slider {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.35s ease;
}

.gallery-slider img {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Key-Facts Leiste (unter dem Bild) --- */
.property-hero-info {
  margin-bottom: 10px;
}

.property-hero-info .property-location-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.property-hero-info h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.property-hero-info .property-hero-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 10px;
}

.property-keyfacts {
  display: flex;
  gap: 0;
  margin-top: 20px;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
}

.keyfact-item {
  flex: 1;
  padding: 20px 24px;
  text-align: center;
  border-right: 1px solid var(--gray-200);
}

.keyfact-item:last-child {
  border-right: none;
}

.keyfact-value {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-900);
  display: block;
  margin-bottom: 4px;
}

.keyfact-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* --- Tab Navigation (Sticky) --- */
.property-tabs {
  position: sticky;
  top: 80px;
  z-index: 50;
  background: var(--white);
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 40px;
  transition: top 0.3s ease;
}

.property-tabs .container {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.property-tabs .container::-webkit-scrollbar {
  display: none;
}

.tab-link {
  padding: 16px 28px;
  color: var(--gray-500);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  margin-bottom: -2px;
}

.tab-link:hover {
  color: var(--primary);
}

.tab-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* --- Content Grid (2-spaltig) --- */
.property-content-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 50px;
}

/* --- Sektionen --- */
.property-section {
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--gray-200);
}

.property-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.property-section h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--gray-900);
  font-family: var(--font-heading);
}

.property-section p {
  color: var(--gray-600);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 15px;
}

.property-story {
  color: var(--gray-700);
}

.property-story-lead {
  font-size: 1.12rem;
  line-height: 1.85;
  color: var(--gray-700);
  margin-bottom: 22px;
}

.property-story-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 30px;
}

.story-highlight {
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 16px 18px;
  background: var(--gray-50);
}

.story-highlight strong {
  display: block;
  color: var(--gray-900);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.story-highlight span {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.story-block {
  padding: 22px 0 24px 22px;
  border-left: 3px solid var(--gold);
}

.story-block + .story-block {
  border-top: 1px solid var(--gray-200);
}

.story-block h3 {
  color: var(--gray-900);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.story-block p {
  margin-bottom: 0;
}

.story-block ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--gray-600);
  line-height: 1.65;
}

.story-block li::marker {
  color: var(--primary);
}

.story-conclusion {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: var(--white);
  color: var(--gray-700);
  line-height: 1.75;
}

@media (max-width: 768px) {
  .property-story-highlights {
    grid-template-columns: 1fr;
  }

  .story-block {
    padding-left: 16px;
  }
}

/* --- Highlights / Pills (Übersicht) --- */
.highlights-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.2s;
}

.highlight-pill svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

/* --- Details Grid (Key-Value Paare) --- */
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-200);
}

.detail-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.detail-item:nth-child(4n+1),
.detail-item:nth-child(4n+2) {
  background: var(--gray-50);
}

.detail-label {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.detail-value {
  font-weight: 600;
  color: var(--gray-900);
  font-size: 0.95rem;
  text-align: right;
}

/* --- Provision Info --- */
.provision-info {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--gray-50);
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Ausstattung Liste --- */
.ausstattung-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.ausstattung-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.ausstattung-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

/* --- Grundriss Sektion --- */
.grundriss-section img {
  max-width: 100%;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s;
  box-shadow: var(--shadow-md);
}

.grundriss-section img:hover {
  transform: scale(1.01);
}

/* --- Sidebar (kompakt) --- */
.property-sidebar .sidebar-sticky {
  position: sticky;
  top: 160px; /* wird per JS dynamisch überschrieben */
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.sidebar-preview img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.sidebar-body {
  padding: 24px;
}

.sidebar-body h3 {
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.sidebar-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.sidebar-facts {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.sidebar-cta {
  width: 100%;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 16px;
  font-size: 1rem;
  margin-bottom: 20px;
}

.sidebar-broker {
  padding: 20px;
  background: var(--gray-50);
  border-radius: 12px;
}

.sidebar-broker .broker-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-400);
  margin-bottom: 8px;
  font-weight: 600;
}

.sidebar-broker .broker-company {
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.sidebar-broker .broker-detail {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 2px;
}

.sidebar-broker a {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
}

.sidebar-broker a:hover {
  text-decoration: underline;
}

/* --- CTA-Banner am Seitenende --- */
.property-bottom-cta {
  text-align: center;
  padding: 50px 30px;
  margin-top: 30px;
  background: var(--gray-50);
  border-radius: 20px;
  border: 1px solid var(--gray-200);
}

.property-bottom-cta h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.property-bottom-cta p {
  color: var(--gray-500);
  margin-bottom: 24px;
  font-size: 1rem;
}

/* --- Kontakt Modal --- */
.contact-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-modal-backdrop.active {
  display: flex;
  opacity: 1;
}

.contact-modal {
  background: var(--white);
  border-radius: 20px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  position: relative;
}

.contact-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--gray-400);
  cursor: pointer;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.contact-modal-close:hover {
  background: var(--gray-100);
  color: var(--gray-700);
}

.contact-modal-left {
  background: var(--gray-50);
  padding: 40px 30px;
  border-radius: 20px 0 0 20px;
}

.contact-modal-left img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.contact-modal-left h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--gray-900);
  line-height: 1.3;
}

.contact-modal-left .modal-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.contact-modal-left .modal-facts {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 24px;
  line-height: 1.6;
}

.contact-modal-left .modal-broker {
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}

.contact-modal-left .modal-broker-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-400);
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-modal-left .modal-broker-name {
  font-weight: 700;
  color: var(--gray-900);
}

.contact-modal-left .modal-broker-detail {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.contact-modal-right {
  padding: 40px 35px;
}

.contact-modal-right h2 {
  font-size: 1.5rem;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.contact-modal-right .modal-subtitle {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.contact-modal-right .form-group-modal {
  margin-bottom: 16px;
}

.contact-modal-right .form-group-modal label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.9rem;
}

.contact-modal-right .form-group-modal input,
.contact-modal-right .form-group-modal textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.contact-modal-right .form-group-modal input:focus,
.contact-modal-right .form-group-modal textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 71, 171, 0.1);
}

.contact-modal-right .form-group-modal textarea {
  height: 80px;
  resize: vertical;
}

.contact-modal-right .privacy-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-modal-right .privacy-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  cursor: pointer;
  flex-shrink: 0;
}

.contact-modal-right .privacy-row label {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.4;
  font-weight: 400;
}

.contact-modal-right .privacy-row a {
  color: var(--primary);
  text-decoration: underline;
}

/* --- Property Detail Responsive --- */
@media (max-width: 992px) {
  .property-detail {
    padding-top: 120px;
  }

  .property-gallery-full {
    grid-template-columns: 1fr;
    height: auto;
  }

  .property-gallery-full .gallery-main {
    min-height: 300px;
    border-radius: 12px;
  }

  .property-gallery-full .gallery-thumbs {
    display: none;
  }

  .property-content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .property-sidebar {
    order: -1;
  }

  .property-sidebar .sidebar-sticky {
    position: static;
  }

  .property-tabs {
    top: 70px;
  }

  .contact-modal {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .contact-modal-left {
    display: none;
  }

  .contact-modal-right {
    border-radius: 20px;
  }
}

@media (max-width: 768px) {
  .property-detail {
    padding-top: 100px;
  }

  .property-keyfacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .keyfact-item {
    padding: 14px 16px;
  }

  .keyfact-item:nth-child(1),
  .keyfact-item:nth-child(2) {
    border-bottom: 1px solid var(--gray-200);
  }

  .keyfact-item:nth-child(2n) {
    border-right: none;
  }

  .keyfact-value {
    font-size: 1.1rem;
  }

  .tab-link {
    padding: 12px 18px;
    font-size: 0.85rem;
  }

  .property-tabs {
    top: 60px;
  }

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

  .detail-item:nth-last-child(1) {
    border-bottom: none;
  }

  .detail-item:nth-child(odd) {
    background: var(--gray-50);
  }

  .detail-item:nth-child(even) {
    background: var(--white);
  }

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

  .property-hero-info .property-hero-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .contact-modal {
    width: 95%;
    max-height: 95vh;
  }

  .contact-modal-right {
    padding: 24px 20px;
  }
}
/* Fix for modal broker link color */
.modal-broker-detail a { color: var(--primary); text-decoration: none; transition: color 0.2s ease; }
.modal-broker-detail a:hover { color: var(--primary-dark); text-decoration: underline; }

/* --- Kompakte Darstellung auf Bildschirmen mit geringer Höhe (Laptops ~768px, nicht Handy) --- */
@media (max-height: 800px) and (min-width: 1024px) {
  .sidebar-preview img {
    height: 130px;
  }
  .sidebar-body {
    padding: 16px;
  }
  .sidebar-price {
    font-size: 1.3rem;
    margin-bottom: 4px;
  }
  .sidebar-facts {
    margin-bottom: 12px;
  }
  .sidebar-cta {
    padding: 12px;
    margin-bottom: 14px;
  }
  .sidebar-broker {
    padding: 14px;
  }

  .contact-modal-left {
    padding: 24px 20px;
  }
  .contact-modal-left img {
    height: 130px;
    margin-bottom: 14px;
  }
  .contact-modal-right {
    padding: 24px 28px;
  }
  .contact-modal-right .modal-subtitle {
    margin-bottom: 14px;
  }
  .contact-modal-right .form-group-modal {
    margin-bottom: 10px;
  }
  .contact-modal-right .form-group-modal textarea {
    height: 60px;
  }
  .contact-modal-right .privacy-row {
    margin-bottom: 12px;
  }
}

/* ========================================
   Scroll-Animations (aus script.js verschoben)
   ======================================== */
.service-card,
.property-card,
.about-feature {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.service-card.animate-in,
.property-card.animate-in,
.about-feature.animate-in {
  opacity: 1;
  transform: translateY(0);
}
.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.2s; }
.service-card:nth-child(4) { transition-delay: 0.3s; }
.service-card:nth-child(5) { transition-delay: 0.4s; }
.property-card:nth-child(2) { transition-delay: 0.15s; }
.property-card:nth-child(3) { transition-delay: 0.3s; }

/* ========================================
   Notifications (aus script.js verschoben)
   ======================================== */
.notification {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 3000;
  animation: notificationSlideIn 0.3s ease;
}
@keyframes notificationSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
.notification-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  max-width: 400px;
}
.notification-success .notification-content { border-left: 4px solid #10b981; }
.notification-error   .notification-content { border-left: 4px solid #ef4444; }
.notification-icon    { font-size: 1.25rem; }
.notification-message {
  flex: 1;
  font-size: 0.9375rem;
  color: #334155;
}
.notification-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
}
.notification-close:hover { color: #475569; }


/* ========================================
   Chalet-Card im Hero (Startseite)
   – klickbare Vorankündigung
   ======================================== */
.hero-visual.chalet-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 20px;
  display: block;
}

.hero-visual.chalet-card .hero-image.chalet-hero {
  object-position: center 78%;
}

.hero-visual.chalet-card .cs-badge-top {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  background: linear-gradient(135deg, #d4a853 0%, #f0d78c 100%);
  color: #0f172a;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 16px rgba(212,168,83,0.5);
  animation: csBadgePulse 2.5s ease-in-out infinite;
}

@keyframes csBadgePulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(212,168,83,0.4); }
  50%      { box-shadow: 0 4px 28px rgba(212,168,83,0.7); }
}

.hero-visual.chalet-card .cs-badge-top .pulse-dot {
  width: 7px;
  height: 7px;
  background: #8b6914;
  border-radius: 50%;
  animation: csDotPulse 1.5s ease-in-out infinite;
}

@keyframes csDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.6); }
}

.hero-visual.chalet-card .cs-bottom-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 0 0 20px 20px;
  background: linear-gradient(0deg,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.78) 35%,
    rgba(0,0,0,0.45) 70%,
    transparent 100%);
  padding: 70px 24px 22px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: background 0.4s ease;
}

.hero-visual.chalet-card:hover .cs-bottom-overlay {
  background: linear-gradient(0deg,
    rgba(0,0,0,0.95) 0%,
    rgba(0,0,0,0.85) 35%,
    rgba(0,0,0,0.55) 70%,
    transparent 100%);
}

.hero-visual.chalet-card .cs-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  background: linear-gradient(135deg, #f0d78c 0%, #d4a853 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}

.hero-visual.chalet-card .cs-subtitle {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.92);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
  margin-bottom: 14px;
}

.hero-visual.chalet-card .cs-details-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: linear-gradient(135deg, #d4a853 0%, #f0d78c 100%);
  color: #0f172a;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(212,168,83,0.3);
}

.hero-visual.chalet-card:hover .cs-details-btn {
  transform: translateY(-1px);
  box-shadow: 0 5px 20px rgba(212,168,83,0.5);
}

.hero-visual.chalet-card .cs-details-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.hero-visual.chalet-card:hover .cs-details-btn svg {
  transform: translateX(3px);
}


/* ========================================
   Vorankündigungsseite – Chalet
   ======================================== */
.hero-chalet {
  padding: 130px 0 50px;
  background: var(--gray-50);
  color: #fff;
  position: relative;
}

.hero-chalet-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  height: 520px;
  max-width: 1280px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15,23,42,0.18);
  position: relative;
  z-index: 1;
}

/* === Bildseite === */
.hero-chalet-image {
  position: relative;
  overflow: hidden;
  background: #000;
}

.hero-chalet-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
}

.hero-chalet-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 75%, rgba(15,26,50,0.6) 100%);
  pointer-events: none;
}

.hero-chalet-image-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  background: linear-gradient(135deg, #d4a853 0%, #f0d78c 100%);
  color: #0f172a;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  box-shadow: 0 4px 14px rgba(15,23,42,0.25);
}

.hero-chalet-image-badge .pulse-dot {
  width: 6px;
  height: 6px;
  background: #8b6914;
  border-radius: 50%;
}

/* === Inhaltsseite === */
.hero-chalet-info {
  display: flex;
  align-items: center;
  padding: 40px 48px;
  background: linear-gradient(180deg, #0a1224 0%, #0f1a32 100%);
  position: relative;
}

.hero-chalet-info-inner {
  max-width: 460px;
}

.hero-chalet-eyebrow {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #d4a853;
  margin-bottom: 16px;
  position: relative;
  padding-left: 32px;
}

.hero-chalet-eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 1px;
  background: #d4a853;
}

.hero-chalet-info h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  color: #fff;
}

.hero-chalet-info h1 span {
  display: inline-block;
  background: linear-gradient(135deg, #f0d78c 0%, #d4a853 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
  font-weight: 700;
}

.hero-chalet-subtitle {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  margin-bottom: 24px;
  max-width: 420px;
}

/* Meta-Daten */
.hero-chalet-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 0 26px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.hero-chalet-meta > div {
  padding: 0 14px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.hero-chalet-meta > div:first-child { padding-left: 0; }
.hero-chalet-meta > div:last-child  { border-right: none; }

.hero-chalet-meta dt {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}

.hero-chalet-meta dd {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: 0.01em;
}

/* Aktionen */
.hero-chalet-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.hero-chalet-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #d4a853 0%, #f0d78c 100%);
  color: #0f172a;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 24px rgba(212,168,83,0.35);
}

.hero-chalet-cta svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.hero-chalet-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212,168,83,0.55);
}

.hero-chalet-cta:hover svg {
  transform: translateX(4px);
}

.hero-chalet-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.hero-chalet-link:hover {
  color: #f0d78c;
}

/* === Responsive === */
@media (max-width: 1280px) {
  .hero-chalet-grid {
    margin: 0 24px;
  }
}

@media (max-width: 1024px) {
  .hero-chalet { padding: 110px 0 40px; }

  .hero-chalet-grid {
    grid-template-columns: 1fr;
    height: auto;
    margin: 0 16px;
  }

  .hero-chalet-image {
    height: 44vw;
    max-height: 380px;
    min-height: 240px;
  }

  .hero-chalet-image::after {
    background: linear-gradient(0deg, #0a1224 0%, transparent 35%);
  }

  .hero-chalet-info {
    padding: 36px 32px;
  }
}

@media (max-width: 600px) {
  .hero-chalet { padding: 100px 0 30px; }

  .hero-chalet-grid { margin: 0 12px; }

  .hero-chalet-image-badge {
    top: 14px;
    left: 14px;
    padding: 6px 12px;
    font-size: 0.6rem;
  }

  .hero-chalet-info { padding: 28px 22px; }

  .hero-chalet-meta {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 0;
  }

  .hero-chalet-meta > div {
    padding: 0;
    border-right: none;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }

  .hero-chalet-meta dt { margin-bottom: 0; }

  .hero-chalet-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .hero-chalet-cta { justify-content: center; }
  .hero-chalet-link { text-align: center; }
}

/* ========================================
   Chalet Karussell
   ======================================== */
.chalet-carousel-section {
  padding: 80px 0 60px;
  background: var(--gray-50);
}

.chalet-carousel-section .section-header h2 {
  color: var(--gray-900);
}

.chalet-carousel-section .section-header p {
  color: var(--gray-600);
}

.chalet-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  aspect-ratio: 16 / 9;
}

.chalet-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.chalet-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.chalet-carousel-slide.active {
  opacity: 1;
}

.chalet-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Coming Soon Watermark on slides */
.chalet-carousel-slide::after {
  content: 'COMING SOON';
  position: absolute;
  bottom: 20px;
  right: 20px;
  padding: 6px 16px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 50px;
  border: 1px solid rgba(212,168,83,0.3);
}

/* Carousel Navigation Dots */
.chalet-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.chalet-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(15,23,42,0.18);
  border: 2px solid rgba(15,23,42,0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.chalet-dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.2);
  box-shadow: 0 0 12px rgba(212,168,83,0.5);
}

.chalet-dot:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* Progress Bar */
.chalet-carousel-progress {
  max-width: 900px;
  margin: 16px auto 0;
  height: 3px;
  background: rgba(15,23,42,0.08);
  border-radius: 3px;
  overflow: hidden;
}

.chalet-carousel-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 3px;
  width: 0%;
  animation: carouselProgress 5s linear infinite;
}

@keyframes carouselProgress {
  from { width: 0%; }
  to { width: 100%; }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
  .hero-chalet-inner {
    min-height: 380px;
    max-height: 480px;
  }

  .hero-chalet-content {
    padding: 32px 24px;
    margin: 0 16px;
  }

  .hero-chalet-features {
    gap: 16px;
  }

  .chalet-carousel-section {
    padding: 60px 0 40px;
  }

  .chalet-carousel-slide::after {
    bottom: 12px;
    right: 12px;
    font-size: 0.6rem;
    padding: 4px 12px;
  }
}

@media (max-width: 480px) {
  .hero-chalet-content {
    padding: 24px 18px;
  }

  .hero-chalet-features {
    gap: 12px;
  }

  .hero-chalet-feature .feat-icon {
    font-size: 1.2rem;
  }
}

