/*
Theme Name: Marbella Exklusiv
Theme URI: https://hf-marbella.net
Author: HF Heidi Fischer Marbella
Author URI: https://hf-marbella.net
Description: Luxus Immobilien Theme für HF Heidi Fischer Marbella
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: marbella-exklusiv
Tags: real-estate, luxury, one-column, custom-menu, featured-images
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
*/

/* ========================================
   CSS RESET & BASE
======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #111111;
  background-color: #ffffff;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

/* ========================================
   CSS VARIABLES
======================================== */
:root {
  --primary: #0d9488;
  --primary-hover: #0a7c72;
  --white: #ffffff;
  --black: #111111;
  --neutral-50: #fafafa;
  --neutral-100: #f5f5f5;
  --neutral-200: #e5e5e5;
  --neutral-300: #d4d4d4;
  --neutral-400: #a3a3a3;
  --neutral-500: #737373;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;
  --whatsapp: #25D366;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* ========================================
   TYPOGRAPHY
======================================== */
.font-serif {
  font-family: var(--font-serif);
}

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

/* ========================================
   CONTAINER
======================================== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

/* ========================================
   HEADER
======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.5s ease;
}

.site-header.transparent {
  background: transparent;
}

.site-header.solid {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 1rem;
}

@media (min-width: 1024px) {
  .header-inner {
    height: 96px;
    padding: 0 2rem;
  }
}

.header-logo img {
  height: 40px;
  width: auto;
  transition: filter 0.5s ease;
}

@media (min-width: 1024px) {
  .header-logo img {
    height: 44px;
  }
}

.site-header.transparent .header-logo img {
  filter: brightness(0) invert(1);
}

.site-header.solid .header-logo img {
  filter: brightness(0);
}

.header-nav {
  display: none;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .header-nav {
    display: flex;
  }
}

.header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.site-header.transparent .header-nav a {
  color: rgba(255, 255, 255, 0.9);
}

.site-header.transparent .header-nav a:hover {
  color: #ffffff;
}

.site-header.solid .header-nav a {
  color: var(--neutral-700);
}

.site-header.solid .header-nav a:hover {
  color: var(--primary);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .header-actions {
    display: flex;
  }
}

.btn-favorites {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.site-header.transparent .btn-favorites {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.site-header.transparent .btn-favorites:hover {
  background: rgba(255, 255, 255, 0.1);
}

.site-header.solid .btn-favorites {
  border: 1px solid var(--neutral-200);
  color: var(--neutral-700);
}

.site-header.solid .btn-favorites:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-call {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--primary);
  color: #ffffff;
  transition: background 0.3s ease;
}

.btn-call:hover {
  background: var(--primary-hover);
}

.mobile-menu-toggle {
  display: flex;
  padding: 0.5rem;
  margin-right: -0.5rem;
}

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

.site-header.transparent .mobile-menu-toggle {
  color: #ffffff;
}

.site-header.solid .mobile-menu-toggle {
  color: var(--neutral-800);
}

/* ========================================
   HERO SECTION
======================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 3rem;
}

@media (min-width: 1024px) {
  .hero-section {
    padding-bottom: 5rem;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

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

.hero-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

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

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

.hero-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

/* Hero Stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .hero-stats {
    gap: 3rem;
  }
}

.hero-stat-value {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: #ffffff;
}

@media (min-width: 1024px) {
  .hero-stat-value {
    font-size: 3rem;
  }
}

.hero-stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.hero-stat-divider {
  display: none;
  width: 1px;
  height: 3rem;
  background: rgba(255, 255, 255, 0.2);
}

@media (min-width: 640px) {
  .hero-stat-divider {
    display: block;
  }
}

/* ========================================
   SEARCH FORM
======================================== */
.search-form-container {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-2xl);
}

@media (min-width: 1024px) {
  .search-form-container {
    border-radius: 1.5rem;
    padding: 2rem;
  }
}

.search-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

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

@media (min-width: 1024px) {
  .search-form-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
  }
}

.search-field {
  display: flex;
  flex-direction: column;
}

.search-field.span-2 {
  grid-column: span 2;
}

@media (min-width: 768px) {
  .search-field.span-2 {
    grid-column: span 1;
  }
}

.search-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--neutral-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.search-select {
  width: 100%;
  padding: 0.75rem 1rem;
  padding-right: 2.5rem;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--neutral-800);
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a3a3a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.search-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: background 0.3s ease;
  grid-column: span 2;
}

@media (min-width: 768px) {
  .search-button {
    grid-column: span 1;
  }
}

.search-button:hover {
  background: var(--primary-hover);
}

.search-button svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Quick Links */
.search-quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--neutral-100);
}

.search-quick-links span {
  font-size: 0.875rem;
  color: var(--neutral-400);
}

.search-quick-links a {
  font-size: 0.875rem;
  color: var(--neutral-600);
  padding: 0.375rem 0.75rem;
  background: var(--neutral-50);
  border-radius: 9999px;
  transition: color 0.3s ease, background 0.3s ease;
}

.search-quick-links a:hover {
  color: var(--primary);
  background: rgba(13, 148, 136, 0.1);
}

/* ========================================
   CATEGORIES SECTION
======================================== */
.categories-section {
  padding: 5rem 0;
  background: #ffffff;
}

@media (min-width: 1024px) {
  .categories-section {
    padding: 7rem 0;
  }
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .section-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

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

.section-subtitle {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--neutral-900);
  margin-top: 0.75rem;
}

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

.nav-arrows {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .nav-arrows {
    display: flex;
  }
}

.nav-arrow {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 2px solid var(--neutral-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-600);
  transition: all 0.3s ease;
}

.nav-arrow:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

/* Categories Scroll */
.categories-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0 1rem 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.categories-scroll::-webkit-scrollbar {
  display: none;
}

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

.category-card {
  flex-shrink: 0;
  width: 75vw;
  min-width: 280px;
  max-width: 380px;
  aspect-ratio: 3/4;
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .category-card {
    width: 45vw;
  }
}

@media (min-width: 768px) {
  .category-card {
    width: 30vw;
  }
}

@media (min-width: 1024px) {
  .category-card {
    width: 22vw;
  }
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2), transparent);
}

.category-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.category-count {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.category-name {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.category-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.75);
  transition: all 0.3s ease;
}

.category-card:hover .category-arrow {
  opacity: 1;
  transform: scale(1);
  background: #ffffff;
}

.category-arrow svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--neutral-900);
}

/* ========================================
   FEATURED PROPERTIES SECTION
======================================== */
.featured-section {
  padding: 5rem 0;
  background: var(--neutral-50);
}

@media (min-width: 1024px) {
  .featured-section {
    padding: 7rem 0;
  }
}

.featured-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .featured-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

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

.featured-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-all-properties {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--neutral-900);
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn-all-properties:hover {
  background: var(--primary);
}

.btn-all-properties svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.btn-all-properties:hover svg {
  transform: translateX(4px);
}

/* Properties Scroll */
.properties-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 0 1rem 1.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.properties-scroll::-webkit-scrollbar {
  display: none;
}

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

/* Property Card */
.property-card {
  flex-shrink: 0;
  width: 85vw;
  min-width: 300px;
  max-width: 400px;
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .property-card {
    width: 45vw;
  }
}

@media (min-width: 768px) {
  .property-card {
    width: 30vw;
  }
}

@media (min-width: 1024px) {
  .property-card {
    width: 23vw;
  }
}

@media (min-width: 1280px) {
  .property-card {
    width: 20vw;
  }
}

.property-card-inner {
  background: #ffffff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-100);
  height: 100%;
  transition: box-shadow 0.5s ease;
}

.property-card:hover .property-card-inner {
  box-shadow: var(--shadow-2xl);
}

.property-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.property-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: #ffffff;
  color: var(--neutral-900);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  box-shadow: var(--shadow-lg);
}

.property-favorite {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-400);
  transition: all 0.3s ease;
}

.property-favorite:hover {
  color: #ef4444;
  transform: scale(1.1);
}

.property-content {
  padding: 1.5rem;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--neutral-500);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.property-location svg {
  width: 1rem;
  height: 1rem;
}

.property-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--neutral-900);
  margin-bottom: 1.25rem;
  transition: color 0.3s ease;
}

.property-card:hover .property-title {
  color: var(--primary);
}

.property-features {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--neutral-500);
  margin-bottom: 1.25rem;
}

.property-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.property-feature svg {
  width: 1.25rem;
  height: 1.25rem;
}

.property-feature span {
  font-weight: 500;
}

.property-price-wrapper {
  padding-top: 1.25rem;
  border-top: 1px solid var(--neutral-100);
}

.property-price {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--primary);
}

/* ========================================
   TEAM SECTION
======================================== */
.team-section {
  padding: 4rem 0;
  background: #ffffff;
}

@media (min-width: 1024px) {
  .team-section {
    padding: 6rem 0;
  }
}

.team-section .container {
  padding: 0 0.75rem;
}

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

.team-header {
  margin-bottom: 3rem;
}

.team-header-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .team-header-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: flex-end;
  }
}

.team-intro {
  max-width: 800px;
  margin-bottom: 3rem;
}

.team-intro p {
  font-size: 1.125rem;
  color: var(--neutral-600);
  line-height: 1.7;
}

.team-description {
  text-align: right;
}

.team-description p {
  font-size: 1.125rem;
  color: var(--neutral-500);
  line-height: 1.7;
}

/* Team Cards Grid */
.team-cards {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 1024px) {
  .team-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
  }
}

.team-card {
  border-radius: 1rem;
  overflow: hidden;
}

.team-card.light {
  background: var(--neutral-50);
}

.team-card.dark {
  background: var(--neutral-900);
  color: #ffffff;
}

.team-card-inner {
  display: grid;
  height: 100%;
}

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

.team-card-image {
  aspect-ratio: 3/4;
  position: relative;
}

@media (min-width: 768px) {
  .team-card-image {
    aspect-ratio: auto;
  }
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1024px) {
  .team-card-content {
    padding: 2.5rem;
  }
}

.team-card-role {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.team-card-name {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  margin-bottom: 0.25rem;
}

.team-card.light .team-card-name {
  color: var(--neutral-900);
}

.team-card-country {
  margin-bottom: 1.5rem;
}

.team-card.light .team-card-country {
  color: var(--neutral-500);
}

.team-card.dark .team-card-country {
  color: var(--neutral-400);
}

.team-card-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.team-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.team-stat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card.light .team-stat-icon {
  background: rgba(13, 148, 136, 0.1);
}

.team-stat-value {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--primary);
}

.team-stat-label {
  font-size: 0.875rem;
}

.team-card.light .team-stat-label {
  color: var(--neutral-600);
}

.team-stat-divider {
  width: 1px;
  height: 3rem;
}

.team-card.dark .team-stat-divider {
  background: var(--neutral-700);
}

.team-card-bio {
  font-size: 0.875rem;
  line-height: 1.7;
}

.team-card.light .team-card-bio {
  color: var(--neutral-600);
}

.team-card.dark .team-card-bio {
  color: var(--neutral-400);
}

/* Team Bottom Text */
.team-bottom-text {
  max-width: 800px;
  margin-bottom: 2rem;
}

.team-bottom-text p {
  color: var(--neutral-600);
  line-height: 1.7;
}

/* Contact Strip */
.contact-strip {
  display: grid;
  gap: 0.75rem;
}

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

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.contact-card.default {
  background: var(--neutral-50);
}

.contact-card.default:hover {
  background: var(--primary);
}

.contact-card.whatsapp {
  background: var(--whatsapp);
}

.contact-card.whatsapp:hover {
  background: #20bd5a;
}

.contact-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.contact-card.default .contact-card-icon {
  background: rgba(13, 148, 136, 0.1);
}

.contact-card.default:hover .contact-card-icon {
  background: rgba(255, 255, 255, 0.2);
}

.contact-card.whatsapp .contact-card-icon {
  background: rgba(255, 255, 255, 0.2);
}

.contact-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  transition: color 0.3s ease;
}

.contact-card.default .contact-card-icon svg {
  color: var(--primary);
}

.contact-card.default:hover .contact-card-icon svg {
  color: #ffffff;
}

.contact-card.whatsapp .contact-card-icon svg {
  color: #ffffff;
}

.contact-card-text {
  flex: 1;
}

.contact-card-title {
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-card.default .contact-card-title {
  color: var(--neutral-900);
}

.contact-card.default:hover .contact-card-title {
  color: #ffffff;
}

.contact-card.whatsapp .contact-card-title {
  color: #ffffff;
}

.contact-card-subtitle {
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.contact-card.default .contact-card-subtitle {
  color: var(--neutral-500);
}

.contact-card.default:hover .contact-card-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.contact-card.whatsapp .contact-card-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.contact-card-arrow svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: color 0.3s ease;
}

.contact-card.default .contact-card-arrow svg {
  color: var(--neutral-300);
}

.contact-card.default:hover .contact-card-arrow svg {
  color: #ffffff;
}

.contact-card.whatsapp .contact-card-arrow svg {
  color: rgba(255, 255, 255, 0.5);
}

.contact-card.whatsapp:hover .contact-card-arrow svg {
  color: #ffffff;
}

/* ========================================
   SEO CONTENT SECTION
======================================== */
.seo-section {
  padding: 5rem 0;
  background: var(--neutral-50);
}

@media (min-width: 1024px) {
  .seo-section {
    padding: 7rem 0;
  }
}

.seo-grid {
  display: grid;
  gap: 4rem;
}

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

.seo-content h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--neutral-900);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .seo-content h2 {
    font-size: 2.5rem;
  }
}

.seo-content p {
  color: var(--neutral-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.seo-locations h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 1.5rem;
}

.seo-locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

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

.seo-location-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border-radius: 0.75rem;
  color: var(--neutral-600);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.seo-location-link:hover {
  color: var(--primary);
  background: rgba(13, 148, 136, 0.1);
}

.seo-location-link svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

/* ========================================
   FAQ SECTION
======================================== */
.faq-section {
  padding: 5rem 0;
  background: #ffffff;
}

@media (min-width: 1024px) {
  .faq-section {
    padding: 7rem 0;
  }
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-grid {
  display: grid;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--neutral-200);
  border-radius: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--neutral-900);
  text-align: left;
  background: #ffffff;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--neutral-50);
}

.faq-question svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--neutral-400);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--neutral-600);
  line-height: 1.7;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ========================================
   SERVICES SECTION
======================================== */
.services-section {
  padding: 5rem 0;
  background: var(--neutral-900);
  color: #ffffff;
}

@media (min-width: 1024px) {
  .services-section {
    padding: 7rem 0;
  }
}

.services-header {
  text-align: center;
  margin-bottom: 3rem;
}

.services-header .section-subtitle {
  color: var(--primary);
}

.services-header .section-title {
  color: #ffffff;
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.service-card {
  background: var(--neutral-800);
  border-radius: 1rem;
  padding: 2rem;
  transition: background 0.3s ease;
}

.service-card:hover {
  background: var(--neutral-700);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(13, 148, 136, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-description {
  color: var(--neutral-400);
  line-height: 1.6;
}

/* ========================================
   BLOG SECTION
======================================== */
.blog-section {
  padding: 5rem 0;
  background: #ffffff;
}

@media (min-width: 1024px) {
  .blog-section {
    padding: 7rem 0;
  }
}

.blog-header {
  margin-bottom: 3rem;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.blog-item {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .blog-item {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
}

.blog-item.reverse .blog-image-wrapper {
  order: 2;
}

.blog-item.reverse .blog-content-wrapper {
  order: 1;
  text-align: right;
}

.blog-image-wrapper {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 1rem;
  overflow: hidden;
}

.blog-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.blog-item:hover .blog-image-wrapper img {
  transform: scale(1.05);
}

.blog-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
}

.blog-item.reverse .blog-category {
  left: auto;
  right: 1rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--neutral-500);
  margin-bottom: 1rem;
}

.blog-item.reverse .blog-meta {
  justify-content: flex-end;
}

.blog-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--neutral-900);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

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

.blog-item:hover .blog-title {
  color: var(--primary);
}

.blog-excerpt {
  color: var(--neutral-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 500;
  transition: gap 0.3s ease;
}

.blog-item:hover .blog-link {
  gap: 0.75rem;
}

.blog-link svg {
  width: 1rem;
  height: 1rem;
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact-section {
  padding: 5rem 0;
  background: var(--neutral-50);
}

@media (min-width: 1024px) {
  .contact-section {
    padding: 7rem 0;
  }
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

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

.contact-info h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--neutral-900);
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--neutral-600);
  line-height: 1.7;
  margin-bottom: 2rem;
}

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

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(13, 148, 136, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.contact-detail-label {
  font-size: 0.875rem;
  color: var(--neutral-500);
  margin-bottom: 0.25rem;
}

.contact-detail-value {
  font-weight: 500;
  color: var(--neutral-900);
}

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

.contact-form-wrapper {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 1024px) {
  .contact-form-wrapper {
    padding: 2.5rem;
  }
}

.contact-form-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--neutral-900);
  margin-bottom: 1.5rem;
}

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

.form-row {
  display: grid;
  gap: 1rem;
}

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

.form-field {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-700);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--neutral-200);
  border-radius: 0.75rem;
  font-size: 1rem;
  color: var(--neutral-800);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

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

.form-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--primary);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: background 0.3s ease;
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: var(--primary-hover);
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
  background: var(--neutral-900);
  color: #ffffff;
}

.footer-main {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .footer-main {
    padding: 5rem 0;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 2rem;
  }
}

.footer-brand {
  grid-column: span 2;
}

@media (min-width: 768px) {
  .footer-brand {
    grid-column: span 4;
  }
}

@media (min-width: 1024px) {
  .footer-brand {
    grid-column: span 1;
  }
}

.footer-logo {
  height: 2rem;
  width: auto;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: var(--neutral-400);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--neutral-800);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-social svg {
  width: 1rem;
  height: 1rem;
}

.footer-links h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--neutral-500);
  margin-bottom: 1.25rem;
  font-family: var(--font-sans);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--neutral-400);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid var(--neutral-800);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  color: var(--neutral-500);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--neutral-500);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

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

/* ========================================
   FLOATING BUTTONS
======================================== */
.floating-buttons {
  position: fixed;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  padding: 0 1.5rem;
  pointer-events: none;
}

.floating-btn {
  pointer-events: auto;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--whatsapp);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.whatsapp-btn svg {
  width: 1.75rem;
  height: 1.75rem;
  color: #ffffff;
}

.language-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  height: 3rem;
  padding: 0 1rem;
  background: #ffffff;
  border-radius: 9999px;
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--neutral-700);
  transition: box-shadow 0.3s ease;
}

.language-btn:hover {
  box-shadow: var(--shadow-xl);
}

/* ========================================
   PROPERTIES GRID (for featured section)
======================================== */
.properties-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 0 1rem;
}

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

@media (min-width: 1024px) {
  .properties-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 2rem;
  }
}

.properties-grid .property-card {
  width: 100%;
  max-width: none;
}

.property-image-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 1rem;
}

.property-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.property-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.property-favorite-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.property-favorite-btn:hover {
  transform: scale(1.1);
}

.property-favorite-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--neutral-400);
}

.property-price-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  color: var(--neutral-900);
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 500;
  transition: gap 0.3s ease;
}

.view-all-link:hover {
  gap: 0.75rem;
}

.featured-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 0 1rem;
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact-section {
  padding: 5rem 0;
  background: var(--neutral-900);
  color: white;
}

@media (min-width: 1024px) {
  .contact-section {
    padding: 7rem 0;
  }
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

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

.contact-info-col {
  display: flex;
  flex-direction: column;
}

.contact-intro {
  color: var(--neutral-400);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(13, 148, 136, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.contact-detail h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.25rem;
}

.contact-detail p,
.contact-detail a {
  color: var(--neutral-400);
  font-size: 0.875rem;
}

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

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
}

.contact-form-col {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
}

@media (min-width: 768px) {
  .contact-form-col {
    padding: 2.5rem;
  }
}

.contact-form-col h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--neutral-900);
  margin-bottom: 1.5rem;
}

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

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

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-700);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--neutral-200);
  border-radius: 0.75rem;
  font-size: 1rem;
  color: var(--neutral-800);
  background: white;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-checkbox input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  accent-color: var(--primary);
}

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

.form-checkbox a {
  color: var(--primary);
}

.btn-full {
  width: 100%;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

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

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

.btn-dark {
  background: var(--neutral-900);
  color: white;
}

.btn-dark:hover {
  background: var(--neutral-800);
}

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

.btn-whatsapp:hover {
  background: #20bd5a;
}

.btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ========================================
   SECTION TITLES
======================================== */
.section-title-serif {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

.section-title-serif.light {
  color: white;
}

/* ========================================
   WORDPRESS ADMIN BAR FIX
======================================== */
body.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* ========================================
   STARTSEITE V2 - EDITORIAL (Entwurf)
   Nur fuer die Home-Sektionen (hero, categories,
   featured properties, team, faq, services)
======================================== */
:root {
  --mb-teal: #0d9488;
  --mb-teal-light: #5eead4;
  --mb-ink: #171717;
  --mb-line: #e5e5e5;
  /* Tiefe Firmenfarbe fuer Flaechen mit Text darauf. Der reine
     Markenton #0d9488 erreicht mit weisser Schrift nur 3.74:1 und
     ist damit nicht lesbar - #115e59 kommt auf 7.58:1. */
  --mb-teal-deep: #115e59;
  /* Noch tieferer Ton fuer halbtransparente Schleier ueber Fotos:
     Je dunkler der Grundton, desto weniger Deckkraft ist fuer den
     gleichen Kontrast noetig - #0c3f3c braucht nur 71% statt 78%
     und laesst damit deutlich mehr Bild durch. */
  --mb-teal-shade: #0c3f3c;
}

/* --- Eyebrow / Kicker --- */
.mb-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* --- Kursiver Teal-Akzent in Serif-Headlines --- */
.mb-accent {
  font-style: italic;
  color: var(--mb-teal);
}

  .mb-accent--light {
  color: var(--mb-teal-light);
  }

/* Auf Fotos mit hellen Flaechen (Hero-Villa) hat Teal zu wenig Kontrast.
   Dort bleibt die Kursive als Betonung, die Farbe wird weiss. */
.mb-accent--invert {
  color: #ffffff;
}

/* --- Buttons --- */
.mb-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.mb-btn--primary {
  background-color: var(--mb-teal);
  color: #ffffff;
}

.mb-btn--primary:hover {
  background-color: #0f766e;
  color: #ffffff;
}

.mb-btn--ghost {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.mb-btn--ghost:hover {
  background-color: #ffffff;
  color: var(--mb-ink);
}

.mb-btn--outline {
  background-color: transparent;
  border-color: var(--mb-teal);
  color: var(--mb-teal);
}

.mb-btn--outline:hover {
  background-color: var(--mb-teal);
  color: #ffffff;
}

/* CTA auf farbiger Firmenflaeche: Ein Teal-Button waere dort unsichtbar,
   deshalb weiss gefuellt mit Teal-Schrift. */
.mb-btn--invert {
  background-color: #ffffff;
  color: var(--mb-teal-deep);
}

.mb-btn--invert:hover {
  background-color: var(--mb-teal-light);
  color: var(--mb-teal-deep);
}

/* --- Textlink mit Unterstrich-Animation --- */
.mb-link {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mb-teal);
  padding-bottom: 0.25rem;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  transition: background-size 0.4s ease, color 0.3s ease;
}

.mb-link:hover {
  background-size: 0 1px;
}

.mb-link--light {
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.12em;
}

.mb-link--light:hover {
  color: #ffffff;
}

/* --- Runde Scroll-Pfeile --- */
.mb-arrow {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mb-line);
  color: #525252;
  border-radius: 9999px;
  background: #fff;
  transition: all 0.3s ease;
}

.mb-arrow:hover {
  border-color: var(--mb-teal);
  background-color: var(--mb-teal);
  color: #ffffff;
}

/* --- HERO --- */
.mb-hero__scrim {
  background:
  linear-gradient(to right, rgba(10, 20, 22, 0.49) 0%, rgba(10, 20, 22, 0.45) 38%, rgba(10, 20, 22, 0.05) 68%, rgba(10, 20, 22, 0) 100%), linear-gradient(to top, rgba(10, 20, 22, 0.55) 0%, rgba(10, 20, 22, 0) 45%)
}

/* --- Suchformular (Underline-Felder) --- */
.mb-field__label {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mb-teal);
  margin-bottom: 0.5rem;
}

.mb-field {
  width: 100%;
  padding: 0.45rem 0 0.6rem;
  font-size: 0.95rem;
  color: #262626;
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid var(--mb-line);
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23a3a3a3' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.15rem center;
  transition: border-color 0.3s ease;
}

.mb-field:focus {
  outline: none;
  border-bottom-color: var(--mb-teal);
}

input.mb-field {
  background-image: none;
}

/* --- Kategorie-Karten --- */
.mb-cat__rule {
  display: block;
  width: 2.75rem;
  height: 2px;
  margin-top: 1.4rem;
  background-color: var(--mb-teal);
  transition: width 0.4s ease;
}

.mb-cat:hover .mb-cat__rule {
  width: 5rem;
}

/* --- Favoriten-Button auf Immobilienkarte --- */
.mb-fav {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: #ffffff;
  color: #525252;
  box-shadow: 0 6px 18px -8px rgba(23, 23, 23, 0.5);
  transition: color 0.3s ease, transform 0.3s ease;
}

.mb-fav:hover {
  color: var(--mb-teal);
  transform: scale(1.08);
}

/* --- Team Section Scrim ---
   Blur fuer die Glas-Textur, aber KEIN brightness(): das multipliziert
   alle Kanaele gegen Null und zieht die Flaeche ins Schwarze (Chroma
   fiel dadurch von 20 auf 9). Auch kein starkes saturate(): der Blur
   vermischt Sand- und Trockenpalmen-Toene zu Oliv (#848c83), das wurde
   dadurch zu braunen Schlieren verstaerkt.
   Abgedunkelt wird stattdessen mit dem dominanten Bildton selbst -
   Hue 205 Grad, das Blau von Pool, Meer und Himmel. Das ist dunkel
   genug fuer weissen Text (5.83:1) und behaelt Chroma 40 statt 9.
   Die Maske laeuft streng monoton und endet rechts bei voller
   Transparenz - ein Teil-Alpha-Plateau wuerde die dunkle Flaeche als
   Schleier ueber das scharfe Bild legen und truebe Flecken erzeugen. */
.mb-team__scrim {
  background-color: rgba(71, 129, 171, 0.72);
  -webkit-backdrop-filter: blur(28px) saturate(1.15);
  backdrop-filter: blur(28px) saturate(1.15);
  -webkit-mask-image: linear-gradient(
  to right,
  transparent 0%,
  rgba(0, 0, 0, 0.12) 18%,
  rgba(0, 0, 0, 0.55) 30%,
  rgba(0, 0, 0, 0.88) 38%,
  #000 45%,
  #000 calc(50% + 600px),
  rgba(0, 0, 0, 0.55) calc(50% + 780px),
  transparent 100%
  );
  mask-image: linear-gradient(
  to right,
  transparent 0%,
  rgba(0, 0, 0, 0.12) 18%,
  rgba(0, 0, 0, 0.55) 30%,
  rgba(0, 0, 0, 0.88) 38%,
  #000 45%,
  #000 calc(50% + 600px),
  rgba(0, 0, 0, 0.55) calc(50% + 780px),
  transparent 100%
  );
}

/* Kein @supports-Fallback mehr noetig: Der Tint liegt als
   background-color vor und wirkt auch ohne backdrop-filter - dort
   bleibt der Text mit 5.67:1 lesbar, nur ohne die Glas-Textur. */

/* Mobil steht der Text unter dem Foto: oben farbig, unten deckend.
   Der Verlauf bleibt im gesamten Foto-Bereich transparent und deckt
   erst ab dem Textbeginn ab. */
@media (max-width: 1023px) {
  /* Gestapelt steht der Text unter dem Foto - die Maske laeuft daher
     nach unten statt nach rechts. */
  .mb-team__scrim {
  -webkit-mask-image: linear-gradient(
  to bottom,
  transparent 0%,
  rgba(0, 0, 0, 0.15) 26%,
  rgba(0, 0, 0, 0.85) 36%,
  #000 46%,
  #000 100%
  );
  mask-image: linear-gradient(
  to bottom,
  transparent 0%,
  rgba(0, 0, 0, 0.15) 26%,
  rgba(0, 0, 0, 0.85) 36%,
  #000 46%,
  #000 100%
  );
  }

  /* Auf schmalen Viewports ist die Sektion sehr hoch. Wuerde das breite
     Hintergrundbild (2400x1100) die volle Hoehe per object-cover fuellen,
     bliebe nur ein extrem gezoomter Streifen Himmel uebrig - deshalb wirkte
     der Hintergrund hinter dem Team-Foto "leer".
     Daher: Das Bild deckt nur den oberen Bereich hinter dem Foto ab
     (weniger Zoom), der Ausschnitt zeigt Pool, Palmen und Meer, und die
     Maske laesst es nach unten weich auslaufen - ohne harte Kante. */
  .mb-team__bg {
    height: 55%;
    object-position: 30% 70%;
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  }
}

/* --- FAQ --- */
.mb-faq {
  background-color: #eef2f2;
}

.mb-acc__icon {
  position: relative;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.45rem;
}

.mb-acc__icon::before,
.mb-acc__icon::after {
  content: "";
  position: absolute;
  background-color: var(--mb-teal);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mb-acc__icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
}

.mb-acc__icon::after {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
}

.mb-acc__icon.is-open::after {
  opacity: 0;
  transform: translateX(-50%) rotate(90deg);
}

.mb-acc button.is-open .mb-acc__q {
  color: var(--mb-teal);
}

/* --- Leistungen (Listenzeilen) --- */
.mb-srv {
  display: grid;
  grid-template-columns: 2.5rem 3rem 1fr auto 1.75rem;
  align-items: center;
  gap: 1.25rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--mb-line);
  transition: background-color 0.3s ease;
}

.mb-srv:last-child {
  border-bottom: 1px solid var(--mb-line);
}

.mb-srv__num {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--mb-teal);
}

.mb-srv__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mb-srv__title {
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--mb-ink);
  transition: color 0.3s ease;
}

.mb-srv__desc {
  font-size: 0.9rem;
  color: #737373;
  text-align: right;
}

.mb-srv__arrow {
  display: inline-flex;
  justify-content: flex-end;
  transition: transform 0.3s ease;
}

.mb-srv:hover .mb-srv__title {
  color: var(--mb-teal);
}

.mb-srv:hover .mb-srv__arrow {
  transform: translateX(0.35rem);
}

@media (max-width: 767px) {
  .mb-srv {
    grid-template-columns: 2rem 2.5rem 1fr 1.5rem;
    row-gap: 0.35rem;
  }

  .mb-srv__title {
    font-size: 1.3rem;
  }

  .mb-srv__desc {
    grid-column: 3 / span 2;
    text-align: left;
  }
}

/* --- Team Section (hell): Bild links, Inhalt rechts --- */
  .mb-team {
  background-color: var(--mb-teal-deep);
  color: #ffffff;
  }

/* Das Foto ist ein freigestellter Hochkant-Freisteller (1024x1536).
   Deshalb wird es NICHT auf width:100% gezogen - sonst waechst es auf
   schmalen Viewports auf ueber 1500px Hoehe. Stattdessen begrenzt
   max-height die Groesse, die Breite folgt automatisch.
   Kein Rahmen/Schatten, damit der Freisteller frei auf der hellen
   Flaeche steht. */
.mb-team__figure {
  position: relative;
  z-index: 5;
  margin: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.mb-team__pair {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 340px;
}

@media (min-width: 640px) {
  .mb-team__pair {
    max-height: 420px;
  }
}

@media (min-width: 1024px) {
  .mb-team__figure {
    justify-content: flex-start;
  }

  .mb-team__pair {
    max-height: 700px;
  }
}

/* Typografie auf farbigem Grund (Firmenfarbe).
   Geprueft wurde der Worst Case: helle Villa-Architektur unter dem
   Verlauf am linken Rand der Textspalte (~96% Deckung).
   Weiss 7.13:1, #99f6e4 5.46:1, #5eead4 4.65:1 - alle ueber AA 4.5:1. */
.mb-team__title {
  color: #ffffff;
}

.mb-team__lead {
  color: rgba(255, 255, 255, 0.94);
}

.mb-team__stat {
  color: #ffffff;
}

/* Die kleinen Uppercase-Labels tragen den hellsten Mint-Ton (6.10:1).
   Ein dunkleres Teal waere hier zwar "markiger", aber bei 0.7rem und
   weiter Laufweite nicht mehr komfortabel lesbar. */
.mb-team__statlabel {
  color: #ccfbf1;
}

.mb-team__eyebrow {
  color: #ccfbf1;
}

.mb-team__role {
  color: #99f6e4;
}

.mb-team__name {
  color: #ffffff;
}

.mb-team__rule {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.mb-team__divider {
  background-color: rgba(255, 255, 255, 0.3);
}

/* Sicherheitsnetz: Sollte irgendwo in dieser Sektion noch ein
   globaler .mb-accent stehen, waere sein dunkles Teal auf der
   Firmenflaeche mit 2.03:1 unlesbar - hier wird er aufgehellt. */
.mb-team .mb-accent {
  color: var(--mb-teal-light);
}

/* Gesperrte Grossbuchstaben in 0.7rem lesen sich auf farbigem Grund
   deutlich schwerer als auf weiss. Etwas groesser und weniger
   Laufweite - nur in dieser Sektion, damit andere Bereiche der Seite
   ihre Typografie behalten. */
.mb-team .mb-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
}

/* Kontaktlinks: Telefonnummer und E-Mail sind die wichtigsten
   Handlungsziele der Sektion und stehen daher in reinem Weiss
   (7.58:1). Bewusst nicht ueber .mb-link--light, weil dieser
   Modifier zusaetzlich die Laufweite aendert. */
.mb-team .mb-link {
  color: #ffffff;
  letter-spacing: 0.12em;
}

.mb-team .mb-link:hover {
  color: #ffffff;
}

/* Desktop: Bild darf leicht ueber den linken Rand hinauslaufen (editorial) */
@media (min-width: 1024px) {
  .mb-team__figure {
    margin-left: -2rem;
  }
}

/* --- Ueber uns / SEO-Content --- */
.mb-about__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.75rem 2.5rem;
  background-color: #ffffff;
  padding: 1.75rem 2rem;
  margin-top: -1px;
}

.mb-about__div {
  display: none;
}

@media (min-width: 768px) {
  .mb-about__stats {
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 34rem;
    padding: 2rem 2.5rem;
    gap: 2.5rem;
    align-items: center;
    box-shadow: 0 -18px 40px -30px rgba(23, 23, 23, 0.45);
  }

  .mb-about__div {
    display: block;
    width: 1px;
    align-self: stretch;
    background-color: var(--mb-line);
  }
}


/* =========================================================
   LIFESTYLE / ZIELGRUPPEN
   Startseite + gemeinsame Landingpage
   ========================================================= */
.mb-lifestyles {
  padding: 6.5rem 0 7rem;
  background: #f6f7f6;
  border-top: 1px solid var(--mb-line, #e7e7e4);
  border-bottom: 1px solid var(--mb-line, #e7e7e4);
}

.mb-lifestyles__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  align-items: end;
  gap: 4rem;
  margin-bottom: 3.25rem;
}

.mb-lifestyles__lead {
  color: #626563;
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 36rem;
}

.mb-lifestyles__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #dfe2df;
  border: 1px solid #dfe2df;
}

.mb-lifestyle-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.mb-lifestyle-card__media {
  position: relative;
  aspect-ratio: 4 / 3.15;
  overflow: hidden;
  background: #e9ebe9;
}

.mb-lifestyle-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}

.mb-lifestyle-card:hover .mb-lifestyle-card__media img {
  transform: scale(1.045);
}

.mb-lifestyle-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8,36,34,.52) 100%);
}

.mb-lifestyle-card__number {
  position: absolute;
  left: 1.35rem;
  bottom: 1.15rem;
  color: rgba(255,255,255,.92);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
}

.mb-lifestyle-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.7rem 1.55rem 1.8rem;
}

.mb-lifestyle-card__eyebrow {
  color: var(--mb-teal, #0f9b91);
}

.mb-lifestyle-card h3 {
  margin: .75rem 0 0;
  color: #171918;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.4rem, 1.6vw, 1.75rem);
  line-height: 1.18;
  font-weight: 500;
}

.mb-lifestyle-card__content > p:not(.mb-eyebrow) {
  color: #6b6e6c;
  font-size: .94rem;
  line-height: 1.7;
  margin-top: 1rem;
}

.mb-lifestyle-card__link {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-top: auto;
  padding-top: 1.6rem;
  color: #171918;
  font-size: .73rem;
  font-weight: 650;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.mb-lifestyle-card__link svg {
  width: 1.15rem;
  height: 1.15rem;
  transition: transform .25s ease;
}

.mb-lifestyle-card:hover .mb-lifestyle-card__link {
  color: var(--mb-teal, #0f9b91);
}

.mb-lifestyle-card:hover .mb-lifestyle-card__link svg {
  transform: translateX(.3rem);
}

/* Lifestyle landing pages */
.mb-life-page h2 {
  color: #171918;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.15rem, 4vw, 3.55rem);
  line-height: 1.08;
}

.mb-life-hero {
  position: relative;
  min-height: 650px;
  height: min(78vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0c2725;
}

.mb-life-hero__image,
.mb-life-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mb-life-hero__image { object-fit: cover; }
.mb-life-hero__overlay {
  background: linear-gradient(90deg, rgba(5,27,25,.82) 0%, rgba(5,27,25,.52) 48%, rgba(5,27,25,.1) 78%), linear-gradient(0deg, rgba(5,27,25,.36), transparent 45%);
}

.mb-life-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 9rem;
  padding-bottom: 5.5rem;
}

.mb-life-hero__eyebrow { color: #bdebe6; }
.mb-life-hero h1 {
  max-width: 760px;
  margin: 1rem 0 0;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: .98;
  font-weight: 500;
}
.mb-life-hero__inner > p:not(.mb-eyebrow) {
  max-width: 700px;
  margin-top: 1.7rem;
  color: rgba(255,255,255,.82);
  font-size: 1.08rem;
  line-height: 1.8;
}
.mb-life-hero__actions { display:flex; flex-wrap:wrap; gap:.85rem; margin-top:2rem; }

.mb-life-editorial { padding: 7rem 0 6rem; background:#fff; }
.mb-life-editorial__grid {
  display:grid;
  grid-template-columns: minmax(0,1fr) minmax(320px,.8fr);
  gap: 6rem;
  align-items:start;
}
.mb-life-editorial__copy { color:#5f6360; font-size:1.06rem; line-height:1.85; }
.mb-life-editorial__copy p + p { margin-top:1.25rem; }
.mb-life-points { display:grid; grid-template-columns:repeat(3,1fr); margin-top:5rem; border-top:1px solid #dedfdd; border-bottom:1px solid #dedfdd; }
.mb-life-point { padding:2.25rem 2.5rem 2.5rem 0; }
.mb-life-point + .mb-life-point { border-left:1px solid #dedfdd; padding-left:2.5rem; }
.mb-life-point span { color:var(--mb-teal,#0f9b91); font-size:.72rem; font-weight:700; letter-spacing:.16em; }
.mb-life-point h3 { font-family:"Playfair Display",Georgia,serif; font-size:1.65rem; font-weight:500; margin:.8rem 0 0; color:#171918; }
.mb-life-point p { color:#6a6d6b; line-height:1.75; margin-top:.8rem; }

.mb-life-area { padding:0 0 7rem; background:#fff; }
.mb-life-area__box { display:grid; grid-template-columns:minmax(0,.9fr) minmax(320px,1.1fr); gap:5rem; align-items:center; padding:4rem; background:#f2f5f3; }
.mb-life-area__box p:last-child { color:#5f6360; line-height:1.85; font-size:1.04rem; }

.mb-life-properties { padding:7rem 0; background:#f7f8f7; }
.mb-life-properties__head { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(280px,.65fr); gap:4rem; align-items:end; margin-bottom:3.2rem; }
.mb-life-properties__head > p { color:#656866; line-height:1.75; }
.mb-life-property-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.mb-life-property-card { background:#fff; border:1px solid #e1e3e1; transition:box-shadow .35s ease, transform .35s ease; }
.mb-life-property-card:hover { transform:translateY(-3px); box-shadow:0 22px 46px -34px rgba(18,36,34,.45); }
.mb-life-property-card__image { display:block; aspect-ratio:4/3; overflow:hidden; background:#e8e9e8; }
.mb-life-property-card__image img { width:100%; height:100%; object-fit:cover; transition:transform .8s ease; }
.mb-life-property-card:hover .mb-life-property-card__image img { transform:scale(1.035); }
.mb-life-property-card__content { padding:1.5rem; }
.mb-life-property-card h3 { margin:.65rem 0 0; font-family:"Playfair Display",Georgia,serif; font-size:1.35rem; line-height:1.25; font-weight:500; }
.mb-life-property-card h3 a { color:#171918; text-decoration:none; }
.mb-life-property-card h3 a:hover { color:var(--mb-teal,#0f9b91); }
.mb-life-property-card__price { margin-top:1rem; color:var(--mb-teal,#0f9b91); font-family:"Playfair Display",Georgia,serif; font-size:1.35rem; }
.mb-life-property-card__meta { display:flex; flex-wrap:wrap; gap:1rem; margin-top:1rem; padding-top:1rem; border-top:1px solid #eceeec; color:#6b6e6c; font-size:.84rem; }
.mb-life-properties__empty { padding:2rem; background:#fff; border:1px solid #e1e3e1; color:#656866; }
.mb-life-properties__cta { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:1.5rem; margin-top:3rem; }

.mb-life-faq { padding:7rem 0; background:#fff; }
.mb-life-faq__list { border-top:1px solid #dedfdd; }
.mb-life-faq__item { border-bottom:1px solid #dedfdd; }
.mb-life-faq__item summary { cursor:pointer; display:flex; justify-content:space-between; gap:2rem; list-style:none; padding:1.5rem 0; color:#171918; font-size:1.03rem; font-weight:600; }
.mb-life-faq__item summary::-webkit-details-marker { display:none; }
.mb-life-faq__item summary span { color:var(--mb-teal,#0f9b91); font-size:1.45rem; line-height:1; }
.mb-life-faq__item[open] summary span { transform:rotate(45deg); }
.mb-life-faq__item p { max-width:800px; padding:0 0 1.6rem; color:#656866; line-height:1.8; }

.mb-life-final { padding:0 0 7rem; background:#fff; }
.mb-life-final__box { display:flex; justify-content:space-between; align-items:center; gap:3rem; padding:4rem; background:var(--mb-teal,#0f8179); color:#fff; }
.mb-life-final__box .mb-eyebrow { color:#c8f1ed; }
.mb-life-final__box h2 { margin-top:.9rem; color:#fff; font-size:clamp(2rem,3.3vw,3.4rem); }

@media (max-width: 1023px) {
  .mb-lifestyles__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mb-lifestyles__intro, .mb-life-editorial__grid, .mb-life-area__box, .mb-life-properties__head { grid-template-columns:1fr; gap:2rem; }
  .mb-life-points { grid-template-columns:1fr; }
  .mb-life-point { padding:2rem 0; }
  .mb-life-point + .mb-life-point { border-left:0; border-top:1px solid #dedfdd; padding-left:0; }
  .mb-life-property-grid { grid-template-columns:repeat(2,1fr); }
  .mb-life-final__box { align-items:flex-start; flex-direction:column; }
}

@media (max-width: 640px) {
  .mb-lifestyles { padding:4.5rem 0; }
  .mb-lifestyles__grid { grid-template-columns:1fr; }
  .mb-lifestyle-card__media { aspect-ratio:16/10; }
  .mb-life-hero { min-height:620px; height:auto; }
  .mb-life-hero__inner { padding-top:9rem; padding-bottom:4rem; }
  .mb-life-hero__overlay { background:linear-gradient(0deg, rgba(5,27,25,.84) 0%, rgba(5,27,25,.4) 75%, rgba(5,27,25,.2) 100%); }
  .mb-life-editorial, .mb-life-properties, .mb-life-faq { padding:4.5rem 0; }
  .mb-life-area { padding-bottom:4.5rem; }
  .mb-life-area__box, .mb-life-final__box { padding:2rem 1.5rem; }
  .mb-life-property-grid { grid-template-columns:1fr; }
}

/* ========================================
   BLOG ARTICLE TYPOGRAPHY
======================================== */
.mb-article-content {
  color: var(--neutral-700);
  font-size: 1.0625rem;
  line-height: 1.85;
}

.mb-article-content > *:first-child {
  margin-top: 0;
}

.mb-article-content p {
  margin: 0 0 1.55rem;
}

.mb-article-content h2,
.mb-article-content h3,
.mb-article-content h4 {
  color: var(--neutral-900);
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.018em;
}

.mb-article-content h2 {
  margin: 3.25rem 0 1.15rem;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  line-height: 1.18;
}

.mb-article-content h3 {
  margin: 2.5rem 0 1rem;
  font-size: clamp(1.45rem, 2.3vw, 1.85rem);
  line-height: 1.25;
}

.mb-article-content h4 {
  margin: 2rem 0 .85rem;
  font-size: 1.25rem;
  line-height: 1.35;
}

.mb-article-content strong,
.mb-article-content b {
  color: var(--neutral-900);
  font-weight: 650;
}

.mb-article-content a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

.mb-article-content a:hover {
  color: var(--primary-hover);
}

.mb-article-content ul,
.mb-article-content ol {
  display: block;
  margin: 1.5rem 0 1.8rem;
  padding-left: 1.5rem;
}

.mb-article-content ul {
  list-style: disc;
}

.mb-article-content ol {
  list-style: decimal;
}

.mb-article-content li {
  margin: .55rem 0;
  padding-left: .25rem;
}

.mb-article-content li::marker {
  color: var(--primary);
}

.mb-article-content blockquote {
  margin: 2.25rem 0;
  padding: .25rem 0 .25rem 1.5rem;
  border-left: 3px solid var(--primary);
  color: var(--neutral-600);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.55;
}

.mb-article-content img,
.mb-article-content figure {
  margin: 2.5rem 0;
  border-radius: 1rem;
}

.mb-article-content figcaption {
  margin-top: .65rem;
  color: var(--neutral-500);
  font-size: .875rem;
  line-height: 1.5;
  text-align: center;
}

.mb-article-content hr {
  margin: 3rem 0;
  border: 0;
  border-top: 1px solid var(--neutral-200);
}

.mb-article-content table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  font-size: .95rem;
}

.mb-article-content th,
.mb-article-content td {
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--neutral-200);
  text-align: left;
  vertical-align: top;
}

.mb-article-content th {
  color: var(--neutral-900);
  font-weight: 600;
}

@media (min-width: 768px) {
  .mb-article-content {
    font-size: 1.125rem;
    line-height: 1.88;
  }
}

/* Marbella homepage team: unified image composition and light mobile editorial layout */
.mb-team__languages { display:flex; align-items:center; flex-wrap:wrap; gap:.55rem; margin-top:1.1rem; }
.mb-team__languages-label { font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; margin-right:.3rem; }
.mb-team__flag { font-size:1.3rem; line-height:1; }
.mb-team__contact-icon { display:inline-block; width:1.15rem; height:1.15rem; vertical-align:-.25rem; margin-right:.4rem; flex-shrink:0; }
.mb-team .mb-link { display:inline-flex; align-items:center; }
@media (min-width:1024px) {
 .mb-team__bg { object-position:center 58%; }
 .mb-team__visual { align-self:end; }
 .mb-team__pair { max-height:700px; object-fit:contain; object-position:bottom center; }
 .mb-team__languages-label { color:#fff; }
}
@media (max-width:1023px) {
 .mb-team { background:#fff; color:#18252b; }
 .mb-team > .absolute.inset-0 { display:none; }
 .mb-team__layout { padding:0; }
 .mb-team__grid { display:flex; flex-direction:column; gap:0; }
 .mb-team__visual { position:relative; width:100%; height:clamp(310px,95vw,510px); overflow:hidden; display:flex; justify-content:center; align-items:flex-end; background:#66b3d7 url('assets/images/home/titelbild-marbella-exklusive-marbella-costa-del-sol-immobilien.webp') center 58% / cover no-repeat; }
 .mb-team__visual::after { content:''; position:absolute; inset:auto 0 0; height:18%; background:linear-gradient(to bottom,transparent,rgba(0,56,81,.14)); pointer-events:none; }
 .mb-team__figure { height:100%; width:100%; align-items:flex-end; margin:0; padding:0 1rem; }
 .mb-team__pair, .mb-team__pair:is(img) { display:block; width:auto; max-width:100%; height:95%; max-height:none; object-fit:contain; object-position:bottom center; }
 .mb-team__content { width:100%; padding:2rem 1.3rem 2.5rem; background:#fff; }
 .mb-team__title,.mb-team__name,.mb-team__stat { color:#152b31; }
 .mb-team__lead { color:#526168; }
 .mb-team__eyebrow,.mb-team__statlabel,.mb-team__role,.mb-team .mb-accent { color:#078f89; }
 .mb-team__rule { border-top-color:#e0e8e8; }
 .mb-team__divider { background-color:#d5e1e1; }
 .mb-team .mb-link { color:#176d70; letter-spacing:.025em; }
 .mb-team .mb-link:hover { color:#084e50; }
 .mb-team__languages-label { color:#58696d; }
 .mb-team .mb-btn--invert { background:#0b8985; color:#fff; border-color:#0b8985; }
 .mb-team__title { font-size:clamp(2.1rem,8vw,3.25rem); }
}
@media (max-width:420px) {
 .mb-team__visual { height:clamp(285px,92vw,385px); }
 .mb-team__content { padding:1.75rem 1.1rem 2.25rem; }
 .mb-team__content .flex.flex-wrap.items-start { gap:1.2rem 1.6rem; }
 .mb-team__stat { font-size:2.2rem; }
 .mb-team__name { font-size:1.3rem; }
}

/* Team: drei Vorteile statt dynamischer Kennzahlen */
.mb-team__benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
.mb-team__benefit{min-width:0;padding:0 24px}
.mb-team__benefit:first-child{padding-left:0}
.mb-team__benefit:last-child{padding-right:0}
.mb-team__benefit + .mb-team__benefit{border-left:1px solid rgba(255,255,255,.38)}
.mb-team__benefit-icon{display:block;width:42px;height:42px;margin-bottom:14px;color:rgba(255,255,255,.93)}
.mb-team__benefit-title{margin:0 0 9px;color:#fff;font-size:13px;font-weight:750;line-height:1.35;letter-spacing:.16em;text-transform:uppercase}
.mb-team__benefit-copy{margin:0;color:rgba(255,255,255,.86);font-size:13px;line-height:1.6}
.mb-team__benefit-flags{display:flex;gap:14px;margin-top:8px;font-size:20px;line-height:1.3}
@media(max-width:767px){.mb-team__benefits{grid-template-columns:1fr;gap:22px}.mb-team__benefit,.mb-team__benefit:first-child,.mb-team__benefit:last-child{padding:0}.mb-team__benefit + .mb-team__benefit{border-left:0;border-top:1px solid rgba(255,255,255,.25);padding-top:22px}.mb-team__benefit-icon{width:38px;height:38px;margin-bottom:10px}}
@media(min-width:768px) and (max-width:1100px){.mb-team__benefit{padding:0 12px}.mb-team__benefit-title{font-size:11px;letter-spacing:.09em}.mb-team__benefit-copy{font-size:12px}}
