
/*
╔══════════════════════════════════════════════════════════════╗
║  EPE HOMEPAGE CSS STRUCTURE — DO NOT DELETE SECTIONS        ║
╠══════════════════════════════════════════════════════════════╣
║  CORE:        ── SCROLLBAR through ── ANIMATIONS            ║
║  LPD-DETAIL:  ▼▼▼ BEGIN:LPD-DETAIL  ...  END:LPD-DETAIL    ║
║  ATLAS:       ▼▼▼ BEGIN:ATLAS-TEASER ... END:ATLAS-TEASER   ║
╚══════════════════════════════════════════════════════════════╝
*/

:root {
  --gold: #C9A96E;
  --gold-light: #E8D5A3;
  --gold-dark: #A07840;
  --navy: #2C3556;
  --navy-dark: #2a4070;
  --navy-deeper: #1e3260;
  --cream: #F8F5EF;
  --white: #FFFFFF;
  --text-light: rgba(255,255,255,0.7);
  --text-muted: rgba(255,255,255,0.4);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--navy-deeper);
  color: var(--white);
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--navy-deeper); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 2px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 24px 60px;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.4s ease;
}
nav.scrolled {
  background: rgba(15,21,37,0.95);
  backdrop-filter: blur(12px);
  padding: 16px 60px;
  border-bottom: 1px solid rgba(201,169,110,0.15);
}
.nav-logo {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
}
.nav-logo-epe {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 300; letter-spacing: 6px;
  color: var(--gold); line-height: 1;
}
.nav-logo-sub {
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-light); font-weight: 300; line-height: 1.6;
  border-left: 1px solid rgba(201,169,110,0.3);
  padding-left: 14px;
}
.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a {
  text-decoration: none; color: var(--text-light);
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 400; transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--gold); transform: scaleX(0);
  transition: transform 0.3s; transform-origin: left;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-lang {
  display: flex; gap: 6px;
}
.nav-lang button {
  background: none; border: none; color: var(--text-muted);
  font-size: 10px; letter-spacing: 1px; cursor: pointer;
  font-family: 'Montserrat', sans-serif; padding: 4px 6px;
  transition: color 0.3s; text-transform: uppercase;
}
.nav-lang button.active { color: var(--gold); }

/* ── HERO ── */
.hero {
  position: relative; height: 92vh; min-height: 620px;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
/* ── HERO BG WITH REAL IMAGE ── */
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/hero-bg-2.jpg') center 35% / cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,21,37,0.55) 0%,
    rgba(26,32,56,0.40) 40%,
    rgba(15,21,37,0.45) 100%
  );
}
/* Decorative geometric lines */
.hero-lines {
  position: absolute; inset: 0; overflow: hidden;
}
.hero-lines::before {
  content: '';
  position: absolute; right: -100px; top: -100px;
  width: 700px; height: 700px;
  border: 1px solid rgba(201,169,110,0.06);
  border-radius: 50%;
  animation: rotateSlow 40s linear infinite;
}
.hero-lines::after {
  content: '';
  position: absolute; right: 50px; top: 50px;
  width: 500px; height: 500px;
  border: 1px solid rgba(201,169,110,0.04);
  border-radius: 50%;
  animation: rotateSlow 30s linear infinite reverse;
}
@keyframes rotateSlow { to { transform: rotate(360deg); } }

.hero-content {
  position: relative; z-index: 2;
  padding: 100px 60px 40px;
  max-width: 800px;
  animation: heroFadeUp 1.2s ease forwards;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  font-size: 10px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
  display: flex; align-items: center; gap: 16px;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 40px; height: 1px; background: var(--gold);
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 300; line-height: 1.05;
  margin-bottom: 28px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-title em {
  font-style: italic; color: var(--gold);
}
.hero-subtitle {
  font-size: 13px; letter-spacing: 1px; line-height: 1.8;
  color: var(--text-light); max-width: 480px; margin-bottom: 48px;
  font-weight: 300;
}
.hero-cta {
  display: flex; gap: 20px; flex-wrap: wrap;
}
.btn-primary {
  display: inline-block; padding: 16px 40px;
  background: var(--gold); color: var(--navy-deeper);
  text-decoration: none; font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase; font-weight: 600;
  transition: all 0.3s; border: 1px solid var(--gold);
}
.btn-primary:hover {
  background: transparent; color: var(--gold);
}
.btn-outline {
  display: inline-block; padding: 16px 40px;
  background: transparent; color: var(--white);
  text-decoration: none; font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase; font-weight: 400;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.3s;
}
.btn-outline:hover {
  border-color: var(--gold); color: var(--gold);
}
.hero-scroll {
  position: absolute; right: 60px; bottom: 80px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  animation: heroFadeUp 1.5s ease 0.3s both;
}
.hero-scroll span {
  font-size: 9px; letter-spacing: 3px; color: var(--text-muted);
  text-transform: uppercase; writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px; height: 60px; background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--navy);
  border-top: 1px solid rgba(201,169,110,0.15);
  border-bottom: 1px solid rgba(201,169,110,0.15);
  padding: 40px 60px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px; font-weight: 300; color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-light); margin-top: 8px; font-weight: 400;
}

/* ── SECTION HEADER ── */
.section-header {
  text-align: center; margin-bottom: 64px;
}
.section-eyebrow {
  font-size: 9px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: ''; display: block; width: 30px; height: 1px; background: var(--gold-dark);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px); font-weight: 300;
  line-height: 1.1;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-sub {
  font-size: 12px; color: var(--text-light); margin-top: 16px;
  letter-spacing: 0.5px; line-height: 1.8; max-width: 500px; margin-inline: auto;
  font-weight: 300;
}

/* ── SERVICES ── */
.services {
  padding: 100px 60px;
  background: #1e3260;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.service-card {
  background: var(--navy);
  padding: 52px 40px;
  position: relative; overflow: hidden;
  transition: all 0.4s ease;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); transform: scaleX(0);
  transition: transform 0.4s ease; transform-origin: left;
}
.service-card:hover { background: #1e2a4a; }
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px; font-weight: 300; color: rgba(201,169,110,0.45);
  position: absolute; top: 20px; right: 30px; line-height: 1;
  transition: color 0.4s;
}
.service-card:hover .service-num { color: rgba(201,169,110,0.65); }
.service-icon { font-size: 28px; margin-bottom: 24px; }
.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 400; margin-bottom: 16px;
  color: var(--white);
}
.service-text {
  font-size: 12px; line-height: 1.9; color: var(--text-light);
  font-weight: 300;
}
.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 28px; color: var(--gold); font-size: 10px;
  letter-spacing: 2px; text-transform: uppercase; text-decoration: none;
  transition: gap 0.3s;
}
.service-link:hover { gap: 14px; }
.service-link::after { content: '→'; }

/* ── ABOUT ── */
.about {
  padding: 100px 60px;
  background: var(--navy);
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-photo-frame {
  width: 100%; aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--navy-dark) 0%, #2C3556 100%);
  position: relative; overflow: hidden;
}
.about-photo-frame::before {
  content: 'R.E.';
  font-family: 'Cormorant Garamond', serif;
  font-size: 120px; font-weight: 300; color: rgba(201,169,110,0.06);
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  white-space: nowrap;
}
.about-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px;
}
.about-photo-placeholder .icon { font-size: 64px; opacity: 0.3; }
.about-photo-placeholder p {
  font-size: 11px; letter-spacing: 2px; color: rgba(255,255,255,0.2);
  text-transform: uppercase;
}
.about-frame-deco {
  position: absolute; top: -20px; left: -20px; right: 20px; bottom: 20px;
  border: 1px solid rgba(201,169,110,0.2); pointer-events: none;
  z-index: -1;
}
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--gold); color: var(--navy-deeper);
  padding: 20px 24px; text-align: center;
}
.about-badge-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px; font-weight: 300; line-height: 1;
}
.about-badge-text {
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600; margin-top: 4px;
}
.about-content {}
.about-intro {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 300; font-style: italic;
  color: var(--gold-light); line-height: 1.6; margin-bottom: 32px;
}
.about-text {
  font-size: 12px; line-height: 2; color: var(--text-light);
  font-weight: 300; margin-bottom: 16px;
}
.about-values {
  margin-top: 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.about-value {
  padding: 20px;
  border: 1px solid rgba(201,169,110,0.15);
}
.about-value-title {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px; font-weight: 500;
}
.about-value-text {
  font-size: 11px; color: var(--text-light); line-height: 1.6; font-weight: 300;
}
.about-signature {
  margin-top: 40px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-style: italic; color: var(--gold);
  border-top: 1px solid rgba(201,169,110,0.2);
  padding-top: 24px;
}
.about-signature span {
  display: block; font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-style: normal; letter-spacing: 2px;
  color: var(--text-muted); text-transform: uppercase; margin-top: 6px;
}

/* ── PROPERTY MANAGEMENT ── */
.pm-section {
  padding: 100px 60px;
  background: linear-gradient(135deg, var(--navy-deeper) 0%, #2a4070 100%);
  position: relative; overflow: hidden;
}
.pm-section::before {
  content: 'PM';
  font-family: 'Cormorant Garamond', serif;
  font-size: 300px; font-weight: 300;
  color: rgba(201,169,110,0.03);
  position: absolute; right: -40px; top: 50%;
  transform: translateY(-50%);
  line-height: 1; pointer-events: none;
}
.pm-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.pm-services {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 40px;
}
.pm-service {
  padding: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,169,110,0.1);
  transition: border-color 0.3s;
}
.pm-service:hover { border-color: rgba(201,169,110,0.3); }
.pm-service-icon { font-size: 24px; margin-bottom: 12px; }
.pm-service-title {
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px; font-weight: 500;
}
.pm-service-text {
  font-size: 11px; color: var(--text-light); line-height: 1.6; font-weight: 300;
}
.pm-visual {
  position: relative;
}
.pm-mockup {
  background: var(--navy);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 2px; overflow: hidden;
}
.pm-mockup-header {
  background: var(--navy-dark);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid rgba(201,169,110,0.1);
}
.pm-mockup-dot { width: 8px; height: 8px; border-radius: 50%; }
.pm-mockup-title {
  font-size: 10px; letter-spacing: 2px; color: var(--gold);
  text-transform: uppercase; margin-left: 8px;
}
.pm-mockup-body { padding: 24px; }
.pm-mockup-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 11px;
}
.pm-mockup-row:last-child { border-bottom: none; }
.pm-mockup-label { color: var(--text-muted); }
.pm-mockup-val { color: var(--white); }
.pm-mockup-status {
  font-size: 9px; padding: 3px 8px; border-radius: 20px;
  letter-spacing: 1px; text-transform: uppercase;
}
.status-ok { background: rgba(90,138,106,0.2); color: #6aba8a; }
.status-pending { background: rgba(201,169,110,0.15); color: var(--gold); }

/* ── PROPERTIES PREVIEW ── */
.properties-section {
  padding: 100px 60px;
  background: var(--navy-deeper);
}
.properties-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  margin-bottom: 48px;
}
.property-card {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4; cursor: pointer;
  background: var(--navy);
}
.property-card-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: saturate(1.1) contrast(1.05);
}
.property-card:hover .property-card-bg { transform: scale(1.05); filter: saturate(1.15) contrast(1.05); }
.property-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(5,12,24,0.85) 0%,
    rgba(5,12,24,0.4) 40%,
    transparent 70%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.property-card-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; color: var(--gold); font-weight: 400;
  margin-bottom: 6px;
}
.property-card-title {
  font-size: 14px; font-weight: 300; margin-bottom: 4px;
}
.property-card-location {
  font-size: 10px; letter-spacing: 1px; color: var(--text-muted); text-transform: uppercase;
}
.property-card-tags {
  display: flex; gap: 8px; margin-top: 12px;
}
.property-tag {
  font-size: 9px; padding: 3px 8px;
  border: 1px solid rgba(201,169,110,0.3); color: var(--gold-light);
  letter-spacing: 1px; text-transform: uppercase;
}
.property-card-num {
  position: absolute; top: 20px; right: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px; color: rgba(255,255,255,0.3);
}

/* ── CONTACT ── */
.contact-section {
  padding: 100px 60px;
  background: var(--navy);
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
}
.contact-info {}
.contact-intro {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-style: italic; color: var(--gold-light);
  line-height: 1.7; margin-bottom: 40px; font-weight: 300;
}
.contact-item {
  display: flex; gap: 20px; align-items: flex-start;
  margin-bottom: 28px; padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.contact-item:last-child { border-bottom: none; }
.contact-item-icon { font-size: 18px; opacity: 0.7; flex-shrink: 0; margin-top: 2px; }
.contact-item-label {
  font-size: 9px; letter-spacing: 2px; color: var(--gold);
  text-transform: uppercase; margin-bottom: 5px;
}
.contact-item-val {
  font-size: 13px; color: var(--white); font-weight: 300;
}
.contact-item-val a {
  color: var(--white); text-decoration: none; transition: color 0.3s;
}
.contact-item-val a:hover { color: var(--gold); }
.contact-form {}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 9px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1); color: var(--white);
  padding: 14px 16px; font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 300;
  outline: none; transition: border-color 0.3s;
  appearance: none; -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-group select option { background: var(--navy-dark); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%; padding: 16px;
  background: var(--gold); color: var(--navy-deeper);
  border: none; font-family: 'Montserrat', sans-serif;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  font-weight: 600; cursor: pointer; transition: all 0.3s;
  margin-top: 8px;
}
.form-submit:hover { background: var(--gold-dark); }

/* ── FOOTER ── */
footer {
  background: var(--navy-deeper);
  border-top: 1px solid rgba(201,169,110,0.1);
  padding: 40px 60px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 300; letter-spacing: 4px; color: var(--gold);
}
.footer-copy {
  font-size: 10px; color: var(--text-muted); letter-spacing: 1px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 10px; letter-spacing: 1px; color: var(--text-muted);
  text-decoration: none; text-transform: uppercase; transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }

/* ── DIVIDER ── */
.gold-divider {
  width: 60px; height: 1px; background: var(--gold); margin: 0 auto 20px;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav { padding: 20px 24px; }
  nav.scrolled { padding: 14px 24px; }
  .nav-links { display: none; }
  .hero-content { padding: 60px 24px 30px; }
  .hero-title { font-size: clamp(36px, 8vw, 56px) !important; margin-bottom: 16px; }
  .hero-subtitle { font-size: 12px; margin-bottom: 28px; }
  .btn-primary, .btn-outline { padding: 12px 22px !important; font-size: 9px !important; letter-spacing: 2px !important; }
  .hero-cta { gap: 10px; }
  .hero-scroll { display: none; }
  .stats-bar { grid-template-columns: repeat(2,1fr); padding: 40px 24px; gap: 24px; }
  .services { padding: 60px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .about { padding: 60px 24px; grid-template-columns: 1fr; gap: 40px; }
  .pm-section { padding: 60px 24px; }
  .pm-grid { grid-template-columns: 1fr; gap: 40px; }
  .pm-services { grid-template-columns: 1fr 1fr; }
  .properties-section { padding: 60px 24px; }
  .properties-grid { grid-template-columns: 1fr; }
  .contact-section { padding: 60px 24px; grid-template-columns: 1fr; gap: 40px; }
  footer { padding: 30px 24px; flex-direction: column; gap: 16px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ── HERO HIGHLIGHTS ── */
.hero-highlights {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  display: grid; grid-template-columns: repeat(3,1fr);
  border-top: 1px solid rgba(201,169,110,0.4);
}
.hero-highlight {
  display: flex; align-items: center; gap: 20px;
  padding: 28px 40px;
  background: rgba(26,32,52,0.82);
  backdrop-filter: blur(12px);
  cursor: pointer; transition: background 0.3s;
  border-right: 1px solid rgba(201,169,110,0.1);
}
.hero-highlight:last-child { border-right: none; }
.hero-highlight:hover { background: rgba(36,44,68,0.95); }
.hero-highlight-img {
  width: 80px; height: 80px; border-radius: 4px;
  flex-shrink: 0; border: 1px solid rgba(201,169,110,0.25);
}
.hero-highlight-price {
  font-family: 'Cormorant Garamond',serif;
  font-size: 20px; color: var(--gold); font-weight: 400;
}
.hero-highlight-title {
  font-size: 13px; color: var(--white); margin: 4px 0; font-weight: 300;
}
.hero-highlight-loc {
  font-size: 11px; color: rgba(255,255,255,0.55); letter-spacing: 0.5px;
}
@media (max-width: 768px) {
  .hero-highlights {
    position: relative;
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .hero-highlights::-webkit-scrollbar { display: none; }
  .hero-highlight {
    min-width: 85vw; scroll-snap-align: start;
    border-right: 1px solid rgba(201,169,110,0.1);
    border-bottom: none; padding: 16px 20px;
  }
  .hero-highlight-img { width: 56px; height: 56px; }
  /* padding handled by main 768px rule */
}
.search-bar {
  background: var(--navy); border: 1px solid rgba(201,169,110,0.2);
  padding: 18px 24px; border-radius: 2px;
}
.search-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.search-field label { display:block; font-size:9px; letter-spacing:2px; text-transform:uppercase; color:var(--gold); margin-bottom:6px; }
.search-field input, .search-field select {
  width: 100%; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12); color: var(--white);
  padding: 9px 12px; font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 300; outline: none;
  transition: border-color 0.2s; appearance: none; -webkit-appearance: none;
  border-radius: 0;
}
.search-field input:focus, .search-field select:focus { border-color: var(--gold); }
.search-field select option { background: var(--navy-dark); }
.search-field input::placeholder { color: rgba(255,255,255,0.25); }
.search-typ-tag { display:inline-block; padding:5px 12px; border-radius:20px; font-size:11px; border:1px solid rgba(255,255,255,0.15); color:rgba(255,255,255,0.6); cursor:pointer; transition:all 0.2s; background:transparent; user-select:none; }
.search-typ-tag.active { background:var(--gold); color:var(--navy-deeper); border-color:var(--gold); font-weight:500; }
.search-typ-tag:hover:not(.active) { border-color:rgba(201,169,110,0.5); color:var(--gold); }
.ort-suggest-item { padding:9px 14px; font-size:12px; color:rgba(255,255,255,0.8); cursor:pointer; border-bottom:1px solid rgba(255,255,255,0.05); }
.ort-suggest-item:hover { background:rgba(201,169,110,0.1); color:var(--gold); }
@media (max-width: 768px) {
  .search-grid { grid-template-columns: 1fr 1fr; }
}

/* ── PROPERTY DETAIL ── */
.pd-slider { position: relative; width: 100%; height: 320px; overflow: hidden; background: var(--navy-dark); border-radius: 2px; margin-bottom: 24px; }
.pd-slider img { width: 100%; height: 100%; object-fit: cover; }
.pd-info-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin: 24px 0; }
.pd-info-item { background: var(--navy); padding: 16px; text-align: center; border: 1px solid rgba(201,169,110,0.1); }
.pd-info-val { font-family: 'Cormorant Garamond',serif; font-size: 22px; color: var(--gold); }
.pd-info-lbl { font-size: 9px; letter-spacing: 1px; color: var(--text-muted); text-transform: uppercase; margin-top: 4px; }
.pd-features { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.pd-feature { background: rgba(201,169,110,0.1); border: 1px solid rgba(201,169,110,0.2); color: var(--gold-light); padding: 5px 12px; font-size: 11px; }
.pd-section-title { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 8px; margin: 24px 0 12px; }
/* duplicate .property-card-bg removed */

/* ── ABOUT PHOTO ── */
.about-photo-frame {
  width: 100%; aspect-ratio: 3/4;
  background: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=600&q=80') center/cover no-repeat;
  position: relative; overflow: hidden;
}
.about-photo-frame::before { display: none; }
.about-photo-placeholder { display: none; }

/* ── LIFESTYLE / INSIDER SECTION ── */
.lifestyle-section {
  padding: 100px 60px;
  background: var(--navy);
  position: relative; overflow: hidden;
}
.lifestyle-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 2px;
  margin-top: 48px;
}
.lifestyle-card {
  background: var(--navy-dark);
  overflow: hidden; cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
}
.lifestyle-card:hover { transform: translateY(-4px); }
.lifestyle-card-img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
  background: linear-gradient(135deg, #2a4070, #2C3556);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}
.lifestyle-card:hover .lifestyle-card-img { transform: scale(1.04); }
.lifestyle-card-body { padding: 24px; }
.lifestyle-card-cat {
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px; font-weight: 500;
}
.lifestyle-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 400; line-height: 1.3;
  margin-bottom: 10px; color: var(--white);
}
.lifestyle-card-text {
  font-size: 11px; color: var(--text-light);
  line-height: 1.8; font-weight: 300; margin-bottom: 16px;
}
.lifestyle-card-link {
  font-size: 10px; letter-spacing: 2px; color: var(--gold);
  text-transform: uppercase; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.3s;
}
.lifestyle-card-link:hover { gap: 12px; }
.lifestyle-card-link::after { content: '→'; }
.lifestyle-coming {
  position: absolute; top: 16px; right: 16px;
  background: rgba(201,169,110,0.15); color: var(--gold);
  font-size: 9px; letter-spacing: 2px; padding: 4px 10px;
  text-transform: uppercase; border: 1px solid rgba(201,169,110,0.3);
}
@media (max-width: 768px) {
  .lifestyle-section { padding: 60px 24px; }
  .lifestyle-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ── YOUTUBE SECTION ── */
.youtube-section {
  padding: 100px 60px;
  background: var(--navy-deeper);
  position: relative; overflow: hidden;
}
.youtube-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 50%, rgba(201,169,110,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.youtube-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 48px;
}
.youtube-card {
  position: relative; overflow: hidden; cursor: pointer;
  background: var(--navy);
  transition: transform 0.3s ease;
}
.youtube-card:hover { transform: translateY(-4px); }
.youtube-thumb {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy-dark), #2C3556);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.youtube-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.youtube-card:hover .youtube-thumb img { transform: scale(1.05); }
.youtube-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.2);
  transition: background 0.3s;
}
.youtube-card:hover .youtube-play { background: rgba(0,0,0,0.4); }
.youtube-play-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--gold); display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--navy-deeper);
  box-shadow: 0 4px 20px rgba(201,169,110,0.4);
  transition: transform 0.3s;
}
.youtube-card:hover .youtube-play-btn { transform: scale(1.1); }
.youtube-info { padding: 16px; }
.youtube-label {
  font-size: 9px; letter-spacing: 2px; color: var(--gold);
  text-transform: uppercase; margin-bottom: 6px;
}
.youtube-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; font-weight: 400; line-height: 1.4;
  margin-bottom: 6px;
}
.youtube-meta {
  font-size: 10px; color: var(--text-muted); letter-spacing: 0.5px;
}
.youtube-placeholder {
  width: 100%; aspect-ratio: 16/9;
  background: var(--navy-dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; border: 1px dashed rgba(201,169,110,0.2);
}
.youtube-placeholder p { font-size: 11px; color: var(--text-muted); letter-spacing: 1px; }
.youtube-channel {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-top: 40px;
}
.youtube-subscribe {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; background: #FF0000; color: #fff;
  text-decoration: none; font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 600; transition: all 0.3s;
  font-family: 'Montserrat', sans-serif;
}
.youtube-subscribe:hover { background: #cc0000; }

/* ── SOCIAL SECTION ── */
.social-section {
  padding: 60px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.social-left {}
.social-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 300; margin-bottom: 6px;
}
.social-title em { font-style: italic; color: var(--gold); }
.social-sub { font-size: 11px; color: var(--text-light); letter-spacing: 0.5px; font-weight: 300; }
.social-links { display: flex; gap: 12px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; text-decoration: none;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 500; transition: all 0.3s; font-family: 'Montserrat', sans-serif;
  border: 1px solid;
}
.social-btn-insta {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff; border-color: transparent;
}
.social-btn-insta:hover { opacity: 0.85; }
.social-btn-wa {
  background: #25D366; color: #fff; border-color: transparent;
}
.social-btn-wa:hover { background: #1da851; }
.social-btn-yt {
  background: transparent; color: var(--gold); border-color: rgba(201,169,110,0.3);
}
.social-btn-yt:hover { border-color: var(--gold); background: rgba(201,169,110,0.05); }

/* ── PM SECTION IMAGE ── */
.pm-section {
  background: linear-gradient(135deg, rgba(15,21,37,0.97) 0%, rgba(26,32,56,0.97) 100%),
              url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?w=1200&q=80') center/cover no-repeat;
}

@media (max-width: 768px) {
  .youtube-grid { grid-template-columns: 1fr; }
  .social-section { padding: 40px 24px; flex-direction: column; align-items: flex-start; }
  .youtube-section { padding: 60px 24px; }
}

/* ── TESTIMONIALS ── */
.testimonials-section {
  padding: 100px 60px;
  background: linear-gradient(135deg, var(--navy-deeper) 0%, var(--navy) 100%);
  position: relative; overflow: hidden;
}
.testimonials-section::before {
  content: '"';
  font-family: 'Cormorant Garamond', serif;
  font-size: 400px; font-weight: 300; line-height: 1;
  color: rgba(201,169,110,0.04);
  position: absolute; top: -60px; left: 40px;
  pointer-events: none;
}
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,169,110,0.12);
  border-radius: 2px; padding: 32px 28px;
  position: relative; transition: border-color 0.3s;
}
.testimonial-card:hover { border-color: rgba(201,169,110,0.3); }
.testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px; color: var(--gold); line-height: 1;
  margin-bottom: 16px; opacity: 0.6;
}
.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-style: italic; font-weight: 300;
  line-height: 1.7; color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
}
.testimonial-divider {
  width: 32px; height: 1px; background: var(--gold);
  margin-bottom: 16px; opacity: 0.5;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(201,169,110,0.15);
  border: 1px solid rgba(201,169,110,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.testimonial-name {
  font-size: 13px; font-weight: 500; color: var(--white);
}
.testimonial-origin {
  font-size: 11px; color: var(--text-muted); margin-top: 2px; letter-spacing: 0.5px;
}
.testimonial-stars {
  position: absolute; top: 28px; right: 28px;
  font-size: 11px; color: var(--gold); letter-spacing: 2px;
}
@media (max-width: 768px) {
  .testimonials-section { padding: 60px 24px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
}
/* ── LANG CONTENT ── */
[data-lang] { display: none; }
[data-lang].active { display: block; }
[data-lang-inline] { display: none; }
[data-lang-inline].active { display: inline; }



/* ▼▼▼ BEGIN:LPD-DETAIL ▼▼▼ */
/* ═══ EPE EXPOSÉ PREMIUM BLUE v3 ═══ */
:root {
  --ex-navy:#0b1426; --ex-navy2:#111d34; --ex-blue:#203c70;
  --ex-panel:#2d3a61; --ex-panel2:#334269;
  --ex-gold:#c9a96e; --ex-gold2:#d8b978;
  --ex-white:#f7f3ea; --ex-muted:#b8bfd0;
  --ex-border:rgba(201,169,110,.35); --ex-line:rgba(255,255,255,.12);
  --ex-shadow:0 24px 70px rgba(0,0,0,.42);
}
#property-overlay { background: linear-gradient(135deg,#101b31 0%,#1f3b70 52%,#2c3a61 100%); overflow-y:auto; width:100%; height:100%; }
.epe-expose-page { font-family:'Jost','Montserrat',system-ui,sans-serif; color:var(--ex-white); font-weight:300; line-height:1.6; min-height:100vh; width:100%; }

/* HEADER */
.ex-header { height:68px; background:rgba(10,18,34,.96); border-bottom:1px solid rgba(201,169,110,.2); display:flex; align-items:center; justify-content:space-between; padding:0 32px; position:sticky; top:0; z-index:30; backdrop-filter:blur(14px); gap:16px; }
.ex-back-btn { background:none; border:1px solid rgba(201,169,110,.35); color:var(--ex-white); padding:9px 18px; font-size:10px; letter-spacing:.15em; cursor:pointer; font-family:'Montserrat',sans-serif; transition:.2s; white-space:nowrap; flex-shrink:0; }
.ex-back-btn:hover { background:rgba(201,169,110,.15); border-color:var(--ex-gold); }
.ex-expose-btn { background:linear-gradient(135deg,var(--ex-gold),var(--ex-gold2)); color:#09101d; border:none; padding:10px 24px; font-size:10px; letter-spacing:.18em; text-transform:uppercase; cursor:pointer; font-family:'Montserrat',sans-serif; font-weight:600; white-space:nowrap; transition:.2s; }
.ex-expose-btn:hover { opacity:.88; }
.ex-fav { cursor:pointer; color:var(--ex-gold); white-space:nowrap; font-size:12px; letter-spacing:.1em; font-family:'Montserrat',sans-serif; }

/* HERO */
.ex-hero { position:relative; min-height:580px; display:flex; align-items:flex-end; padding:100px 7vw 52px; overflow:hidden; border-bottom:1px solid var(--ex-border); }
.ex-hero::before { content:''; position:absolute; inset:0; background-image:var(--hero-img); background-size:cover; background-position:center; filter:saturate(.9); }
.ex-hero::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,rgba(4,10,19,.92) 0%,rgba(6,15,29,.78) 35%,rgba(6,15,29,.2) 78%), linear-gradient(0deg,rgba(4,10,19,.75),transparent 50%); }
.ex-hero-content { position:relative; z-index:2; max-width:720px; }
.ex-kicker { font-size:13px; letter-spacing:.18em; text-transform:uppercase; color:var(--ex-white); margin-bottom:12px; opacity:.9; }
.ex-title { font-family:'Cormorant Garamond',serif; font-size:clamp(36px,5vw,64px); font-weight:400; line-height:.98; letter-spacing:-.02em; margin-bottom:20px; }
.ex-price { font-family:'Cormorant Garamond',serif; font-size:clamp(28px,3.5vw,42px); color:var(--ex-gold); margin-bottom:22px; }
.ex-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:0 28px; border:1px solid var(--ex-border); background:rgba(6,12,24,.3); color:var(--ex-white); font-size:11px; letter-spacing:.2em; text-transform:uppercase; cursor:pointer; text-decoration:none; font-family:'Montserrat',sans-serif; transition:.2s; }
.ex-btn:hover { background:rgba(201,169,110,.15); }
.ex-btn-gold { background:linear-gradient(135deg,var(--ex-gold),var(--ex-gold2)); color:#09101d; border-color:transparent; font-weight:600; }
.ex-btn-gold:hover { opacity:.9; }

/* FACTS */
.ex-facts { background:rgba(25,43,78,.75); border-bottom:1px solid var(--ex-border); }
.ex-facts-inner { width:min(1180px,calc(100% - 64px)); margin:0 auto; display:grid; grid-template-columns:repeat(4,1fr); }
.ex-fact { display:flex; align-items:center; justify-content:center; gap:20px; padding:28px 16px; border-right:1px solid var(--ex-line); }
.ex-fact:last-child { border-right:0; }
.ex-icon { width:32px; height:32px; color:var(--ex-gold); display:grid; place-items:center; flex-shrink:0; }
.ex-icon svg { width:30px; height:30px; stroke:currentColor; stroke-width:1.35; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.ex-fact strong { display:block; font-family:'Cormorant Garamond',serif; font-size:26px; font-weight:500; }
.ex-fact small { font-size:10px; letter-spacing:.18em; text-transform:uppercase; color:rgba(247,243,234,.8); }

/* CONTAINER */
.ex-container { width:min(1180px,calc(100% - 64px)); margin:0 auto; }
.ex-section { padding:36px 0; border-top:1px solid var(--ex-border); }
.ex-eyebrow { font-family:'Montserrat',sans-serif; font-size:10px; letter-spacing:.28em; text-transform:uppercase; color:var(--ex-gold); margin-bottom:14px; }
.ex-section-title { font-family:'Cormorant Garamond',serif; font-size:34px; font-weight:400; line-height:1.1; margin-bottom:18px; }
.ex-gold-line { width:38px; height:1px; background:var(--ex-gold); margin:0 0 26px; }
.ex-copy { color:rgba(247,243,234,.86); font-size:14px; line-height:1.85; }
.ex-more { display:inline-block; margin-top:24px; font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--ex-gold); text-decoration:none; border-bottom:1px solid rgba(201,169,110,.4); padding-bottom:2px; }

/* INTRO GRID */
.ex-intro-grid { display:grid; grid-template-columns:280px 1fr; gap:48px; }

/* GALLERY */
.ex-gal-main { position:relative; cursor:pointer; border:1px solid rgba(201,169,110,.28); box-shadow:var(--ex-shadow); overflow:hidden; }
.ex-gal-main img { width:100%; height:360px; object-fit:cover; display:block; }
.ex-gal-label { position:absolute; right:16px; bottom:14px; padding:7px 14px; background:rgba(6,12,24,.72); border:1px solid var(--ex-border); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--ex-gold); }
.ex-gal-arr { position:absolute; top:50%; transform:translateY(-50%); background:rgba(0,0,0,.5); border:none; color:#fff; width:40px; height:40px; font-size:24px; cursor:pointer; z-index:3; backdrop-filter:blur(4px); transition:.2s; }
.ex-gal-arr:hover { background:rgba(201,169,110,.5); }
.ex-gal-prev { left:0; }
.ex-gal-next { right:0; }
.ex-thumbs { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; margin-top:6px; }
.ex-thumb { height:90px; object-fit:cover; width:100%; border:1px solid rgba(201,169,110,.22); cursor:pointer; opacity:.75; transition:.2s; }
.ex-thumb.active,.ex-thumb:hover { opacity:1; border-color:var(--ex-gold); }

/* INFO GRID */
.ex-info-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:24px; }
.ex-panel { border:1px solid var(--ex-border); background:linear-gradient(145deg,rgba(6,18,34,.58),rgba(38,54,93,.72)); padding:24px; }
.ex-panel-img { padding:0; overflow:hidden; }
.ex-panel-img img { height:100%; width:100%; object-fit:cover; display:block; min-height:280px; }
.ex-check-list { list-style:none; padding:0; margin:0; }
.ex-check-list li { margin:10px 0; color:rgba(247,243,234,.86); font-size:14px; padding-left:20px; position:relative; }
.ex-check-list li::before { content:'✓'; color:var(--ex-gold); position:absolute; left:0; }
.ex-dist { display:grid; grid-template-columns:auto 1fr auto; gap:10px; align-items:center; margin:10px 0; color:rgba(247,243,234,.9); font-size:13px; }
.ex-di { color:var(--ex-gold); font-size:15px; }
.ex-dist b { color:var(--ex-gold); }

/* MATCHING */
.ex-match { display:grid; grid-template-columns:120px 1fr 160px; gap:32px; align-items:center; border:1px solid var(--ex-border); background:rgba(255,255,255,.04); padding:28px 36px; margin:20px 0 0; }
.ex-profile-icon { width:88px; height:88px; border:1px solid var(--ex-gold); border-radius:50%; display:grid; place-items:center; color:var(--ex-gold); }
.ex-profile-icon svg { width:40px; height:40px; stroke:currentColor; stroke-width:1.25; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.ex-chips { display:flex; flex-wrap:wrap; gap:12px; margin-top:14px; }
.ex-chip { font-size:12px; color:rgba(247,243,234,.86); padding-left:18px; position:relative; }
.ex-chip::before { content:'✓'; color:var(--ex-gold); position:absolute; left:0; }
.ex-circle { width:128px; height:128px; border-radius:50%; display:grid; place-items:center; text-align:center; background:conic-gradient(var(--ex-gold) 0 var(--pct,91%), rgba(255,255,255,.15) var(--pct,91%) 100%); position:relative; }
.ex-circle::before { content:''; position:absolute; inset:11px; border-radius:50%; background:#13213b; }
.ex-circle span { position:relative; font-family:'Cormorant Garamond',serif; font-size:28px; line-height:1; }
.ex-circle small { position:relative; font-size:9px; letter-spacing:.12em; text-transform:uppercase; display:block; }

/* CTA CONTACT */
.ex-cta { background:linear-gradient(135deg,#101b31 0%,#182a4c 100%); border-top:1px solid var(--ex-border); border-bottom:1px solid var(--ex-border); padding:48px 0; }
.ex-cta-grid { display:grid; grid-template-columns:260px 1fr 1fr; gap:40px; align-items:stretch; }
.ex-agent img { height:280px; width:100%; object-fit:cover; object-position:center top; display:block; }
.ex-btn-row { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:24px; }
.ex-btn-email { grid-column:1/-1; background:linear-gradient(135deg,var(--ex-gold),var(--ex-gold2)); color:#09101d; border-color:transparent; font-weight:600; }
.ex-quote-block { border-left:1px solid var(--ex-border); padding-left:32px; display:flex; flex-direction:column; justify-content:center; }
.ex-quote-mark { font-family:'Cormorant Garamond',serif; font-size:64px; color:var(--ex-gold); line-height:1; opacity:.6; }
.ex-signature { font-family:'Cormorant Garamond',serif; font-style:italic; font-size:28px; color:var(--ex-gold); margin-top:18px; }

/* STRIP */
.ex-strip { display:grid; grid-template-columns:repeat(5,1fr); }
.ex-strip img { height:110px; width:100%; object-fit:cover; filter:saturate(.85); display:block; }

/* LIGHTBOX */
.ex-lightbox { position:fixed; inset:0; background:rgba(3,7,13,.96); z-index:19999; display:none; align-items:center; justify-content:center; padding:20px; }
.ex-lightbox.open { display:flex; }
.ex-lb-img { max-width:min(1100px,92vw); max-height:85vh; object-fit:contain; border:1px solid var(--ex-border); box-shadow:var(--ex-shadow); }
.ex-lb-close { position:absolute; top:16px; right:20px; border:1px solid rgba(201,169,110,.4); background:rgba(6,12,24,.85); color:#fff; cursor:pointer; width:44px; height:44px; font-size:22px; display:flex; align-items:center; justify-content:center; z-index:20000; }
.ex-lb-btn { position:absolute; top:50%; transform:translateY(-50%); border:1px solid rgba(201,169,110,.3); background:rgba(6,12,24,.8); color:#fff; cursor:pointer; width:52px; height:52px; font-size:32px; display:flex; align-items:center; justify-content:center; z-index:20000; }
.ex-lb-prev { left:16px; }
.ex-lb-next { right:16px; }
.ex-lb-count { position:absolute; bottom:16px; left:50%; transform:translateX(-50%); font-size:12px; letter-spacing:.16em; text-transform:uppercase; color:var(--ex-gold); font-family:'Montserrat',sans-serif; z-index:20000; }

/* RESPONSIVE */
@media(max-width:900px) {
  .ex-header { height:auto; min-height:68px; padding:12px 20px; }
  .ex-nav { gap:16px; }
  .ex-hero { min-height:480px; padding:72px 24px 36px; }
  .ex-facts-inner { grid-template-columns:repeat(2,1fr); }
  .ex-fact { justify-content:flex-start; border-bottom:1px solid var(--ex-line); }
  .ex-container { width:calc(100% - 40px); }
  .ex-intro-grid, .ex-info-grid, .ex-match, .ex-cta-grid { grid-template-columns:1fr; }
  .ex-gal-main img { height:260px; }
  .ex-thumbs { grid-template-columns:repeat(2,1fr); }
  .ex-match { padding:20px; }
  .ex-circle { width:100px; height:100px; }
  .ex-quote-block { border-left:0; border-top:1px solid var(--ex-border); padding-left:0; padding-top:20px; }
  .ex-strip { grid-template-columns:repeat(2,1fr); }
  .ex-btn-row { grid-template-columns:1fr; }
  .ex-btn-email { grid-column:auto; }
}


/* ── MATCHING DUAL STATE (compact) ── */
.ex-match-section { margin:0; }
.ex-ms { border-top:1px solid var(--ex-border); padding:32px 0; }
.ex-ms-a { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; }
.ex-ms-left { display:flex; flex-direction:column; gap:16px; }
.ex-ms-score-row { display:flex; align-items:center; gap:20px; }
.ex-ms-circle { width:72px; height:72px; border-radius:50%; border:2px solid var(--ex-gold); display:flex; flex-direction:column; align-items:center; justify-content:center; flex-shrink:0; background:rgba(201,169,110,.06); }
.ex-ms-circle span { font-family:'Cormorant Garamond',serif; font-size:22px; color:var(--ex-gold); line-height:1; }
.ex-ms-circle small { font-size:9px; letter-spacing:.1em; color:rgba(247,243,234,.6); }
.ex-ms-headline { font-family:'Cormorant Garamond',serif; font-size:20px; color:#fff; margin-bottom:4px; }
.ex-ms-sub { font-size:13px; color:rgba(247,243,234,.65); line-height:1.6; margin:0; }
.ex-ms-right { display:flex; align-items:center; border-left:1px solid rgba(201,169,110,.2); padding-left:40px; }
.ex-ms-tags { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
.ex-ms-tags li { font-family:'Montserrat',sans-serif; font-size:12px; color:rgba(247,243,234,.8); padding-left:16px; position:relative; }
.ex-ms-tags li::before { content:'✓'; color:var(--ex-gold); position:absolute; left:0; }
.ex-ms-b { display:grid; grid-template-columns:1fr 1px 320px; gap:0; align-items:center; background:linear-gradient(135deg,rgba(11,20,38,.5),rgba(32,60,112,.35)); border:1px solid rgba(201,169,110,.18); padding:28px 36px; min-height:0; }
.ex-ms-b-left { padding-right:36px; }
.ex-ms-b-title { font-family:'Cormorant Garamond',serif; font-size:clamp(16px,1.6vw,20px); font-weight:400; color:#fff; line-height:1.3; margin:6px 0 10px; }
.ex-ms-b-title em { color:var(--ex-gold); font-style:italic; }
.ex-ms-b-checks { display:flex; gap:14px; flex-wrap:wrap; margin:8px 0 12px; }
.ex-ms-b-checks span { font-family:'Montserrat',sans-serif; font-size:10px; color:rgba(247,243,234,.7); }
.ex-ms-cta { display:inline-block; background:linear-gradient(135deg,var(--ex-gold),var(--ex-gold2)); color:#09101d; font-family:'Montserrat',sans-serif; font-size:10px; font-weight:600; letter-spacing:.18em; text-transform:uppercase; padding:10px 20px; text-decoration:none; transition:.2s; }
.ex-ms-cta:hover { opacity:.88; }
.ex-ms-b-divider { background:rgba(201,169,110,.25); align-self:stretch; margin:0; width:1px; }
.ex-ms-b-right { padding-left:36px; display:flex; flex-direction:column; justify-content:center; }
.ex-ms-b-quote { font-family:'Cormorant Garamond',serif; font-style:italic; font-size:15px; color:rgba(247,243,234,.7); line-height:1.65; }
.ex-impressionen { padding:32px 0 0; }
.ex-impr-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.ex-impr-card { cursor:default; }
.ex-impr-img { height:110px; background:rgba(20,40,80,.6); border:1px solid rgba(201,169,110,.12); display:flex; align-items:center; justify-content:center; transition:.2s; }
.ex-impr-img:hover { border-color:rgba(201,169,110,.3); }
.ex-impr-icon { font-size:26px; opacity:.45; }
.ex-impr-label { font-family:'Montserrat',sans-serif; font-size:9px; letter-spacing:.15em; text-transform:uppercase; color:rgba(247,243,234,.4); text-align:center; padding:7px 0; }
.ex-strip { display:none !important; }
@media(max-width:700px){
  .ex-ms-a { grid-template-columns:1fr; gap:20px; padding:24px 0; }
  .ex-ms-right { border-left:0; border-top:1px solid rgba(201,169,110,.15); padding-left:0; padding-top:18px; }
  .ex-ms-b { grid-template-columns:1fr; padding:20px; gap:16px; }
  .ex-ms-b-divider { width:80%; height:1px; margin:4px auto; }
  .ex-ms-b-right { padding-left:0; }
  .ex-impr-grid { grid-template-columns:repeat(2,1fr); gap:8px; }
}

/* ▲▲▲ END:LPD-DETAIL ▲▲▲ */


/* ▼▼▼ BEGIN:ATLAS-FINAL ▼▼▼ */

/* === SECTION === */
.atlas-teaser{
  position:relative;
  overflow:hidden;
  padding:44px 40px 40px;
  background:
    radial-gradient(circle at 70% 48%, rgba(31,95,126,.22), transparent 38%),
    radial-gradient(circle at 68% 51%, rgba(201,169,110,.10), transparent 46%),
    linear-gradient(135deg,#061326 0%,#07182e 50%,#041020 100%);
  border-top:1px solid rgba(201,169,110,.12);
  border-bottom:1px solid rgba(201,169,110,.12);
}
.atlas-teaser::before{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(4,12,24,.32) 0%,rgba(4,12,24,.08) 45%,rgba(4,12,24,0) 100%);
  pointer-events:none;
}

/* === 3-COLUMN GRID === */
#atlas-teaser .atlas-teaser-inner{
  position:relative;
  z-index:1;
  max-width:1280px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1.2fr 210px;
  gap:36px;
  align-items:start;
}

/* === LEFT CONTENT === */
.atlas-eyebrow{
  font-family:'Montserrat',sans-serif;
  font-size:11px;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:14px;
}
.atlas-headline{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(28px,3vw,44px);
  font-weight:400;
  line-height:1.12;
  color:#fff;
  margin-bottom:16px;
}
.atlas-headline em{
  color:var(--gold);
  font-style:italic;
}
.atlas-subtext{
  font-family:'Montserrat',sans-serif;
  font-size:13px;
  line-height:1.7;
  color:rgba(255,255,255,.7);
  margin-bottom:24px;
  max-width:420px;
}
.atlas-teaser-btn{
  display:inline-block;
  padding:14px 28px;
  background:linear-gradient(135deg,rgba(201,169,110,.22),rgba(201,169,110,.12));
  border:1px solid rgba(201,169,110,.55);
  color:var(--gold);
  font-family:'Montserrat',sans-serif;
  font-size:11px;
  letter-spacing:.2em;
  text-transform:uppercase;
  text-decoration:none;
  margin-bottom:24px;
  transition:background .3s;
}
.atlas-teaser-btn:hover{
  background:linear-gradient(135deg,rgba(201,169,110,.35),rgba(201,169,110,.2));
}

/* === BENEFITS 4-COLUMN === */
#atlas-teaser .atlas-benefits{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border:1px solid rgba(201,169,110,.2);
  background:rgba(4,16,28,.6);
  margin-bottom:16px;
}
#atlas-teaser .atlas-benefit{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  padding:14px 6px;
  border-right:1px solid rgba(201,169,110,.15);
}
#atlas-teaser .atlas-benefit:last-child{ border-right:0; }
#atlas-teaser .ab-icon{
  font-size:18px;
  color:var(--gold);
  margin-bottom:8px;
  display:block;
}
#atlas-teaser .ab-text{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:3px;
}
#atlas-teaser .ab-text b{
  font-family:'Montserrat',sans-serif;
  font-size:10px;
  font-weight:700;
  color:#fff;
  line-height:1.3;
  display:block;
}
#atlas-teaser .ab-text small{
  font-family:'Montserrat',sans-serif;
  font-size:9px;
  color:rgba(255,255,255,.5);
  font-weight:300;
  display:block;
}

/* === WHY-BOX === */
#atlas-teaser .atlas-why-box{
  border:1px solid rgba(201,169,110,.25);
  background:rgba(4,16,28,.6);
  padding:16px;
}
#atlas-teaser .awb-title{
  font-family:'Montserrat',sans-serif;
  font-size:10px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:12px;
  display:block;
}
#atlas-teaser .awb-items{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
#atlas-teaser .awb-item{
  display:flex;
  gap:8px;
  align-items:flex-start;
}
#atlas-teaser .awb-icon{
  color:var(--gold);
  font-size:13px;
  flex-shrink:0;
  margin-top:1px;
}
#atlas-teaser .awb-item b{
  font-family:'Montserrat',sans-serif;
  font-size:11px;
  font-weight:700;
  color:#fff;
  display:block;
  margin-bottom:3px;
}
#atlas-teaser .awb-item p{
  font-family:'Montserrat',sans-serif;
  font-size:10px;
  color:rgba(255,255,255,.6);
  margin:0;
  line-height:1.4;
}

/* === MAP === */
#atlas-teaser .atlas-teaser-map{
  display:flex;
  justify-content:center;
  align-items:center;
  overflow:visible;
}
.atm-wrap{
  position:relative;
  width:108%;
  margin-left:-4%;
  /* Coordinate layer: all .aml/.amc percentages are relative to this box,
     which has exactly the same 3:2 aspect ratio as atlas-base.png. */
}
.atlas-map-img{
  display:block;
  width:100%;
  height:auto;
  filter:drop-shadow(0 16px 48px rgba(0,0,0,.55));
}

/* === REGION LABELS === */
.aml{
  position:absolute;
  transform:translate(-50%,-50%);
  text-align:center;
  pointer-events:none;
  line-height:1.2;
}
.aml-name{
  display:block;
  font-family:'Montserrat',sans-serif;
  font-size:11px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:#0d1b2a;
  text-shadow:0 1px 3px rgba(255,255,255,.5);
}
.aml-pct{
  display:block;
  font-family:'Cormorant Garamond',serif;
  font-size:16px;
  font-weight:700;
  color:#0d1b2a;
  text-shadow:0 1px 3px rgba(255,255,255,.4);
  line-height:1;
}

/* === CITY DOTS === */
.amc{
  position:absolute;
  /* IMPORTANT: city coordinates anchor the DOT, not the whole text label.
     translate(-50%) centered the entire dot+label group and caused device-dependent
     drift because label widths render differently on iPad / 5K / browsers. */
  transform:translate(0,-50%);
  display:flex;
  align-items:center;
  gap:5px;
  pointer-events:none;
  white-space:nowrap;
}
.amc-dot{
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 0 3px rgba(212,168,67,.25),0 0 12px rgba(212,168,67,.6);
  flex-shrink:0;
}
.amc-name{
  font-family:'Montserrat',sans-serif;
  font-size:11px;
  font-weight:600;
  color:rgba(255,255,255,.92);
  text-shadow:0 1px 4px rgba(0,0,0,.85);
  letter-spacing:.04em;
}

/* === CLICK HINT === */
.atm-hint{
  position:absolute;
  bottom:8%;
  left:3%;
  font-family:'Cormorant Garamond',serif;
  font-style:italic;
  font-size:13px;
  color:rgba(255,255,255,.75);
  text-shadow:0 1px 6px rgba(0,0,0,.7);
  max-width:130px;
  line-height:1.4;
  pointer-events:none;
}

/* === MATCH-CARD === */
.atlas-match-sidebar{
  display:flex;
  flex-direction:column;
  gap:16px;
  padding-top:8px;
}
.atlas-match-card{
  background:linear-gradient(145deg,rgba(8,20,42,.92),rgba(12,28,54,.88));
  border:1px solid rgba(201,169,110,.35);
  border-radius:6px;
  padding:22px 18px 20px;
  text-align:center;
  box-shadow:0 8px 32px rgba(0,0,0,.45),inset 0 1px 0 rgba(201,169,110,.12);
}
.amc-icon{
  width:30px;
  height:30px;
  color:var(--gold);
  margin:0 auto 10px;
}
.amc-icon svg{ width:30px; height:30px; }
.amc-label{
  font-family:'Montserrat',sans-serif;
  font-size:10px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:10px;
  line-height:1.5;
}
.amc-score{
  font-family:'Cormorant Garamond',serif;
  font-size:52px;
  font-weight:300;
  color:var(--gold);
  line-height:1;
  margin-bottom:8px;
}
.amc-desc{
  font-family:'Montserrat',sans-serif;
  font-size:11px;
  color:rgba(255,255,255,.75);
  font-weight:300;
}

/* === LEGEND === */
.atlas-legend-card{
  background:linear-gradient(145deg,rgba(8,20,42,.88),rgba(12,28,54,.82));
  border:1px solid rgba(201,169,110,.25);
  border-radius:6px;
  padding:16px 18px;
  box-shadow:0 8px 32px rgba(0,0,0,.35);
}
.alc-title{
  font-family:'Montserrat',sans-serif;
  font-size:10px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:12px;
  display:block;
}
.alc-item{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:'Montserrat',sans-serif;
  font-size:12px;
  color:rgba(255,255,255,.8);
  margin-bottom:8px;
  font-weight:300;
}
.alc-dot{
  width:12px;
  height:12px;
  border-radius:50%;
  flex-shrink:0;
}
.alc-d1{ background:#d4a843; box-shadow:0 0 6px rgba(212,168,67,.6); }
.alc-d2{ background:#b8902e; }
.alc-d3{ background:#6b7a8d; }
.alc-d4{ background:#3d4a5c; }

/* === LANGUAGE === */
#atlas-teaser [data-lang]{ display:none !important; }
#atlas-teaser [data-lang].active{ display:block !important; }
#atlas-teaser .atlas-teaser-btn [data-lang].active{ display:inline !important; }
#atlas-teaser .amc-label [data-lang].active{ display:block !important; }
#atlas-teaser .amc-desc [data-lang].active{ display:block !important; }
#atlas-teaser .alc-title [data-lang].active{ display:block !important; }
#atlas-teaser .alc-item [data-lang].active{ display:inline !important; }
#atlas-teaser .atm-hint [data-lang].active{ display:block !important; }

/* === RESPONSIVE === */
@media(max-width:900px){
  #atlas-teaser .atlas-teaser-inner{
    grid-template-columns:1fr 1fr;
  }
  .atlas-match-sidebar{
    grid-column:1/-1;
    flex-direction:row;
    justify-content:center;
  }
  .atlas-match-card,.atlas-legend-card{ max-width:280px; }
}
@media(max-width:720px){
  #atlas-teaser .atlas-teaser-inner{ grid-template-columns:1fr; }
  #atlas-teaser .atlas-benefits{ grid-template-columns:repeat(2,1fr); }
  .atlas-match-sidebar{ flex-direction:column; align-items:center; }
}

/* ▲▲▲ END:ATLAS-FINAL ▲▲▲ */

/* ▼▼▼ BEGIN:ATLAS-STEP25-MAPSIZE ▼▼▼ */
#atlas-teaser .atlas-teaser-inner{
  grid-template-columns:0.85fr 1.5fr 200px !important;
  gap:28px !important;
  align-items:center !important;
}
.atm-wrap{
  width:120% !important;
  margin-left:-10% !important;
}
/* Nordwesten nach rechts korrigiert */
.aml[style*="left:28%"]{
  left:33% !important;
}
/* ▲▲▲ END:ATLAS-STEP25-MAPSIZE ▲▲▲ */

/* ▼▼▼ BEGIN:ATLAS-STEP26-HEIGHT ▼▼▼ */
/* Less height, smaller fonts */
.atlas-headline{ font-size:clamp(24px,2.4vw,36px) !important; margin-bottom:12px !important; }
.atlas-subtext{ font-size:12px !important; margin-bottom:18px !important; }
.atlas-teaser-btn{ padding:12px 22px !important; margin-bottom:18px !important; }
#atlas-teaser .atlas-benefit{ padding:12px 6px !important; }
#atlas-teaser .ab-text b{ font-size:9px !important; }
#atlas-teaser .ab-text small{ font-size:8px !important; }
#atlas-teaser .atlas-why-box{ padding:12px !important; margin-top:8px !important; }
.amc-score{ font-size:44px !important; }
/* ▲▲▲ END:ATLAS-STEP26-HEIGHT ▲▲▲ */

/* ▼▼▼ BEGIN:ATLAS-STEP26-HEIGHT-FONT ▼▼▼ */
/* Smaller fonts left column */
#atlas-teaser .atlas-headline{ font-size:clamp(24px,2.4vw,36px) !important; }
#atlas-teaser .atlas-subtext{ font-size:12px !important; }
#atlas-teaser .atlas-teaser-btn{ padding:11px 22px !important; font-size:10px !important; }
#atlas-teaser .ab-text b{ font-size:9px !important; }
#atlas-teaser .ab-text small{ font-size:8px !important; }
#atlas-teaser .awb-item b{ font-size:10px !important; }
#atlas-teaser .awb-item p{ font-size:9px !important; }
/* ▲▲▲ END:ATLAS-STEP26-HEIGHT-FONT ▲▲▲ */

/* ▼▼▼ BEGIN:ATLAS-STEP27-MAP-RIGHT ▼▼▼ */
.atm-wrap{
  width:124% !important;
  margin-left:0% !important;
}
/* ▲▲▲ END:ATLAS-STEP27-MAP-RIGHT ▲▲▲ */

/* ▼▼▼ BEGIN:ATLAS-STEP28-MAP-10PCT ▼▼▼ */
.atm-wrap{ width:134% !important; }
/* ▲▲▲ END:ATLAS-STEP28-MAP-10PCT ▲▲▲ */

/* ── STEP29 ABOUT COMPACT / PERSONAL ADVISOR ── */
.about.about-compact {
  padding: 56px 60px 64px;
  background: linear-gradient(180deg, rgba(5,18,33,0.98) 0%, rgba(3,16,31,1) 100%);
  border-top: 1px solid rgba(201,169,110,0.14);
  border-bottom: 1px solid rgba(201,169,110,0.14);
  display: block;
  position: relative;
  overflow: hidden;
}
.about.about-compact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 38% 48%, rgba(201,169,110,0.08), transparent 34%);
  pointer-events: none;
}
.about-inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 310px 1fr;
  gap: 34px;
  align-items: stretch;
}
.about-portrait {
  min-height: 260px;
  border: 1px solid rgba(201,169,110,0.22);
  background: rgba(0,0,0,0.18);
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0,0,0,0.32);
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  filter: saturate(0.94) contrast(1.04) brightness(0.92);
}
.about-statement {
  padding: 8px 16px 6px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-eyebrow {
  justify-content: flex-start !important;
  margin-bottom: 18px;
}
.about-statement h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 2.55vw, 44px);
  line-height: 0.98;
  font-weight: 300;
  color: var(--white);
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.about-statement h2 em {
  color: var(--gold-light);
  font-style: italic;
}
.about-statement p {
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255,255,255,0.70);
  font-weight: 300;
  margin: 0 0 14px;
}
.compact-signature {
  margin: 0 0 18px;
  border: 0;
  padding: 0;
  font-size: 27px;
  line-height: 1;
}
.about-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid rgba(201,169,110,0.65);
  color: var(--gold-light);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.9px;
  font-size: 10px;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.about-cta::after { content: '→'; }
.about-cta:hover {
  background: rgba(201,169,110,0.12);
  color: var(--gold);
  transform: translateY(-1px);
}
.about-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-left: 1px solid rgba(201,169,110,0.14);
  align-items: stretch;
}
.about-trust-item {
  min-height: 260px;
  padding: 32px 24px 28px;
  border-right: 1px solid rgba(201,169,110,0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.about-trust-icon {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(201,169,110,0.45);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.12), rgba(201,169,110,0.02));
}
.about-trust-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--white);
  margin: 0 0 16px;
}
.about-trust-item p {
  font-size: 12px;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(255,255,255,0.64);
  margin: 0;
}

@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 220px 1fr;
  }
  .about-trust-grid {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(201,169,110,0.14);
  }
  .about-trust-item { min-height: 190px; }
}
@media (max-width: 768px) {
  .about.about-compact { padding: 48px 22px 54px; }
  .about-inner { grid-template-columns: 1fr; gap: 24px; }
  .about-portrait { min-height: 360px; max-width: 330px; width: 100%; margin: 0 auto; }
  .about-statement { padding: 0; text-align: left; }
  .about-statement h2 { font-size: 34px; }
  .about-trust-grid {
    grid-template-columns: 1fr 1fr;
    border-left: 0;
    border-top: 1px solid rgba(201,169,110,0.14);
  }
  .about-trust-item {
    min-height: 180px;
    padding: 24px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(201,169,110,0.12);
  }
  .about-trust-item:nth-child(odd) { border-right: 1px solid rgba(201,169,110,0.12); }
}

/* ── STEP31 PROPERTY MANAGEMENT REBUILD ── */
.pm-section {
  padding: 78px 60px;
  background: linear-gradient(180deg, rgba(8,18,34,0.98) 0%, rgba(10,22,40,0.99) 100%) !important;
  border-top: 1px solid rgba(201,169,110,0.12);
  border-bottom: 1px solid rgba(201,169,110,0.10);
}
.pm-section::before { display: none !important; }
.pm-grid.pm-grid-step31 {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(210px, 0.88fr) minmax(145px, 0.55fr) minmax(220px, 0.75fr) minmax(300px, 1.05fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
}
.pm-copy { min-width: 0; }
.pm-title {
  font-size: clamp(30px, 3vw, 48px) !important;
  line-height: 1.05 !important;
}
.pm-intro {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.85;
  margin: 0 0 24px;
  font-weight: 300;
  max-width: 360px;
}
.pm-cta {
  font-size: 10px !important;
  padding: 12px 26px !important;
  letter-spacing: 1.7px;
}
.pm-phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.pm-phone {
  width: min(184px, 100%);
  aspect-ratio: 0.53;
  border-radius: 24px;
  padding: 12px 10px;
  background: linear-gradient(180deg, #12172a 0%, #070d19 100%);
  border: 1px solid rgba(201,169,110,0.35);
  box-shadow: 0 22px 50px rgba(0,0,0,0.35), inset 0 0 0 4px rgba(255,255,255,0.03);
  position: relative;
}
.pm-phone::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
}
.pm-phone-top {
  margin-top: 14px;
  padding: 12px 10px 10px;
  border-radius: 14px 14px 8px 8px;
  background: linear-gradient(135deg, rgba(201,169,110,0.16), rgba(255,255,255,0.03));
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pm-phone-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(201,169,110,0.55);
}
.pm-phone-list {
  margin-top: 10px;
  background: rgba(255,255,255,0.92);
  border-radius: 8px 8px 16px 16px;
  overflow: hidden;
}
.pm-phone-row {
  min-height: 36px;
  padding: 8px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #1b2234;
  border-bottom: 1px solid rgba(15,21,37,0.08);
  font-size: 8.6px;
  line-height: 1.25;
  font-weight: 600;
}
.pm-phone-row:last-child { border-bottom: none; }
.pm-phone-row b {
  color: #8b6b28;
  font-size: 12px;
}
.pm-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.pm-benefit {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.35;
}
.pm-benefit-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  border: 1px solid rgba(201,169,110,0.28);
  background: rgba(201,169,110,0.06);
  font-size: 13px;
  line-height: 1;
}
.pm-photo-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201,169,110,0.23);
  box-shadow: 0 18px 44px rgba(0,0,0,0.30);
  min-height: 260px;
  height: clamp(240px, 19vw, 330px);
  background: var(--navy-dark);
}
.pm-photo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,15,28,0.06), rgba(7,15,28,0.26));
  pointer-events: none;
}
.pm-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 46%;
  display: block;
  filter: saturate(0.92) contrast(1.05) brightness(0.88);
}
@media (max-width: 900px) {
  .pm-grid.pm-grid-step31 {
    grid-template-columns: 1fr 0.65fr;
    gap: 38px;
  }
  .pm-benefit-list { order: 3; }
  .pm-photo-card { order: 4; }
}
@media (max-width: 768px) {
  .pm-section { padding: 56px 24px; }
  .pm-grid.pm-grid-step31 { grid-template-columns: 1fr; gap: 30px; }
  .pm-phone-wrap { justify-content: flex-start; }
  .pm-phone { width: 180px; }
  .pm-photo-card { height: 250px; }
}

/* ── STEP32 PROPERTY MANAGEMENT FINAL TUNING ── */
.pm-grid.pm-grid-step32 {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(132px, 0.46fr) minmax(260px, 0.86fr) minmax(380px, 1.28fr);
  gap: clamp(26px, 3.6vw, 52px);
  align-items: center;
}
.pm-grid.pm-grid-step32 .pm-phone {
  width: min(172px, 100%);
}
.pm-status-phone {
  padding: 12px 10px 14px !important;
}
.pm-status-top {
  font-size: 15px !important;
  padding: 11px 10px 8px !important;
}
.pm-status-meta {
  margin: 8px 2px 7px;
  font-size: 7.5px;
  letter-spacing: 1.15px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .9;
}
.pm-status-list {
  border-radius: 9px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
.pm-status-row {
  min-height: 29px;
  padding: 6px 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.72);
  font-size: 7.6px;
  line-height: 1.2;
}
.pm-status-row:last-child { border-bottom: none; }
.pm-status-row b {
  color: rgba(255,255,255,0.88);
  font-size: 7.1px;
  white-space: nowrap;
  font-weight: 600;
}
.pm-status-row b.ok {
  color: #c9a96e;
  background: rgba(201,169,110,0.10);
  border: 1px solid rgba(201,169,110,0.18);
  padding: 2px 5px;
  border-radius: 999px;
}
.pm-status-row b.planned {
  color: var(--gold);
  background: rgba(201,169,110,0.12);
  border: 1px solid rgba(201,169,110,0.22);
  padding: 2px 5px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.pm-status-note {
  margin-top: 9px;
  padding: 8px 7px;
  border: 1px solid rgba(201,169,110,0.18);
  border-radius: 8px;
  color: rgba(255,255,255,0.70);
  font-size: 7.4px;
  line-height: 1.35;
  background: rgba(201,169,110,0.04);
}
.pm-benefit-title {
  margin-bottom: 3px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 10px;
  font-weight: 600;
}
.pm-grid.pm-grid-step32 .pm-benefit-list {
  gap: 12px;
}
.pm-grid.pm-grid-step32 .pm-benefit {
  grid-template-columns: 25px 1fr;
  gap: 13px;
  font-size: 12.5px;
}
.pm-grid.pm-grid-step32 .pm-benefit-icon {
  width: 25px;
  height: 25px;
  font-size: 12px;
}
.pm-grid.pm-grid-step32 .pm-photo-card {
  min-height: 300px;
  height: clamp(300px, 24vw, 395px);
}
.pm-grid.pm-grid-step32 .pm-photo-card img {
  object-position: 63% 43%;
  filter: saturate(0.96) contrast(1.06) brightness(0.90);
  transform: scale(1.08);
}
@media (max-width: 900px) {
  .pm-grid.pm-grid-step32 {
    grid-template-columns: 1fr 0.7fr 1fr;
  }
  .pm-grid.pm-grid-step32 .pm-copy { grid-column: 1 / -1; }
  .pm-grid.pm-grid-step32 .pm-photo-card { grid-column: 2 / 4; }
}
@media (max-width: 760px) {
  .pm-grid.pm-grid-step32 { grid-template-columns: 1fr; gap: 30px; }
  .pm-grid.pm-grid-step32 .pm-phone-wrap { justify-content: flex-start; }
  .pm-grid.pm-grid-step32 .pm-phone { width: 180px; }
  .pm-grid.pm-grid-step32 .pm-photo-card { height: 280px; grid-column: auto; }
}

/* ── STEP33 PROPERTY MANAGEMENT FINAL POLISH ── */
.pm-section {
  padding-top: 58px !important;
  padding-bottom: 58px !important;
}
.pm-grid.pm-grid-step32 {
  align-items: center;
}
.pm-grid.pm-grid-step32 .pm-photo-card {
  min-height: 390px !important;
  height: clamp(390px, 31vw, 520px) !important;
}
.pm-grid.pm-grid-step32 .pm-photo-card img {
  object-position: 68% 45% !important;
  transform: scale(1.12) !important;
}
.pm-grid.pm-grid-step32 .pm-phone {
  width: min(166px, 100%) !important;
}
.pm-status-note {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  color: rgba(255,255,255,0.82) !important;
  border-color: rgba(201,169,110,0.34) !important;
  background: linear-gradient(135deg, rgba(201,169,110,0.12), rgba(255,255,255,0.035)) !important;
}
.pm-status-note-icon {
  color: var(--gold);
  font-size: 8px;
  line-height: 1;
}
.pm-status-note-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(201,169,110,0.65);
  flex: 0 0 auto;
}
@media (max-width: 1100px) {
  .pm-section {
    padding-top: 54px !important;
    padding-bottom: 54px !important;
  }
  .pm-grid.pm-grid-step32 .pm-photo-card {
    min-height: 340px !important;
    height: 360px !important;
  }
}
@media (max-width: 760px) {
  .pm-section {
    padding-top: 46px !important;
    padding-bottom: 46px !important;
  }
  .pm-grid.pm-grid-step32 .pm-photo-card {
    min-height: 300px !important;
    height: 320px !important;
  }
}

/* ── STEP34 LIFESTYLE REDESIGN ── */
.lifestyle-section {
  padding: 76px 60px 88px;
  background:
    radial-gradient(circle at 28% 18%, rgba(201,169,110,0.055), transparent 34%),
    linear-gradient(135deg, #21365f 0%, #263d68 48%, #1f345b 100%);
  border-top: 1px solid rgba(201,169,110,0.14);
  border-bottom: 1px solid rgba(201,169,110,0.12);
  position: relative;
  overflow: hidden;
}
.lifestyle-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,15,28,0.22), transparent 45%, rgba(10,15,28,0.24));
  pointer-events: none;
}
.lifestyle-shell {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 42px;
  align-items: end;
}
.lifestyle-intro { align-self: center; }
.lifestyle-eyebrow { margin-bottom: 16px; justify-content: flex-start; }
.lifestyle-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3.1vw, 46px);
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 18px;
}
.lifestyle-title em { color: var(--gold); font-style: italic; }
.lifestyle-copy {
  color: rgba(255,255,255,0.68);
  font-size: 13px;
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 26px;
}
.lifestyle-main-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid rgba(201,169,110,0.45);
  color: var(--gold);
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  transition: all .25s ease;
}
.lifestyle-main-cta::after { content: '→'; }
.lifestyle-main-cta:hover { background: rgba(201,169,110,0.08); border-color: var(--gold); }
.lifestyle-cards-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.lifestyle-mini-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.lifestyle-mini-card {
  background: rgba(9,16,31,0.46);
  border: 1px solid rgba(201,169,110,0.18);
  border-radius: 14px;
  overflow: hidden;
  min-height: 236px;
  box-shadow: 0 18px 46px rgba(0,0,0,0.22);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.lifestyle-mini-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,169,110,0.38);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.lifestyle-mini-image {
  height: 176px;
  background-image:
    linear-gradient(180deg, rgba(4,10,22,0.04) 0%, rgba(4,10,22,0.12) 52%, rgba(4,10,22,0.34) 100%),
    var(--img);
  background-size: cover;
  background-position: center;
  transition: transform .55s ease;
}
.lifestyle-mini-card:hover .lifestyle-mini-image { transform: scale(1.04); }
.lifestyle-mini-title {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: rgba(255,255,255,0.88);
  font-size: 13px;
  letter-spacing: .3px;
  font-weight: 500;
  text-align: center;
}
@media (max-width: 900px) {
  .lifestyle-shell { grid-template-columns: 1fr; align-items: stretch; }
  .lifestyle-cards-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .lifestyle-section { padding: 60px 24px; }
  .lifestyle-cards-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .lifestyle-mini-card { min-height: 200px; }
  .lifestyle-mini-image { height: 142px; }
}
@media (max-width: 480px) {
  .lifestyle-cards-row { grid-template-columns: 1fr; }
}

/* ▼▼▼ BEGIN:HERO-RESPONSIVE-FIX ▼▼▼ */
/* Laptop / MacBook 13" (1024px–1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
  .hero { height: clamp(620px, 76vh, 760px) !important; }
  .hero-bg { background-position: center bottom !important; }
}
/* Standard Desktop / MacBook 15–16" (1440px–1799px) */
@media (min-width: 1440px) and (max-width: 1799px) {
  .hero { height: clamp(660px, 78vh, 800px) !important; }
  .hero-bg { background-position: center bottom !important; }
}
/* iMac / großer Desktop (1800px–2199px) */
@media (min-width: 1800px) and (max-width: 2199px) {
  .hero { height: clamp(700px, 80vh, 840px) !important; }
  .hero-bg { background-position: center bottom !important; }
}
/* ▲▲▲ END:HERO-RESPONSIVE-FIX ▲▲▲ */

/* ▼▼▼ BEGIN:RESPONSIVE-IPAD-FIX ▼▼▼ */

/* === HERO — tablets up to 820px === */
@media (max-width: 820px) {
  /* Don't override hero-content padding here - handled at 768px */
  .hero-cta { gap: 10px; }
  .hero-highlights { display: none; }
}

/* === LIFESTYLE — 5 Karten nebeneinander bis 900px === */
@media (min-width: 769px) and (max-width: 1100px) {
  .lifestyle-section { padding: 70px 30px; }
  /* New 5-card layout — keep horizontal, smaller */
  .ls-row, .lifestyle-row { gap: 8px !important; }
}
@media (max-width: 768px) {
  /* Stack into 2 columns on small iPad/mobile */
  .ls-row, .lifestyle-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}

/* === ABOUT TRUST — keep 4-col down to 768px === */
@media (min-width: 769px) and (max-width: 1100px) {
  .about-trust-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  .about-trust-item { min-height: 160px !important; }
}

/* === ATLAS — iPad fix === */
@media (min-width: 769px) and (max-width: 1100px) {
  #atlas-teaser .atlas-teaser-inner {
    grid-template-columns: 0.9fr 1.3fr 180px !important;
    gap: 20px !important;
  }
  .atlas-match-sidebar {
    flex-direction: column !important;
    gap: 12px !important;
  }
  .amc-score { font-size: 40px !important; }
}

/* === NAVIGATION — iPad mini === */
@media (max-width: 820px) {
  nav { padding: 16px 20px !important; }
  .nav-links { gap: 16px !important; }
  .nav-links a { font-size: 10px !important; letter-spacing: .1em !important; }
  .lang-switch { gap: 6px !important; }
  .lang-switch span { font-size: 10px !important; }
}

/* ▲▲▲ END:RESPONSIVE-IPAD-FIX ▲▲▲ */

/* ▼▼▼ BEGIN:IPAD-MINI-820PX-FIX ▼▼▼ */
/* iPad mini / small tablets: 769px–900px */
@media (min-width: 769px) and (max-width: 1079px) {

  /* Hero buttons — prevent overflow */
  .btn-primary, .btn-outline {
    padding: 12px 20px !important;
    font-size: 9px !important;
    letter-spacing: 1.5px !important;
  }

  /* About — keep 4-col but compact */
  .about-trust-grid {
    grid-template-columns: repeat(4,1fr) !important;
  }
  .about-trust-item {
    min-height: 150px !important;
    padding: 20px 12px !important;
  }
  .about-trust-item h3 { font-size: 16px !important; }
  .about-trust-item p { font-size: 11px !important; }
  .about-trust-icon {
    width: 44px !important; height: 44px !important;
    font-size: 20px !important; margin-bottom: 14px !important;
  }

  /* Lifestyle — keep 5 col but smaller images */
  .lifestyle-cards-row {
    grid-template-columns: repeat(5, minmax(0,1fr)) !important;
    gap: 10px !important;
  }
  .lifestyle-mini-image { height: 130px !important; }
  .lifestyle-mini-card { min-height: 180px !important; }
  .lifestyle-mini-title { font-size: 11px !important; padding: 8px !important; }

  /* Atlas sidebar stays right */
  #atlas-teaser .atlas-teaser-inner {
    grid-template-columns: 0.9fr 1.2fr 170px !important;
    gap: 16px !important;
  }

  /* Property Management */
  .pm-grid {
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 20px !important;
  }
}
/* ▲▲▲ END:IPAD-MINI-820PX-FIX ▲▲▲ */

/* ▼▼▼ BEGIN:IPAD-LANDSCAPE-1024-FIX ▼▼▼ */
/* iPad 9.7" landscape = 1080px CSS pixels */

@media (max-width: 1079px) {

  /* HERO — buttons visible, padding reduced */
  .hero-content {
    padding: 70px 40px 40px !important;
  }
  .hero-title {
    font-size: clamp(38px, 5vw, 62px) !important;
    margin-bottom: 16px !important;
  }
  .hero-subtitle {
    font-size: 12px !important;
    margin-bottom: 28px !important;
  }
  .btn-primary, .btn-outline {
    padding: 12px 24px !important;
    font-size: 9px !important;
    letter-spacing: 2px !important;
  }
  .hero-cta { gap: 12px !important; }
  .hero-highlights { display: none !important; }

  /* ABOUT — keep 4 trust items in one row */
  .about-trust-grid {
    grid-template-columns: repeat(4,1fr) !important;
  }
  .about-trust-item {
    min-height: 160px !important;
    padding: 20px 12px !important;
  }
  .about-trust-item h3 { font-size: 16px !important; }
  .about-trust-icon {
    width: 44px !important;
    height: 44px !important;
    font-size: 20px !important;
    margin-bottom: 14px !important;
  }

  /* LIFESTYLE — 5 cards, smaller */
  .lifestyle-cards-row {
    grid-template-columns: repeat(5, minmax(0,1fr)) !important;
    gap: 10px !important;
  }
  .lifestyle-mini-image { height: 120px !important; }
  .lifestyle-mini-card { min-height: 170px !important; }
  .lifestyle-mini-title { font-size: 11px !important; padding: 8px !important; }
}
/* ▲▲▲ END:IPAD-LANDSCAPE-1024-FIX ▲▲▲ */

/* ▼▼▼ BEGIN:IPAD97-NAV-ONLY-FIX ▼▼▼ */
/* iPad 9.7" landscape 1080px — NUR Navigation */
@media (min-width: 1080px) and (max-width: 1120px) {
  nav { padding: 24px 30px !important; }
  nav.scrolled { padding: 16px 30px !important; }
  .nav-links { gap: 14px !important; }
  .nav-links a { font-size: 11px !important; letter-spacing: .12em !important; }
  .nav-lang { gap: 6px !important; }
}
/* ▲▲▲ END:IPAD97-NAV-ONLY-FIX ▲▲▲ */

/* ▼▼▼ BEGIN:5K-MONITOR-FIX ▼▼▼ */

/* 1440px–2199px: Standard Wide Desktop */
@media (min-width: 1440px) and (max-width: 2199px) {
  .properties-inner,
  .search-inner,
  #atlas-teaser .atlas-teaser-inner,
  .about-inner,
  .pm-inner,
  .lifestyle-shell,
  .contact-inner,
  .insider-hub-inner,
  .footer-inner,
  .props-shell,
  .about-shell,
  .life-shell { max-width: 1440px !important; margin-left: auto !important; margin-right: auto !important; }
}

/* 2200px–2559px: Large iMac / 4K */
@media (min-width: 2200px) and (max-width: 2559px) {
  nav { padding: 28px 160px !important; }
  nav.scrolled { padding: 18px 160px !important; }
  .nav-logo-epe { font-size: 32px !important; }
  .hero { height: 72vh !important; min-height: 680px !important; }
  .hero-bg { background-position: center 55% !important; }
  .hero-content { max-width: 960px !important; padding: 130px 100px 70px !important; }
  .hero-title { font-size: 72px !important; }
  .hero-subtitle { font-size: 15px !important; max-width: 520px !important; }
  .properties-inner,
  .search-inner,
  #atlas-teaser .atlas-teaser-inner,
  .about-inner,
  .pm-inner,
  .lifestyle-shell,
  .contact-inner,
  .insider-hub-inner,
  .footer-inner,
  .props-shell,
  .about-shell,
  .life-shell { max-width: 1680px !important; margin-left: auto !important; margin-right: auto !important; }
  .property-card { min-height: 320px !important; }
  .atm-wrap { width: 100% !important; max-width: 640px !important; }
}

/* 2560px+: 5K iMac */
@media (min-width: 2560px) {
  nav { padding: 32px 200px !important; }
  nav.scrolled { padding: 22px 200px !important; }
  .nav-logo-epe { font-size: 36px !important; }
  .nav-links a { font-size: 13px !important; letter-spacing: .16em !important; }
  .hero { height: 65vh !important; min-height: 720px !important; }
  .hero-bg { background-position: center 50% !important; }
  .hero-content { max-width: 1100px !important; padding: 160px 120px 80px !important; }
  .hero-title { font-size: 82px !important; line-height: 1.0 !important; }
  .hero-subtitle { font-size: 16px !important; max-width: 580px !important; }
  .btn-primary, .btn-outline { padding: 18px 36px !important; font-size: 11px !important; }
  .properties-inner,
  .search-inner,
  #atlas-teaser .atlas-teaser-inner,
  .about-inner,
  .pm-inner,
  .lifestyle-shell,
  .contact-inner,
  .insider-hub-inner,
  .footer-inner,
  .props-shell,
  .about-shell,
  .life-shell { max-width: 1920px !important; margin-left: auto !important; margin-right: auto !important; }
  .property-card { min-height: 360px !important; }
  .property-card-title { font-size: 20px !important; }
  .property-card-price { font-size: 17px !important; }
  .atm-wrap { width: 100% !important; max-width: 720px !important; }
  .section-eyebrow, .props-kicker, .about-kicker { font-size: 11px !important; letter-spacing: .22em !important; }
  .section-title, .props-title, .about-title { font-size: clamp(42px, 3vw, 72px) !important; }
}
/* ▲▲▲ END:5K-MONITOR-FIX ▲▲▲ */

/* ▼▼▼ BEGIN:STEP58-ABOUT-TRUSTFIX ▼▼▼ */
/* About 1080px: alle 4 Trust-Items sichtbar */
@media (min-width: 1080px) and (max-width: 1199px) {
  .about-inner {
    grid-template-columns: 200px 260px 1fr !important;
    gap: 20px !important;
  }
  .about-trust-item {
    min-height: 200px !important;
    padding: 20px 10px !important;
  }
  .about-trust-item h3 {
    font-size: 14px !important;
  }
  .about-trust-item p {
    font-size: 10px !important;
  }
  .about-trust-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
    margin-bottom: 10px !important;
  }
}
/* ▲▲▲ END:STEP58-ABOUT-TRUSTFIX ▲▲▲ */

/* ▼▼▼ BEGIN:STEP60-HERO-BTNFIX ▼▼▼ */
/* Hero translateY Anpassung für 1080px iPad */
@media (min-width: 1080px) and (max-width: 1199px) {
  .hero-content {
    transform: translateY(-65px) !important;
  }
}
/* ▲▲▲ END:STEP60-HERO-BTNFIX ▲▲▲ */


/* ─────────────────────────────────────────────
   STEP63 — Mallorca Insider + Videos redesign
   Replaces old separate YouTube/Social blocks with one premium editorial module
───────────────────────────────────────────── */
.insider-hub-section {
  padding: 58px 60px 62px;
  background:
    radial-gradient(circle at 78% 22%, rgba(201,169,110,0.065), transparent 34%),
    linear-gradient(135deg, #071426 0%, #0A1930 48%, #071321 100%);
  border-top: 1px solid rgba(201,169,110,0.14);
  border-bottom: 1px solid rgba(201,169,110,0.12);
  position: relative;
  overflow: hidden;
}
.insider-hub-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,9,20,0.38) 0%, transparent 42%, rgba(4,9,20,0.22) 100%),
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(201,169,110,0.035) 119px, transparent 120px);
  pointer-events: none;
}
.insider-hub-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(440px, 1.14fr);
  gap: 40px;
  align-items: stretch;
}
.insider-editorial {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
}
.insider-eyebrow { margin-bottom: 18px; }
.insider-hub-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1.02;
  font-weight: 300;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 22px;
}
.insider-hub-title em { color: var(--gold); font-style: italic; }
.insider-hub-copy {
  max-width: 440px;
  color: rgba(255,255,255,0.68);
  font-size: 13px;
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 28px;
}
.insider-topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  margin: 0 0 26px;
  max-width: 520px;
}
.insider-topic-card {
  min-height: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  color: rgba(255,255,255,0.82);
  border: 1px solid rgba(201,169,110,0.18);
  background: rgba(8,17,33,0.48);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.insider-topic-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201,169,110,0.42);
  background: rgba(201,169,110,0.055);
}
.insider-topic-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.42);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-family: 'Cormorant Garamond', serif;
}
.insider-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.insider-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid rgba(201,169,110,0.45);
  color: var(--gold);
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  transition: all .25s ease;
}
.insider-primary-cta::after { content: '→'; }
.insider-primary-cta:hover { background: rgba(201,169,110,0.08); border-color: var(--gold); }
.insider-secondary-link {
  color: rgba(255,255,255,0.56);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .25s ease;
}
.insider-secondary-link:hover { color: var(--gold); }
.insider-video-panel {
  border: 1px solid rgba(201,169,110,0.18);
  background: rgba(8,17,33,0.62);
  box-shadow: 0 20px 58px rgba(0,0,0,0.28);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
}
.video-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 20px;
}
.video-panel-kicker {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.video-panel-head h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 2.2vw, 40px);
  line-height: 1.05;
  font-weight: 300;
  color: var(--white);
}
.video-panel-head h3 em { color: var(--gold); font-style: italic; }
.video-channel-btn {
  flex-shrink: 0;
  color: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 11px 14px;
  text-decoration: none;
  font-size: 9px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  transition: all .25s ease;
}
.video-channel-btn:hover { color: var(--gold); border-color: rgba(201,169,110,0.42); }
.featured-video-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 180px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(201,169,110,0.12);
  background: rgba(2,8,18,0.42);
  overflow: hidden;
}
.featured-video-image {
  position: relative;
  background-image:
    linear-gradient(180deg, rgba(5,10,20,0.05), rgba(5,10,20,0.28)),
    var(--img);
  background-size: cover;
  background-position: center;
  min-height: 180px;
  transition: transform .45s ease;
}
.featured-video-card:hover .featured-video-image { transform: scale(1.035); }
.featured-video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(201,169,110,0.92);
  color: #071321;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
  font-size: 20px;
  box-shadow: 0 10px 34px rgba(0,0,0,0.35);
}
.featured-video-caption {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.video-tag {
  width: fit-content;
  padding: 6px 9px;
  background: rgba(201,169,110,0.16);
  color: var(--gold);
  border: 1px solid rgba(201,169,110,0.25);
  font-size: 9px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}
.featured-video-caption strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 23px;
  line-height: 1.24;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
}
.video-mini-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-top: 16px;
}
.video-mini-card {
  min-height: 66px;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  color: var(--white);
  text-decoration: none;
  background-image:
    linear-gradient(180deg, rgba(4,10,22,0.08), rgba(4,10,22,0.72)),
    var(--img);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(201,169,110,0.14);
  font-size: 10px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  transition: transform .25s ease, border-color .25s ease;
}
.video-mini-card:hover { transform: translateY(-3px); border-color: rgba(201,169,110,0.42); }
.video-mini-contact {
  background-image: linear-gradient(135deg, rgba(201,169,110,0.18), rgba(9,18,34,0.92));
  color: var(--gold);
}
@media (min-width: 1800px) {
  .insider-hub-inner { max-width: 1800px !important; }
}
@media (min-width: 1080px) and (max-width: 1199px) {
  .insider-hub-section { padding: 50px 52px 54px; }
  .insider-hub-inner { grid-template-columns: 0.92fr 1.08fr; gap: 30px; }
  .insider-topic-grid { gap: 8px; }
  .insider-topic-card { min-height: 70px; font-size: 9px; }
  .featured-video-card { grid-template-columns: 1fr; }
  .featured-video-image { min-height: 150px; }
  .featured-video-caption { padding: 14px; }
  .featured-video-caption strong { font-size: 19px; }
}
@media (max-width: 900px) {
  .insider-hub-section { padding: 60px 30px; }
  .insider-hub-inner { grid-template-columns: 1fr; gap: 26px; }
  .insider-editorial, .insider-video-panel { min-height: auto; }
  .insider-topic-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .insider-hub-section { padding: 54px 22px; }
  .insider-topic-grid, .video-mini-row { grid-template-columns: 1fr; }
  .video-panel-head, .insider-actions { flex-direction: column; align-items: flex-start; }
  .featured-video-card { grid-template-columns: 1fr; }
  .featured-video-image { min-height: 190px; }
}


/* STEP64 — Mallorca Insider compact height polish */



/* ==========================================================
   STEP83 — MOBILE COMPLETE OVERHAUL
   Only max-width:640px rules — Desktop/iPad untouched
   ========================================================== */

/* --- Hamburger & Drawer --- */
.mob-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  z-index: 1100;
}
.mob-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all .25s;
}
.mob-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1050;
  backdrop-filter: blur(2px);
}
.mob-nav-drawer {
  display: none;
  position: fixed;
  top: 0; right: 0;
  width: 78vw;
  max-width: 320px;
  height: 100%;
  background: #07182c;
  border-left: 1px solid rgba(201,169,110,.22);
  z-index: 1100;
  padding: 28px 28px 40px;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.mob-nav-drawer.open {
  transform: translateX(0);
}
.mob-nav-drawer a {
  display: block;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 14px 0;
  border-bottom: 1px solid rgba(201,169,110,.1);
}
.mob-nav-drawer a:hover { color: var(--gold); }
.mob-nav-close {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 20px;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 18px;
  padding: 4px 8px;
}
.mob-nav-lang {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(201,169,110,.16);
}
.mob-nav-lang button {
  background: none;
  border: none;
  color: rgba(255,255,255,.55);
  font-size: 11px;
  letter-spacing: .1em;
  cursor: pointer;
  padding: 0;
}
.mob-nav-lang button:hover { color: var(--gold); }

/* Mobile action bar — hidden on desktop */
.mobile-action-bar { display: none; }

@media (max-width: 640px) {
  html, body { width: 100%; overflow-x: hidden; }
  body { background: #07182c; padding-bottom: 70px; }

  /* ---- NAV ---- */
  nav#nav {
    position: fixed !important;
    top: 0; left: 0; right: 0;
    height: 72px !important;
    padding: 0 20px !important;
    display: flex !important;
    align-items: center !important;
    background: rgba(6,15,29,.97) !important;
    border-bottom: 1px solid rgba(201,169,110,.16);
    backdrop-filter: blur(14px);
    z-index: 999;
  }
  nav#nav .nav-links,
  nav#nav .nav-lang { display: none !important; }
  nav#nav .nav-logo {
    flex: 1 !important;
    gap: 10px !important;
  }
  nav#nav .nav-logo-epe { font-size: 28px !important; letter-spacing: 4px !important; }
  nav#nav .nav-logo-sub { font-size: 6.5px !important; letter-spacing: 1.6px !important; padding-left: 10px !important; }
  nav#nav::after { display: none !important; }

  .mob-hamburger {
    display: flex !important;
    flex-shrink: 0;
  }
  .mob-nav-overlay.open { display: block; }
  .mob-nav-drawer { display: flex; }

  /* ---- HERO ---- */
  .hero {
    min-height: 620px !important;
    height: auto !important;
    padding-top: 72px !important;
  }
  .hero-bg { background-position: 62% center !important; }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(7,24,44,.15) 0%, rgba(7,24,44,.28) 35%, rgba(7,24,44,.95) 100%),
      linear-gradient(90deg, rgba(7,24,44,.9) 0%, rgba(7,24,44,.55) 55%, rgba(7,24,44,.1) 100%) !important;
  }
  .hero-lines, .hero-scroll { display: none !important; }
  .hero-content {
    width: 100% !important;
    max-width: none !important;
    padding: 260px 22px 24px !important;
    margin: 0 !important;
    transform: none !important;
  }
  .hero-eyebrow { display: none !important; }
  .hero-title {
    font-size: 34px !important;
    line-height: 1.1 !important;
    letter-spacing: -.01em !important;
    margin-bottom: 12px !important;
  }
  .hero-subtitle { font-size: 14px !important; line-height: 1.6 !important; margin-bottom: 0 !important; }
  .hero-cta {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 20px !important;
  }
  .hero-cta .btn-primary,
  .hero-cta .btn-outline {
    width: 100% !important;
    min-height: 48px !important;
    justify-content: center !important;
    font-size: 10px !important;
    letter-spacing: .15em !important;
    padding: 0 16px !important;
  }
  .hero-highlights {
    position: relative !important;
    left: auto !important; right: auto !important; bottom: auto !important;
    width: auto !important;
    margin: 12px 22px 0 !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0 !important;
    border: 1px solid rgba(201,169,110,.16) !important;
    background: rgba(7,24,44,.78) !important;
    backdrop-filter: blur(10px);
    padding: 0 !important;
  }
  .hero-highlight,
  .hero-highlights > div {
    min-height: 74px !important;
    padding: 10px 5px !important;
    border-right: 1px solid rgba(201,169,110,.12) !important;
    text-align: center !important;
  }
  .hero-highlight:last-child,
  .hero-highlights > div:last-child { border-right: none !important; }
  .hero-highlight-title,
  .hero-highlights b,
  .hero-highlights strong { font-size: 7.5px !important; line-height: 1.3 !important; letter-spacing: .03em !important; }
  .hero-highlights small,
  .hero-highlights p { display: none !important; }

  /* ---- PROPERTIES: single card, swipeable ---- */
  .properties-section#properties {
    padding: 38px 22px 42px !important;
    background: #07182c !important;
  }
  .properties-section#properties .properties-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 14px !important;
    padding-bottom: 8px !important;
    margin: 0 -22px !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .properties-section#properties .property-card {
    flex: 0 0 82vw !important;
    width: 82vw !important;
    min-height: 320px !important;
    height: 320px !important;
    scroll-snap-align: start !important;
    margin: 0 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
  }
  .properties-section#properties .property-card-title { font-size: 17px !important; }
  .properties-section#properties .property-card-price { font-size: 14px !important; color: var(--gold) !important; }
  .properties-section#properties .property-card-tags { flex-wrap: nowrap !important; gap: 6px !important; }
  .properties-section#properties .property-tag:nth-child(n+3) { display: none !important; }
  .properties-section#properties .section-title,
  .properties-section#properties h2 { font-size: 22px !important; }

  /* ---- OFF-MARKET ---- */
  .offmarket-section,
  .not-found-section,
  .epe-offmarket-section {
    padding: 32px 22px !important;
    background: #07182c !important;
  }
  .offmarket-inner,
  .not-found-inner,
  .epe-offmarket-inner {
    display: block !important;
    border: 1px solid rgba(201,169,110,.18) !important;
    padding: 20px !important;
  }

  /* ---- ATLAS: simplified ---- */
  #atlas-teaser.atlas-teaser {
    padding: 40px 22px !important;
    background: #07182c !important;
  }
  #atlas-teaser .atlas-teaser-inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 0 !important;
  }
  #atlas-teaser .atlas-headline { font-size: 28px !important; line-height: 1.1 !important; }
  #atlas-teaser .atlas-subtext { font-size: 14px !important; }
  #atlas-teaser .atlas-benefits { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  #atlas-teaser .atlas-why-box { display: none !important; }
  #atlas-teaser .atlas-map-frame { transform: none !important; }
  #atlas-teaser .atlas-map-img {
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto !important;
    display: block !important;
    opacity: .85 !important;
  }
  #atlas-teaser .atlas-match-sidebar { display: block !important; }
  #atlas-teaser .atlas-match-card { margin-top: 14px !important; }
  /* Hide region labels on mobile atlas */
  #atlas-teaser .atlas-region-label,
  #atlas-teaser .region-label,
  #atlas-teaser .atlas-labels { display: none !important; }

  /* ---- ABOUT ---- */
  .about.about-compact { padding: 48px 22px !important; background: #07182c !important; }
  .about-inner { display: block !important; }
  .about-portrait {
    margin: 0 0 22px !important;
    max-height: 280px !important;
    overflow: hidden !important;
  }
  .about-portrait img {
    width: 100% !important;
    height: 280px !important;
    object-fit: cover !important;
    object-position: center top !important;
    border-radius: 4px !important;
  }
  .about-statement { text-align: left !important; }
  .about-statement h2,
  .about-title { font-size: 28px !important; line-height: 1.1 !important; }
  .about-trust-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0 !important;
    margin-top: 20px !important;
    border: 1px solid rgba(201,169,110,.16) !important;
  }
  .about-trust-item {
    min-height: 110px !important;
    border: 0 !important;
    border-right: 1px solid rgba(201,169,110,.12) !important;
    border-bottom: 1px solid rgba(201,169,110,.12) !important;
    padding: 14px 10px !important;
  }
  .about-trust-item:nth-child(2n) { border-right: 0 !important; }
  .about-cta { width: 100% !important; justify-content: center !important; }

  /* ---- PROPERTY MANAGEMENT — compact ---- */
  .pm-section { padding: 38px 22px !important; background: #07182c !important; }
  .pm-inner { display: block !important; }
  .pm-phone-visual {
    max-width: 200px !important;
    margin: 0 auto 22px !important;
    display: block !important;
  }
  .pm-visual { display: none !important; }
  .pm-title { font-size: 28px !important; line-height: 1.12 !important; }
  .pm-benefits { margin-top: 18px !important; }
  .pm-benefits li { font-size: 13px !important; padding: 8px 0 !important; }
  .pm-cta { width: 100% !important; justify-content: center !important; margin-top: 18px !important; }

  /* ---- LIFESTYLE TEASER ---- */
  .lifestyle-section { padding: 38px 22px !important; background: #07182c !important; }
  .lifestyle-shell { padding: 0 !important; }
  .lifestyle-intro { text-align: left !important; margin-bottom: 20px !important; }
  .lifestyle-title { font-size: 28px !important; line-height: 1.12 !important; }
  .lifestyle-copy { display: none !important; }
  .lifestyle-cards-row {
    display: flex !important;
    gap: 10px !important;
    overflow-x: auto !important;
    padding-bottom: 10px !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 0 -22px !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
  }
  .lifestyle-mini-card {
    flex: 0 0 88px !important;
    min-height: 160px !important;
    scroll-snap-align: start !important;
  }
  .lifestyle-mini-image { height: 110px !important; }
  .lifestyle-mini-title { font-size: 8.5px !important; padding: 7px !important; }
  .lifestyle-main-cta { width: 100% !important; justify-content: center !important; margin-top: 14px !important; }

  /* ---- INSIDER ---- */
  .insider-hub-section { padding: 42px 22px !important; background: #07182c !important; }
  .insider-hub-inner { display: block !important; }
  .insider-hub-title { font-size: 28px !important; line-height: 1.1 !important; }
  .insider-hub-copy { display: none !important; }
  .insider-topic-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 18px !important;
  }
  .insider-topic-card {
    min-height: 80px !important;
    display: flex !important;
    align-items: center !important;
    padding: 16px !important;
    border: 1px solid rgba(201,169,110,.16) !important;
    background: rgba(11,32,56,.6) !important;
  }
  .insider-actions { display: block !important; }
  .insider-primary-cta { width: 100% !important; justify-content: center !important; }
  .insider-secondary-link { display: none !important; }

  /* ---- VIDEOS ---- */
  .insider-video-panel { margin-top: 28px !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
  .video-panel-head { display: block !important; }
  .video-panel-head h3 { font-size: 24px !important; }
  .video-channel-btn { display: none !important; }
  .featured-video-card { min-height: 190px !important; }
  .video-mini-row { display: grid !important; grid-template-columns: repeat(2,1fr) !important; gap: 8px !important; }
  .video-mini-card { min-height: 100px !important; }

  /* ---- FINAL CONTACT ---- */
  .final-contact-section { padding: 38px 22px 24px !important; background: #07182c !important; }
  .final-contact-inner { display: block !important; }
  .final-contact-title { font-size: 28px !important; line-height: 1.1 !important; }
  .final-contact-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 18px !important;
  }
  .final-contact-btn { width: 100% !important; min-height: 54px !important; }
  .final-contact-meta { margin-top: 20px !important; }

  /* ---- FOOTER ---- */
  .epe-final-footer { padding: 32px 22px 86px !important; text-align: center !important; }
  .epe-footer-inner { display: block !important; }
  .epe-footer-brand { justify-content: center !important; margin-bottom: 16px !important; }
  .epe-footer-nav { justify-content: center !important; gap: 12px !important; flex-wrap: wrap !important; }
  .epe-footer-legal { justify-content: center !important; margin-top: 14px !important; }
  .epe-footer-seo { display: none !important; }

  /* ---- MOBILE BOTTOM BAR ---- */
  .mobile-action-bar {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1200;
    height: 62px;
    background: rgba(6,15,29,.97);
    border-top: 1px solid rgba(201,169,110,.2);
    backdrop-filter: blur(12px);
  }
  .mobile-action-bar a {
    color: rgba(255,255,255,.78);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 9.5px;
    letter-spacing: .04em;
    border-right: 1px solid rgba(201,169,110,.12);
    transition: color .2s;
  }
  .mobile-action-bar a:last-child { border-right: 0; }
  .mobile-action-bar a:hover { color: var(--gold); }
  .mobile-action-bar b { color: var(--gold); font-size: 16px; font-weight: 400; line-height: 1; }
}


/* ==========================================================
   STEP84 — MOBILE REFINEMENT PATCH
   Mobile-only fixes. Desktop/iPad left untouched.
   ========================================================== */
@media (max-width: 768px) {
  html, body { overflow-x: hidden !important; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)) !important; }

  /* 1) Clean mobile header: logo left, hamburger right, no desktop nav */
  nav#nav {
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important;
    height: 74px !important;
    min-height: 74px !important;
    padding: 0 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    overflow: visible !important;
    background: rgba(6,15,29,.985) !important;
    border-bottom: 1px solid rgba(201,169,110,.18) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    z-index: 5000 !important;
  }
  nav#nav .nav-links,
  nav#nav .nav-lang {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }
  nav#nav .nav-logo {
    display: flex !important;
    align-items: center !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: 235px !important;
    gap: 10px !important;
    text-decoration: none !important;
  }
  nav#nav .nav-logo-epe {
    font-size: 31px !important;
    line-height: 1 !important;
    letter-spacing: 4px !important;
    white-space: nowrap !important;
  }
  nav#nav .nav-logo-sub {
    display: block !important;
    font-size: 7px !important;
    line-height: 1.25 !important;
    letter-spacing: 1.5px !important;
    padding-left: 10px !important;
    white-space: normal !important;
    max-width: 110px !important;
  }
  .mob-hamburger {
    display: inline-flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: 0 0 46px !important;
    background: transparent !important;
    border: 0 !important;
    z-index: 5100 !important;
  }
  .mob-hamburger span {
    display: block !important;
    width: 27px !important;
    height: 2px !important;
    background: var(--gold) !important;
    border-radius: 99px !important;
  }
  .mob-nav-overlay.open { display: block !important; z-index: 5050 !important; }
  .mob-nav-drawer {
    display: flex !important;
    z-index: 5200 !important;
    width: min(84vw, 340px) !important;
    transform: translateX(105%) !important;
  }
  .mob-nav-drawer.open { transform: translateX(0) !important; }

  /* compensate fixed header */
  .hero, .life-hero, .properties-hero, .about-hero, main:first-of-type { scroll-margin-top: 82px !important; }

  /* 2) Home hero mobile refinement */
  .hero {
    min-height: 610px !important;
    height: auto !important;
    padding-top: 74px !important;
  }
  .hero-content {
    padding: 230px 22px 24px !important;
    margin: 0 !important;
    transform: none !important;
    max-width: none !important;
    width: 100% !important;
  }
  .hero-title { font-size: clamp(36px, 10.4vw, 48px) !important; line-height: 1.06 !important; }
  .hero-subtitle { font-size: 13.5px !important; line-height: 1.55 !important; max-width: 94vw !important; }
  .hero-cta { display: flex !important; flex-direction: column !important; gap: 10px !important; }
  .hero-cta .btn-primary, .hero-cta .btn-outline { width: 100% !important; min-height: 52px !important; }

  /* 3) Properties: real horizontal swipe with next card visible */
  .properties-section#properties { padding: 34px 0 44px !important; margin-top: 0 !important; }
  .properties-section#properties .epe-curated-header {
    padding: 0 22px !important;
    margin: 0 0 18px !important;
    display: block !important;
  }
  .properties-section#properties .epe-curated-title {
    font-size: 21px !important;
    line-height: 1.18 !important;
    letter-spacing: .14em !important;
    max-width: 92% !important;
  }
  .properties-section#properties .epe-all-properties-link {
    display: inline-block !important;
    margin-top: 12px !important;
    font-size: 10px !important;
    letter-spacing: .18em !important;
  }
  .properties-section#properties .properties-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 0 22px 12px !important;
    margin: 0 !important;
  }
  .properties-section#properties .properties-grid::-webkit-scrollbar,
  .lifestyle-cards-row::-webkit-scrollbar { display: none !important; }
  .properties-section#properties .property-card,
  .properties-section#properties .property-card:nth-of-type(n+5) {
    display: block !important;
    flex: 0 0 84vw !important;
    width: 84vw !important;
    max-width: 390px !important;
    min-height: 345px !important;
    height: 345px !important;
    scroll-snap-align: start !important;
    margin: 0 !important;
    border-radius: 6px !important;
  }
  .properties-section#properties .property-card-overlay { padding: 20px 18px !important; }
  .properties-section#properties .property-card-title { font-size: 18px !important; line-height: 1.15 !important; white-space: normal !important; }
  .properties-section#properties .property-card-price { font-size: 17px !important; color: var(--gold) !important; }
  .properties-section#properties .property-card-tags { gap: 8px !important; }
  .properties-section#properties .property-tag { font-size: 9px !important; padding: 5px 8px !important; }

  /* 4) Atlas mobile: no overlapping labels, cleaner map */
  #atlas-teaser .aml,
  #atlas-teaser .amc,
  #atlas-teaser .aml-name,
  #atlas-teaser .aml-pct,
  #atlas-teaser .amc-dot,
  #atlas-teaser .amc-name {
    display: none !important;
    visibility: hidden !important;
  }
  #atlas-teaser .atlas-map-area,
  #atlas-teaser .atlas-map-frame,
  #atlas-teaser .atm-wrap {
    overflow: visible !important;
  }
  #atlas-teaser .atlas-map-img {
    max-width: 340px !important;
    width: 100% !important;
    margin: 12px auto 8px !important;
    display: block !important;
    filter: drop-shadow(0 18px 34px rgba(0,0,0,.34)) !important;
  }
  #atlas-teaser .atlas-map-note { text-align: center !important; margin-top: 8px !important; }
  #atlas-teaser .atlas-match-sidebar { margin-top: 20px !important; }
  #atlas-teaser .atlas-match-card,
  #atlas-teaser .atlas-legend-card { max-width: none !important; width: 100% !important; }

  /* 5) Insider cards: 2x2 grid */
  .insider-topic-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-top: 18px !important;
  }
  .insider-topic-card {
    min-height: 108px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 12px !important;
    padding: 14px 10px !important;
  }
  .insider-topic-icon { margin: 0 !important; }

  /* 6) keep bottom action bar from covering content */
  .mobile-action-bar {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    height: 64px !important;
    padding-bottom: env(safe-area-inset-bottom) !important;
    box-sizing: content-box !important;
    z-index: 4900 !important;
  }
  .epe-final-footer, .final-contact-section, .life-page, main { padding-bottom: max(76px, env(safe-area-inset-bottom)) !important; }
}

/* STEP86 Mobile About Portrait Fix */
@media (max-width: 768px) {
  .about.about-compact .about-portrait {
    max-height: none !important;
    min-height: 360px !important;
    height: 360px !important;
    margin: 0 0 22px !important;
  }
  .about.about-compact .about-portrait img {
    height: 360px !important;
    object-fit: cover !important;
    object-position: center 16% !important;
  }
}
@media (max-width: 430px) {
  .about.about-compact .about-portrait {
    height: 380px !important;
    min-height: 380px !important;
  }
  .about.about-compact .about-portrait img {
    height: 380px !important;
    object-position: center 14% !important;
  }
}



/* ▼▼▼ BEGIN:STEP89-SUBPAGE-IPAD-FIX ▼▼▼ */
/* iPad 9.7" (1080px) fixes for ALL subpages — immobilien, ueber-mich, lifestyle */

@media (min-width: 1080px) and (max-width: 1199px) {

  /* --- NAV (alle Seiten) --- */
  nav#nav { padding: 24px 30px !important; }
  nav#nav.scrolled { padding: 16px 30px !important; }
  .nav-links { gap: 14px !important; }
  .nav-links a { font-size: 10.5px !important; letter-spacing: .11em !important; }
  .nav-lang { gap: 6px !important; }

  /* --- IMMOBILIEN Hero --- */
  .props-hero { min-height: 420px !important; }
  .props-hero-content { padding: 100px 40px 40px !important; }
  .props-title.props-hero-title { font-size: clamp(28px, 3.5vw, 48px) !important; }
  .props-copy.props-hero-copy { font-size: 12px !important; }
  .props-btn { padding: 12px 22px !important; font-size: 9px !important; }

  /* --- IMMOBILIEN Search + Grid --- */
  .props-shell { padding: 0 30px !important; }
  .search-inner { padding: 28px 30px !important; }
  .props-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 16px !important; }
  .props-grid-lower { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }

  /* --- IMMOBILIEN Off-Market --- */
  .offmarket-inner { gap: 20px !important; }
  .offmarket-visual { min-height: 340px !important; }

  /* --- IMMOBILIEN Why-EPE --- */
  .why-grid { gap: 12px !important; }
  .why-mini { padding: 20px 14px !important; }
  .why-mini h3 { font-size: 13px !important; }
  .why-mini p { font-size: 11px !important; }

  /* --- ÜBER MICH Hero --- */
  .about-hero { min-height: 420px !important; }
  .about-hero-content { padding: 100px 40px 40px !important; }
  .about-title.about-hero-title { font-size: clamp(26px, 3.2vw, 44px) !important; }

  /* --- ÜBER MICH Story + Promise --- */
  .about-shell { padding: 0 30px !important; }
  .about-story-inner { grid-template-columns: 1fr 1fr !important; gap: 30px !important; }
  .promise-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
  .promise-card { padding: 24px 18px !important; }
  .promise-card h3 { font-size: 15px !important; }

  /* --- ÜBER MICH Process --- */
  .process-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 16px !important; }
  .process-step { padding: 20px 14px !important; }
  .process-step h3 { font-size: 13px !important; }

  /* --- LIFESTYLE Hero --- */
  .life-hero { min-height: 420px !important; }
  .life-hero .life-shell { padding: 100px 30px 40px !important; }
  .life-hero h1 { font-size: clamp(28px, 3.5vw, 50px) !important; }

  /* --- LIFESTYLE Topics --- */
  .life-shell { padding: 0 30px !important; }
  .life-topics { grid-template-columns: repeat(5, 1fr) !important; gap: 10px !important; }
  .life-topic { min-height: 260px !important; }
  .life-eyes { grid-template-columns: repeat(4, 1fr) !important; gap: 12px !important; }

}

/* iPad 9.7" portrait / smaller tablets (768px–1079px) */
@media (min-width: 769px) and (max-width: 1079px) {

  /* Immobilien */
  .props-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .props-grid-lower { grid-template-columns: repeat(2, 1fr) !important; }
  .props-shell { padding: 0 24px !important; }

  /* Über mich */
  .about-shell { padding: 0 24px !important; }
  .promise-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .process-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Lifestyle */
  .life-shell { padding: 0 24px !important; }
  .life-topics { grid-template-columns: repeat(3, 1fr) !important; }
  .life-eyes { grid-template-columns: repeat(2, 1fr) !important; }
}
/* ▲▲▲ END:STEP89-SUBPAGE-IPAD-FIX ▲▲▲ */

/* ▼▼▼ BEGIN:STEP90-IPAD-TARGETED-FIX ▼▼▼ */
/* iPad 9.7" (1080px–1199px) — gezielter Fix für Unterseiten */

@media (min-width: 1080px) and (max-width: 1199px) {

  /* 1. NAV — "Property Management" passt nicht in eine Zeile */
  .nav-links a[href="index.html#pm"] {
    font-size: 9px !important;
    letter-spacing: .08em !important;
  }
  /* Nav generell etwas kompakter */
  .nav-links { gap: 12px !important; }
  .nav-links a { font-size: 10px !important; letter-spacing: .10em !important; }
  .nav-lang { gap: 5px !important; }
  .nav-lang button { font-size: 9px !important; }

  /* 2. ÜBER MICH — Hero Foto Höhe begrenzen */
  .about-hero-media {
    max-height: 520px !important;
    overflow: hidden !important;
  }
  .about-hero-media img {
    max-height: 520px !important;
    object-fit: cover !important;
    object-position: 50% 25% !important;
  }

  /* 3. ÜBER MICH — Story/Mallorca Foto begrenzen */
  .about-story-media {
    max-height: 400px !important;
    overflow: hidden !important;
  }
  .about-story-media img {
    max-height: 400px !important;
    object-fit: cover !important;
    object-position: 45% 40% !important;
  }

  /* 4. PROMISE CARDS — 4-spaltig behalten (inline CSS setzt bei 1100px 2-spaltig) */
  .promise-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
  }
  .promise-card {
    padding: 20px 12px 18px !important;
    min-height: 130px !important;
  }
  .promise-card h3 { font-size: 12px !important; }
  .promise-card p { font-size: 10px !important; }

  /* 5. PROCESS STEPS — etwas kompakter */
  .process-circle {
    width: 44px !important;
    height: 44px !important;
    font-size: 13px !important;
  }
  .process-step h3 { font-size: 11px !important; }
  .process-step p { font-size: 9px !important; }
  .process-num { font-size: 9px !important; }
}
/* ▲▲▲ END:STEP90-IPAD-TARGETED-FIX ▲▲▲ */


/* ▼▼▼ BEGIN:STEP91-REAL-5K-FIX ▼▼▼ */
@media (min-width: 2200px){

  .hero-content,
  #atlas-teaser .atlas-teaser-inner,
  .about-inner,
  .final-contact-inner,
  .insider-hub-inner,
  .epe-footer-inner{
    max-width: 1800px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .properties-section#properties{
    max-width: 1900px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .properties-grid{
    gap:32px !important;
  }

  .atlas-map-img{
    max-width: 1100px !important;
  }
}

@media (min-width: 2560px){

  .hero-content,
  #atlas-teaser .atlas-teaser-inner,
  .about-inner,
  .final-contact-inner,
  .insider-hub-inner,
  .epe-footer-inner{
    max-width: 2100px !important;
  }

  .properties-section#properties{
    max-width: 2200px !important;
  }

  .properties-grid{
    gap:40px !important;
  }

  .atlas-map-img{
    max-width: 1300px !important;
  }
}
/* ▲▲▲ END:STEP91-REAL-5K-FIX ▲▲▲ */

/* ▼▼▼ BEGIN:STEP92-REAL-5K-PROPERTIES-CENTER-FIX ▼▼▼
   Corrects STEP91: keep the homepage properties SECTION full-width.
   Only the inner header/grid/search content gets a controlled max-width.
   Uses higher specificity to beat homepage inline CSS. */
@media (min-width: 2200px){
  /* Hero text must not become a giant 5K container */
  body .hero .hero-content{
    max-width: 760px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Section stays full bleed because it overlaps the hero via negative margin */
  body .properties-section#properties{
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    padding-left: max(60px, calc((100vw - 1800px) / 2)) !important;
    padding-right: max(60px, calc((100vw - 1800px) / 2)) !important;
  }

  /* Only inner content is centered and widened */
  body .properties-section#properties .epe-curated-header,
  body .properties-section#properties .properties-grid,
  body .properties-section#properties .epe-personal-search{
    max-width: 1800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body .properties-section#properties .properties-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 26px !important;
  }

  body .properties-section#properties .property-card{
    aspect-ratio: 1.42 / 1 !important;
  }

  /* Other real large-screen containers: controlled, not over-expanded */
  body #atlas-teaser .atlas-teaser-inner,
  body .about-inner,
  body .final-contact-inner,
  body .insider-hub-inner,
  body .epe-footer-inner{
    max-width: 1800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body .atlas-map-img{
    max-width: 1060px !important;
  }
}

@media (min-width: 2560px){
  body .hero .hero-content{
    max-width: 800px !important;
  }

  body .properties-section#properties{
    max-width: none !important;
    padding-left: max(70px, calc((100vw - 1900px) / 2)) !important;
    padding-right: max(70px, calc((100vw - 1900px) / 2)) !important;
  }

  body .properties-section#properties .epe-curated-header,
  body .properties-section#properties .properties-grid,
  body .properties-section#properties .epe-personal-search{
    max-width: 1900px !important;
  }

  body .properties-section#properties .properties-grid{
    gap: 30px !important;
  }

  body #atlas-teaser .atlas-teaser-inner,
  body .about-inner,
  body .final-contact-inner,
  body .insider-hub-inner,
  body .epe-footer-inner{
    max-width: 1900px !important;
  }

  body .atlas-map-img{
    max-width: 1160px !important;
  }
}
/* ▲▲▲ END:STEP92-REAL-5K-PROPERTIES-CENTER-FIX ▲▲▲ */


/* ▼▼▼ BEGIN:STEP93-REAL-5K-CALIBRATION-FIX ▼▼▼
   Purpose: calm down the 5K hero again and widen only the real content tracks.
   This deliberately overrides the older 5K blocks and STEP91/STEP92 without touching iPad/mobile. */
@media (min-width: 2200px){
  /* HERO: reset the old 5K inflation. Keep homepage hero compact and stable. */
  body .hero{
    height: min(720px, 78vh) !important;
    min-height: min(720px, 78vh) !important;
  }
  body .hero-bg{
    background-position: center 40% !important;
    background-size: cover !important;
  }
  body .hero .hero-content{
    max-width: 680px !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 100px 60px 48px !important;
    transform: translateY(-42px) !important;
  }
  body .hero .hero-title{
    font-size: clamp(42px, 5.8vw, 72px) !important;
    line-height: 1.02 !important;
    margin-bottom: 20px !important;
  }
  body .hero .hero-subtitle{
    max-width: 440px !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
    margin-bottom: 26px !important;
  }
  body .hero .hero-cta .btn-primary,
  body .hero .hero-cta .btn-outline{
    padding: 13px 30px !important;
    font-size: 10px !important;
  }

  /* PROPERTIES: section remains full bleed; only the content rail is widened. */
  body .properties-section#properties{
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    padding-left: max(60px, calc((100vw - 1900px) / 2)) !important;
    padding-right: max(60px, calc((100vw - 1900px) / 2)) !important;
  }
  body .properties-section#properties .epe-curated-header,
  body .properties-section#properties .properties-grid,
  body .properties-section#properties .epe-personal-search{
    width: 100% !important;
    max-width: 1900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body .properties-section#properties .properties-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
  }
  body .properties-section#properties .property-card{
    aspect-ratio: 1.36 / 1 !important;
    min-height: 0 !important;
  }

  /* GLOBAL SECTION RAIL: real classes only. No fake .*-inner selectors. */
  body #atlas-teaser .atlas-teaser-inner,
  body .about-inner,
  body .final-contact-inner,
  body .insider-hub-inner,
  body .epe-footer-inner{
    width: min(1900px, calc(100vw - 120px)) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* ATLAS: enlarge the map slightly, not the whole section uncontrollably. */
  body #atlas-teaser .atm-wrap{
    width: 100% !important;
    max-width: 760px !important;
  }
  body #atlas-teaser .atlas-map-img{
    width: 100% !important;
    max-width: 760px !important;
  }

  /* ABOUT: keep columns readable; do not stretch text endlessly. */
  body .about-inner{
    grid-template-columns: 260px 360px 1fr !important;
    gap: 42px !important;
  }
}

@media (min-width: 2560px){
  /* Keep 5K premium, but prevent the previous 82px/giant-hero effect. */
  body .hero{
    height: min(720px, 74vh) !important;
    min-height: min(720px, 74vh) !important;
  }
  body .hero-bg{
    background-position: center 40% !important;
  }
  body .hero .hero-content{
    max-width: 700px !important;
    padding: 100px 70px 48px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: translateY(-42px) !important;
  }
  body .hero .hero-title{
    font-size: 74px !important;
  }

  body .properties-section#properties{
    padding-left: max(70px, calc((100vw - 2100px) / 2)) !important;
    padding-right: max(70px, calc((100vw - 2100px) / 2)) !important;
  }
  body .properties-section#properties .epe-curated-header,
  body .properties-section#properties .properties-grid,
  body .properties-section#properties .epe-personal-search{
    max-width: 2100px !important;
  }
  body .properties-section#properties .properties-grid{
    gap: 26px !important;
  }

  body #atlas-teaser .atlas-teaser-inner,
  body .about-inner,
  body .final-contact-inner,
  body .insider-hub-inner,
  body .epe-footer-inner{
    width: min(2100px, calc(100vw - 140px)) !important;
  }
  body #atlas-teaser .atm-wrap,
  body #atlas-teaser .atlas-map-img{
    max-width: 820px !important;
  }
}
/* ▲▲▲ END:STEP93-REAL-5K-CALIBRATION-FIX ▲▲▲ */

/* ▼▼▼ BEGIN:STEP94-REAL-5K-HERO-UNCROP-WIDTH-CALIBRATION ▼▼▼
   Purpose: do not inflate the hero; reveal more of the background image on large displays
   and use the same wide real-content rail that works in the Insider block. */
@media (min-width: 2200px){
  /* HERO: wider screen needs more vertical image window + bottom anchor, otherwise cover crops the pool. */
  body .hero{
    height: min(860px, 82vh) !important;
    min-height: 760px !important;
    max-height: 860px !important;
  }
  body .hero-bg{
    background-size: cover !important;
    background-position: center bottom !important;
  }
  body .hero .hero-content{
    max-width: 720px !important;
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 118px 72px 58px !important;
    transform: translateY(-18px) !important;
  }
  body .hero .hero-title{
    font-size: clamp(54px, 4.15vw, 74px) !important;
    line-height: 1.02 !important;
  }
  body .hero .hero-subtitle{
    max-width: 500px !important;
    font-size: 14px !important;
  }

  /* PROPERTIES: make the card rail genuinely wide, like Insider, but keep the section full-bleed. */
  body .properties-section#properties{
    width: 100% !important;
    max-width: none !important;
    padding-left: max(36px, calc((100vw - 2320px) / 2)) !important;
    padding-right: max(36px, calc((100vw - 2320px) / 2)) !important;
  }
  body .properties-section#properties .epe-curated-header,
  body .properties-section#properties .properties-grid,
  body .properties-section#properties .epe-personal-search{
    width: min(2320px, calc(100vw - 72px)) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body .properties-section#properties .properties-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body .properties-section#properties .property-card{
    aspect-ratio: 1.48 / 1 !important;
    min-height: 0 !important;
  }

  /* WIDE SECTION RAILS: Insider worked because it uses a real inner grid.
     Apply that principle to the real wrappers that were still too narrow. */
  body #atlas-teaser .atlas-teaser-inner,
  body .insider-hub-inner,
  body .lifestyle-shell,
  body .pm-grid.pm-grid-step32,
  body .final-contact-inner,
  body .epe-footer-inner{
    width: min(2320px, calc(100vw - 120px)) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* ABOUT: widen the rail, but keep text columns human-readable. */
  body .about-inner{
    width: min(2200px, calc(100vw - 120px)) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    grid-template-columns: 300px 430px minmax(760px, 1fr) !important;
    gap: 56px !important;
  }

  /* PM and Lifestyle: distribute available width instead of leaving a narrow island. */
  body .pm-grid.pm-grid-step32{
    grid-template-columns: minmax(300px, .82fr) minmax(170px, .42fr) minmax(420px, .9fr) minmax(620px, 1.25fr) !important;
    gap: clamp(40px, 3.2vw, 84px) !important;
  }
  body .lifestyle-shell{
    grid-template-columns: 360px minmax(0, 1fr) !important;
    gap: 64px !important;
  }
  body .lifestyle-cards-row{
    gap: 24px !important;
  }

  /* ATLAS: slightly wider inner map, but not oversized. */
  body #atlas-teaser .atm-wrap,
  body #atlas-teaser .atlas-map-img{
    max-width: 900px !important;
  }
}

@media (min-width: 2560px){
  body .hero{
    height: min(920px, 84vh) !important;
    min-height: 800px !important;
    max-height: 920px !important;
  }
  body .hero-bg{
    background-position: center bottom !important;
  }
  body .hero .hero-content{
    max-width: 760px !important;
    padding: 126px 88px 64px !important;
    transform: translateY(-16px) !important;
  }
  body .hero .hero-title{
    font-size: 76px !important;
  }

  body .properties-section#properties{
    padding-left: max(40px, calc((100vw - 2460px) / 2)) !important;
    padding-right: max(40px, calc((100vw - 2460px) / 2)) !important;
  }
  body .properties-section#properties .epe-curated-header,
  body .properties-section#properties .properties-grid,
  body .properties-section#properties .epe-personal-search{
    width: min(2460px, calc(100vw - 80px)) !important;
    max-width: none !important;
  }
  body .properties-section#properties .properties-grid{
    gap: 26px !important;
  }

  body #atlas-teaser .atlas-teaser-inner,
  body .insider-hub-inner,
  body .lifestyle-shell,
  body .pm-grid.pm-grid-step32,
  body .final-contact-inner,
  body .epe-footer-inner{
    width: min(2460px, calc(100vw - 140px)) !important;
    max-width: none !important;
  }
  body .about-inner{
    width: min(2360px, calc(100vw - 140px)) !important;
    grid-template-columns: 330px 470px minmax(820px, 1fr) !important;
    gap: 64px !important;
  }
  body #atlas-teaser .atm-wrap,
  body #atlas-teaser .atlas-map-img{
    max-width: 960px !important;
  }
}
/* ▲▲▲ END:STEP94-REAL-5K-HERO-UNCROP-WIDTH-CALIBRATION ▲▲▲ */


/* ▼▼▼ BEGIN:STEP95-SUBPAGES-REAL-5K-SYSTEM-FIX ▼▼▼
   Purpose: apply the successful Step94 wide-rail principle to Unterseiten.
   Important: the subpages contain their own inline CSS loaded after styles.css,
   so this block is also injected late into the subpage HTML files. */
@media (min-width: 2200px){
  /* Immobilien page */
  body.epe-properties-page .props-shell{
    width:min(2320px, calc(100vw - 120px))!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  body.epe-properties-page .props-hero{
    min-height:min(760px, 78vh)!important;
  }
  body.epe-properties-page .props-hero::before{
    background-position:center bottom!important;
    transform:scale(1)!important;
  }
  body.epe-properties-page .props-hero-inner{
    min-height:min(760px, 78vh)!important;
    grid-template-columns:minmax(0, 720px) 1fr!important;
  }
  body.epe-properties-page .props-hero-card{
    max-width:680px!important;
  }
  body.epe-properties-page .props-hero-title{
    font-size:clamp(54px, 3.4vw, 78px)!important;
  }
  body.epe-properties-page .props-listing-section .properties-grid{
    grid-template-columns:repeat(4, minmax(0,1fr))!important;
    gap:26px!important;
  }
  body.epe-properties-page .props-listing-section .property-card{
    min-height:430px!important;
  }
  body.epe-properties-page .offmarket-card,
  body.epe-properties-page .props-atlas-band-inner,
  body.epe-properties-page .props-final-inner{
    width:min(2320px, calc(100vw - 120px))!important;
    max-width:none!important;
  }

  /* Über mich page */
  body.epe-about-page .about-shell{
    width:min(2320px, calc(100vw - 120px))!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  body.epe-about-page .about-hero-grid{
    min-height:min(780px, 80vh)!important;
    grid-template-columns:40% 60%!important;
  }
  body.epe-about-page .about-hero-media{
    min-height:min(780px, 80vh)!important;
    max-height:860px!important;
  }
  body.epe-about-page .about-hero-media img{
    object-position:50% 34%!important;
  }
  body.epe-about-page .about-hero-title{
    font-size:clamp(58px, 3.2vw, 82px)!important;
  }
  body.epe-about-page .about-story-grid{
    grid-template-columns:52% 48%!important;
    min-height:430px!important;
  }
  body.epe-about-page .about-story-media img{
    min-height:430px!important;
  }
  body.epe-about-page .promise-grid{
    grid-template-columns:repeat(4, minmax(0,1fr))!important;
    gap:24px!important;
  }
  body.epe-about-page .process-row{
    grid-template-columns:repeat(7, minmax(0,1fr))!important;
    gap:18px!important;
  }
  body.epe-about-page .eyes-grid{
    grid-template-columns:repeat(4, minmax(0,1fr))!important;
    gap:24px!important;
  }
  body.epe-about-page .closing-grid{
    grid-template-columns:minmax(0, 1fr) minmax(420px, 620px)!important;
    gap:72px!important;
  }

  /* Lifestyle page */
  body.epe-lifestyle-page .life-shell,
  body.epe-lifestyle-page .life-hero .life-shell,
  body.epe-lifestyle-page .epe-footer-inner,
  body.epe-lifestyle-page .epe-footer-bottom{
    width:min(2320px, calc(100vw - 120px))!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  body.epe-lifestyle-page .life-hero{
    min-height:min(780px, 80vh)!important;
  }
  body.epe-lifestyle-page .life-hero::before{
    background-position:center bottom!important;
  }
  body.epe-lifestyle-page .life-hero-content{
    max-width:680px!important;
    margin-left:0!important;
    margin-right:auto!important;
    padding:120px 0 88px!important;
  }
  body.epe-lifestyle-page .life-hero h1{
    font-size:clamp(56px, 3.25vw, 82px)!important;
  }
  body.epe-lifestyle-page .life-topics{
    grid-template-columns:repeat(5, minmax(0,1fr))!important;
    gap:26px!important;
  }
  body.epe-lifestyle-page .life-topic-img{
    height:250px!important;
  }
  body.epe-lifestyle-page .life-eyes{
    grid-template-columns:repeat(4, minmax(0,1fr))!important;
    gap:26px!important;
  }
  body.epe-lifestyle-page .life-eye{
    min-height:430px!important;
  }
  body.epe-lifestyle-page .life-atlas{
    grid-template-columns:220px 1fr auto!important;
    gap:52px!important;
    padding:42px 52px!important;
  }
  body.epe-lifestyle-page .life-atlas img{
    width:190px!important;
  }
  body.epe-lifestyle-page .life-closing{
    grid-template-columns:460px 1fr auto!important;
    gap:72px!important;
  }
}

@media (min-width: 2560px){
  body.epe-properties-page .props-shell,
  body.epe-properties-page .offmarket-card,
  body.epe-properties-page .props-atlas-band-inner,
  body.epe-properties-page .props-final-inner,
  body.epe-about-page .about-shell,
  body.epe-lifestyle-page .life-shell,
  body.epe-lifestyle-page .life-hero .life-shell,
  body.epe-lifestyle-page .epe-footer-inner,
  body.epe-lifestyle-page .epe-footer-bottom{
    width:min(2460px, calc(100vw - 140px))!important;
  }
  body.epe-properties-page .props-hero,
  body.epe-properties-page .props-hero-inner,
  body.epe-about-page .about-hero-grid,
  body.epe-about-page .about-hero-media,
  body.epe-lifestyle-page .life-hero{
    min-height:min(840px, 82vh)!important;
  }
  body.epe-properties-page .props-listing-section .property-card{
    min-height:460px!important;
  }
  body.epe-lifestyle-page .life-topic-img{
    height:275px!important;
  }
}
/* ▲▲▲ END:STEP95-SUBPAGES-REAL-5K-SYSTEM-FIX ▲▲▲ */


/* STEP108 CLEANUP: STEP98, STEP99, STEP101 entfernt — waren Testreste */

/* ── STEP120 CLIENT VOICES ── */
.client-voices-section{
  position:relative;
  padding:72px 50px 60px;
  background:
    radial-gradient(circle at 50% 0%, rgba(32,60,112,.28), transparent 48%),
    linear-gradient(135deg, #07111f 0%, #0b1728 48%, #0a1323 100%);
  border-top:1px solid rgba(201,169,110,.16);
  overflow:hidden;
}
.client-voices-section::before{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(255,255,255,.015), transparent 42%);
  pointer-events:none;
}
.client-voices-inner{position:relative;z-index:1;max-width:1240px;margin:0 auto;}
.client-voices-head{text-align:center;max-width:820px;margin:0 auto;}
.client-voices-eyebrow{justify-content:center;margin-bottom:22px;}
.client-voices-title,
.client-voices-head h2{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(42px,5vw,72px);
  line-height:.98;
  font-weight:300;
  color:var(--white);
  margin:0;
}
.client-voices-title em,
.client-voices-head h2 em{color:var(--gold);font-style:italic;font-weight:300;}
.client-voices-copy{max-width:680px;margin:22px auto 0;color:rgba(255,255,255,.68);font-size:16px;line-height:1.75;}
.client-voices-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:38px;}
.client-voice-card{
  min-height:300px;
  padding:32px 30px 28px;
  border:1px solid rgba(201,169,110,.18);
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  box-shadow:0 24px 70px rgba(0,0,0,.18);
  position:relative;
}
.client-voice-card::after{content:"";position:absolute;inset:1px;border:1px solid rgba(255,255,255,.035);pointer-events:none;}
.client-voice-mark{font-family:'Cormorant Garamond',serif;font-size:86px;line-height:.65;color:var(--gold);opacity:.9;margin-bottom:16px;}
.client-voice-card p{font-family:'Cormorant Garamond',serif;font-size:22px;line-height:1.55;font-style:italic;color:rgba(255,255,255,.9);margin:0 0 28px;}
.client-voice-line{width:42px;height:1px;background:var(--gold);opacity:.65;margin:0 0 18px;}
.client-voice-card strong{display:block;color:var(--gold);font-size:13px;letter-spacing:2.4px;text-transform:uppercase;margin-bottom:8px;}
.client-voice-card > span{color:rgba(255,255,255,.68);font-size:12px;letter-spacing:1.8px;text-transform:uppercase;}
.client-voices-note{text-align:center;margin:18px auto 0;max-width:780px;color:rgba(255,255,255,.46);font-size:12px;line-height:1.7;letter-spacing:.4px;}
.client-trust-row{display:grid;grid-template-columns:repeat(4,1fr);margin-top:34px;border:1px solid rgba(201,169,110,.14);background:rgba(255,255,255,.02);}
.client-trust-row div{padding:24px 20px;text-align:center;border-right:1px solid rgba(201,169,110,.12);}
.client-trust-row div:last-child{border-right:0;}
.client-trust-row b{display:block;font-family:'Cormorant Garamond',serif;font-size:34px;color:var(--gold);font-weight:300;margin-bottom:8px;}
.client-trust-row span{font-size:11px;color:rgba(255,255,255,.72);letter-spacing:1.8px;text-transform:uppercase;}
@media(max-width:900px){
  .client-voices-section{padding:68px 24px 58px;}
  .client-voices-grid{grid-template-columns:1fr;gap:18px;margin-top:34px;}
  .client-voice-card{min-height:auto;padding:34px 26px 28px;}
  .client-voice-card p{font-size:20px;}
  .client-trust-row{grid-template-columns:1fr 1fr;}
  .client-trust-row div:nth-child(2){border-right:0;}
  .client-trust-row div:nth-child(-n+2){border-bottom:1px solid rgba(201,169,110,.12);}
}
@media(max-width:520px){
  .client-trust-row{grid-template-columns:1fr;}
  .client-trust-row div{border-right:0;border-bottom:1px solid rgba(201,169,110,.12);}
  .client-trust-row div:last-child{border-bottom:0;}
}
