/*
 * VMX Startseite — Stylesheet v3.0
 * Design: Stil 3 Regional Warm
 * Muster: identisch mit style-vmx-bu.css (gleiche Variablen, gleiche Systematik)
 * Template: page-startseite.php | Body-Class: vmx-home-page
 *
 * INSTALLATION: /wp-content/themes/DEIN-THEME/style-vmx-startseite.css
 * Enqueue: functions.php → vmx_enqueue_startseite_assets()
 * ============================================================ */

/* ============================================================
   0. DESIGN-TOKENS (identisch mit allen anderen VMX-Templates)
   ============================================================ */
:root {
  --gruen-dunkel:  #2d6a4f;
  --gruen-mittel:  #40916c;
  --gruen-hell:    #d8f3dc;
  --gruen-bg:      #f0faf3;
  --beige:         #d4a574;
  --beige-hell:    #fefae0;
  --creme:         #fffdf7;
  --cta-gelb:      #e9c46a;
  --cta-dunkel:    #b5860f;
  --text-dunkel:   #111827;
  --text-mittel:   #374151;
  --text-hell:     #6b7280;
  --font-display:  'Lora', Georgia, serif;
  --font-body:     'Source Sans 3', system-ui, sans-serif;
  --radius:        8px;
  --radius-lg:     16px;
  --shadow-sm:     0 2px 8px rgba(45,106,79,.10);
  --shadow-md:     0 4px 20px rgba(45,106,79,.15);
  --shadow-lg:     0 8px 40px rgba(45,106,79,.18);
  --transition:    0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* Verhindert horizontalen Überlauf bei allen Breakpoints */
  overflow-x: hidden;
}

body.vmx-home-page {
  font-family: var(--font-body);
  color: var(--text-dunkel);
  background: var(--creme);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* Verhindert seitliches Überlaufen von Inhalten */
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body.vmx-home-page img    { max-width: 100%; height: auto; display: block; }
body.vmx-home-page a      { color: var(--gruen-dunkel); text-decoration: none; }
body.vmx-home-page a:hover { color: var(--gruen-mittel); }
body.vmx-home-page ul     { list-style: none; }
body.vmx-home-page button { font-family: inherit; cursor: pointer; }

/* Container: width: 100% ist essenziell damit der Block-Container
   in jedem Theme-Kontext auf volle Breite expandiert.
   Responsive Padding per clamp() statt festem 20px. */
.vmx-home-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

/* ============================================================
   2. TYPOGRAFIE
   ============================================================ */
body.vmx-home-page h1,
body.vmx-home-page h2,
body.vmx-home-page h3,
body.vmx-home-page h4 {
  font-family: var(--font-display);
  color: var(--text-dunkel);
  line-height: 1.25;
}

body.vmx-home-page h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); font-weight: 700; }
body.vmx-home-page h2 { font-size: clamp(1.5rem, 3vw, 2.1rem);  font-weight: 700; }
body.vmx-home-page h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 600; }
body.vmx-home-page p  { font-size: 1.02rem; color: var(--text-mittel); margin-bottom: .9rem; }
body.vmx-home-page p:last-child { margin-bottom: 0; }

/* ============================================================
   3. BUTTONS
   ============================================================ */
.vmx-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: .97rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.vmx-home-btn-primary {
  background: var(--gruen-dunkel);
  color: #fff !important;
  box-shadow: var(--shadow-sm);
}
.vmx-home-btn-primary:hover { background: #1e4d38; color: #fff !important; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.vmx-home-btn-gelb {
  background: var(--cta-gelb);
  color: var(--text-dunkel) !important;
  box-shadow: 0 4px 16px rgba(233,196,106,.4);
}
.vmx-home-btn-gelb:hover { background: var(--cta-dunkel); color: #fff !important; transform: translateY(-1px); }

.vmx-home-btn-outline {
  background: transparent;
  color: var(--gruen-dunkel) !important;
  border: 2px solid var(--gruen-dunkel);
  padding: 11px 24px;
}
.vmx-home-btn-outline:hover { background: var(--gruen-dunkel); color: #fff !important; }

.vmx-home-btn-ghost {
  background: rgba(255,255,255,.15);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.4);
}
.vmx-home-btn-ghost:hover { background: rgba(255,255,255,.28); color: #fff !important; }

.vmx-home-btn-block {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Badge */
.vmx-home-badge {
  display: inline-block;
  background: var(--gruen-hell);
  color: var(--gruen-dunkel);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 14px;
}

/* Abschnitt-Kopf */
.vmx-home-section-head {
  margin-bottom: 40px;
}
.vmx-home-section-head h2 { margin-bottom: 10px; }
.vmx-home-section-head p  { max-width: 640px; color: var(--text-hell); }
.vmx-home-section-head[style*="center"] p { margin: 0 auto; }

/* ============================================================
   4. HEADER
   ============================================================ */
.vmx-home-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,253,247,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(45,106,79,.12);
  box-shadow: var(--shadow-sm);
}

.vmx-home-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

/* Logo */
.vmx-home-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.vmx-home-logo img {
  height: 44px;
  width: auto;
  max-width: 200px;
  max-height: 44px;
  display: block;
  flex-shrink: 0;
}

/* Desktop-Navigation */
.vmx-home-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
  justify-content: center;
  min-width: 0; /* verhindert, dass Nav den Header sprengt */
  overflow: hidden;
}
.vmx-home-nav a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-mittel);
  transition: color var(--transition);
}
.vmx-home-nav a:hover { color: var(--gruen-dunkel); }

/* Header-CTA (Telefon + Button) */
.vmx-home-header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.vmx-home-tel {
  font-weight: 700;
  color: var(--gruen-dunkel);
  font-size: .88rem;
  white-space: nowrap;
}
.vmx-home-tel:hover { color: var(--gruen-mittel); }

/* Burger */
.vmx-home-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  flex-shrink: 0;
}
.vmx-home-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gruen-dunkel);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.vmx-home-burger.burger-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.vmx-home-burger.burger-open span:nth-child(2) { opacity: 0; }
.vmx-home-burger.burger-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile-Nav */
.vmx-home-mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid rgba(45,106,79,.12);
  box-shadow: 0 8px 24px rgba(45,106,79,.12);
}
.vmx-home-mobile-nav.open { display: flex; }
.vmx-home-mobile-nav a {
  padding: 14px 20px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-mittel);
  border-bottom: 1px solid rgba(45,106,79,.08);
  transition: background var(--transition), color var(--transition);
}
.vmx-home-mobile-nav a:hover { background: var(--gruen-bg); color: var(--gruen-dunkel); }
.vmx-home-mobile-nav a:last-child { border-bottom: none; }

/* CTA-Block am Ende des Mobile-Menüs */
.vmx-home-mobile-nav-cta {
  padding: 16px 20px;
  background: var(--gruen-bg);
  border-top: 2px solid rgba(45,106,79,.15);
}
.vmx-home-mobile-nav-cta .vmx-home-btn {
  display: flex;
  justify-content: center;
  width: 100%;
  text-align: center;
}

/* Scroll-Lock wenn Menü offen */
body.vmx-menu-open { overflow: hidden; }

/* ============================================================
   5. HERO
   ============================================================ */
.vmx-home-hero {
  background: linear-gradient(135deg, var(--gruen-dunkel) 0%, var(--gruen-mittel) 100%);
  padding: 72px 0 64px;
}

.vmx-home-hero-grid {
  display: grid;
  /* minmax(0, 420px) verhindert, dass die rechte Spalte den Container sprengt */
  grid-template-columns: 1fr minmax(0, 440px);
  gap: 48px;
  align-items: center;
}

/* Grid-Kinder brauchen min-width: 0, damit Text/Inhalte
   nicht über die Grid-Zelle hinauswachsen */
.vmx-home-hero-content,
.vmx-home-hero-card { min-width: 0; }

.vmx-home-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 18px;
}

.vmx-home-hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 700;
  color: #fff !important;
  line-height: 1.2;
  margin-bottom: 20px;
}
.vmx-home-hero-h1 em {
  font-style: normal;
  color: var(--cta-gelb);
}
.vmx-home-hero-h1-kw {
  font-size: .72em;
  font-weight: 600;
  color: rgba(255,255,255,.7) !important;
  letter-spacing: .01em;
  display: block;
  margin-bottom: 2px;
}

.vmx-home-hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,.88) !important;
  margin-bottom: 28px;
  max-width: 520px;
}

.vmx-home-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.vmx-home-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.vmx-home-hero-trust span {
  font-size: .87rem;
  color: rgba(255,255,255,.85);
}

/* Hero-Karte rechts */
.vmx-home-hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.vmx-home-hero-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dunkel);
  margin-bottom: 16px;
}

.vmx-home-produkt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.vmx-home-chip {
  background: var(--gruen-bg);
  color: var(--gruen-dunkel);
  border: 1px solid var(--gruen-hell);
  border-radius: 6px;
  padding: 7px 12px;
  font-size: .83rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}
.vmx-home-chip:hover { background: var(--gruen-hell); transform: translateY(-1px); color: var(--gruen-dunkel); }

.vmx-home-card-divider { border: none; border-top: 1px solid rgba(45,106,79,.12); margin: 4px 0 16px; }

.vmx-home-hero-kontakt { display: flex; flex-direction: column; gap: 8px; }

.vmx-home-kontakt-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--text-mittel);
  padding: 8px 10px;
  border-radius: var(--radius);
  transition: background var(--transition);
  text-decoration: none;
}
.vmx-home-kontakt-link:hover { background: var(--gruen-bg); color: var(--gruen-dunkel); }

/* ============================================================
   6. TRUST-BAR
   ============================================================ */
.vmx-home-trust-bar {
  background: var(--gruen-dunkel);
  padding: 18px 0;
}

.vmx-home-trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 36px;
}

.vmx-home-trust-item {
  font-size: .88rem;
  color: rgba(255,255,255,.85);
}
.vmx-home-trust-item strong { color: #fff; }

/* ============================================================
   7. PROBLEM & LÖSUNG
   ============================================================ */
.vmx-home-problem {
  padding: 80px 0;
  background: var(--creme);
}

.vmx-home-problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.vmx-home-problem-text,
.vmx-home-loesung-card { min-width: 0; }

.vmx-home-problem-text h2 { margin-bottom: 12px; }

.vmx-home-problem-liste {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}
.vmx-home-problem-liste li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.vmx-home-icon-warn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #fff3cd;
  border-radius: 50%;
  color: #b5860f;
  font-size: 1rem;
  flex-shrink: 0;
}

.vmx-home-loesung-card {
  background: var(--gruen-dunkel);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.vmx-home-loesung-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cta-gelb);
  margin-bottom: 18px;
}
.vmx-home-loesung-liste {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.vmx-home-loesung-liste li {
  font-size: .95rem;
  color: rgba(255,255,255,.9);
  padding-left: 18px;
  position: relative;
}
.vmx-home-loesung-liste li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cta-gelb);
  font-weight: 700;
}

/* ============================================================
   8. PRODUKT-ÜBERSICHT
   ============================================================ */
.vmx-home-produkte {
  padding: 80px 0;
  background: var(--gruen-bg);
}

.vmx-home-tabs {
  display: flex;
  gap: 8px;
  margin: 28px 0 24px;
  flex-wrap: wrap;
}

.vmx-home-tab {
  padding: 10px 22px;
  border-radius: 50px;
  border: 2px solid rgba(45,106,79,.2);
  background: #fff;
  color: var(--text-mittel);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.vmx-home-tab:hover { border-color: var(--gruen-dunkel); color: var(--gruen-dunkel); }
.vmx-home-tab.active {
  background: var(--gruen-dunkel);
  color: #fff;
  border-color: var(--gruen-dunkel);
}

.vmx-home-tab-panel { display: none; }
.vmx-home-tab-panel.active,
.vmx-home-tab-panel:not([hidden]) { display: block; }

.vmx-home-produkt-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.vmx-home-produkt-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(45,106,79,.12);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vmx-home-produkt-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gruen-dunkel);
  color: var(--text-dunkel);
}

.vmx-home-produkt-icon { font-size: 2rem; line-height: 1; }
.vmx-home-produkt-card h3 { margin-bottom: 0; }
.vmx-home-produkt-card p { font-size: .88rem; flex: 1; margin-bottom: 0; }

.vmx-home-card-link {
  font-size: .85rem;
  font-weight: 700;
  color: var(--gruen-dunkel);
  margin-top: auto;
}

/* ============================================================
   9. MIKRO-FUNNEL
   ============================================================ */
.vmx-home-funnel {
  padding: 80px 0;
  background: var(--creme);
}

.vmx-home-funnel-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(45,106,79,.12);
  max-width: 720px;
  margin: 32px auto 0;
  overflow: hidden;
}

/* Fortschritt */
.vmx-home-progress {
  display: flex;
  gap: 6px;
  padding: 24px 28px 0;
}
.vmx-home-progress-step {
  flex: 1;
  height: 4px;
  background: var(--gruen-hell);
  border-radius: 2px;
  transition: background .3s ease;
}
.vmx-home-progress-step.active { background: var(--gruen-dunkel); }

/* Funnel-Schritte: explizit display:none/block, NICHT hidden-Attribut-abhängig.
   Erhöhte Spezifität + !important schützt vor Theme-CSS-Overrides. */
.vmx-home-funnel-card .vmx-home-funnel-step          { display: none !important; padding: 24px 28px 28px; }
.vmx-home-funnel-card .vmx-home-funnel-step.active   { display: block !important; }

.vmx-home-funnel-q {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-dunkel);
  margin-bottom: 16px;
}

.vmx-home-funnel-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.vmx-home-funnel-opt {
  background: var(--gruen-bg);
  border: 2px solid rgba(45,106,79,.15);
  color: var(--text-mittel);
  padding: 14px 16px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .93rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 1;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.vmx-home-funnel-opt:hover { border-color: var(--gruen-dunkel); color: var(--gruen-dunkel); background: var(--gruen-hell); }
.vmx-home-funnel-opt.selected { border-color: var(--gruen-dunkel); background: var(--gruen-dunkel); color: #fff; }

/* Kontaktformular */
.vmx-home-form { display: flex; flex-direction: column; gap: 14px; }

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

.vmx-home-form-group { display: flex; flex-direction: column; gap: 5px; }
.vmx-home-form-group label { font-size: .85rem; font-weight: 600; color: var(--text-mittel); }
.vmx-home-form-group input,
.vmx-home-form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid rgba(45,106,79,.2);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .93rem;
  color: var(--text-dunkel);
  background: #fff;
  width: 100%;
  transition: border-color var(--transition);
}
.vmx-home-form-group input:focus,
.vmx-home-form-group textarea:focus {
  outline: none;
  border-color: var(--gruen-dunkel);
  box-shadow: 0 0 0 3px rgba(45,106,79,.10);
}

.vmx-home-dsgvo {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .83rem;
  color: var(--text-hell);
}
.vmx-home-dsgvo input { margin-top: 2px; flex-shrink: 0; }
.vmx-home-dsgvo a { color: var(--gruen-dunkel); text-decoration: underline; }

.vmx-home-risk-reversal {
  font-size: .78rem;
  color: var(--text-hell);
  text-align: center;
  margin-top: -4px;
  margin-bottom: 0;
}

/* Erfolgs-Meldung */
.vmx-home-success {
  text-align: center;
  padding: 32px;
}
.vmx-home-success[hidden] { display: none; }
.vmx-home-success-icon {
  width: 56px;
  height: 56px;
  background: var(--gruen-dunkel);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}
.vmx-home-success h3 { margin-bottom: 10px; }
.vmx-home-success p  { margin-bottom: 16px; }

/* Direktkontakt unter dem Funnel */
.vmx-home-funnel-direkt {
  text-align: center;
  margin-top: 28px;
}
.vmx-home-funnel-direkt p { font-size: .9rem; color: var(--text-hell); margin-bottom: 12px; }
.vmx-home-funnel-direkt-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* ============================================================
   10. MAKLER-SEKTION
   ============================================================ */
.vmx-home-makler {
  padding: 80px 0;
  background: var(--beige-hell);
}

.vmx-home-makler-grid {
  display: grid;
  grid-template-columns: minmax(0, 300px) 1fr;
  gap: 56px;
  align-items: center;
}
.vmx-home-portrait-placeholder,
.vmx-home-makler-text { min-width: 0; }

.vmx-home-portrait-placeholder {
  background: #fff;
  border-radius: var(--radius-lg);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  border: 2px dashed rgba(45,106,79,.2);
  color: var(--text-hell);
  text-align: center;
}
.vmx-home-portrait-placeholder svg { width: 52px; height: 52px; }

.vmx-home-makler-cred {
  background: var(--gruen-dunkel);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.vmx-home-makler-cred strong { font-size: 1.02rem; }
.vmx-home-makler-cred span   { font-size: .83rem; color: rgba(255,255,255,.8); }

.vmx-home-makler-text h2 { margin-bottom: 12px; }

.vmx-home-zitat {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--gruen-dunkel);
  border-left: 4px solid var(--cta-gelb);
  padding-left: 16px;
  margin: 18px 0 18px;
}

.vmx-home-staerken {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.vmx-home-staerken li { font-size: .95rem; color: var(--text-mittel); }

/* ============================================================
   11. BEWERTUNGEN
   ============================================================ */
.vmx-home-bewertungen {
  padding: 80px 0;
  background: var(--creme);
}

.vmx-home-bewertungen-kopf {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}
.vmx-home-bewertungen-kopf h2 { margin-bottom: 4px; }

.vmx-home-rating {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vmx-home-rating-zahl {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gruen-dunkel);
  line-height: 1;
}
.vmx-home-sterne      { font-size: 1.3rem; color: var(--cta-gelb); letter-spacing: 2px; line-height: 1; }
.vmx-home-sterne-klein { font-size: .9rem;  color: var(--cta-gelb); line-height: 1; }

.vmx-home-bewertungen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.vmx-home-review-card {
  background: #fff;
  border: 1px solid rgba(45,106,79,.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.vmx-home-review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.vmx-home-avatar {
  width: 44px;
  height: 44px;
  background: var(--gruen-dunkel);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .82rem;
  flex-shrink: 0;
}

.vmx-home-review-name  { font-weight: 700; font-size: .88rem; color: var(--text-dunkel); }
.vmx-home-review-card p { font-size: .88rem; font-style: italic; margin-bottom: 10px; }

.vmx-home-review-label {
  display: inline-block;
  background: var(--gruen-hell);
  color: var(--gruen-dunkel);
  font-size: .76rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
}

.vmx-home-bewertung-cta {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--gruen-hell);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.vmx-home-bewertung-cta p {
  margin: 0;
  font-size: .92rem;
  color: var(--text-mittel);
}
.vmx-home-bewertung-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================================
   12. FAQ
   ============================================================ */
.vmx-home-faq {
  padding: 80px 0;
  background: var(--gruen-bg);
}

.vmx-home-faq-inner { max-width: 760px; margin: 0 auto; }

.vmx-home-faq-liste {
  margin-top: 32px;
}

.vmx-home-faq-item {
  border-bottom: 1px solid rgba(45,106,79,.15);
}
.vmx-home-faq-item:first-child { border-top: 1px solid rgba(45,106,79,.15); }

.vmx-home-faq-q {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: .97rem;
  font-weight: 700;
  color: var(--text-dunkel);
  cursor: pointer;
  transition: color var(--transition);
}
.vmx-home-faq-q:hover,
.vmx-home-faq-q.open { color: var(--gruen-dunkel); }

.vmx-home-faq-icon {
  color: var(--gruen-dunkel);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.vmx-home-faq-q.open .vmx-home-faq-icon { transform: rotate(180deg); display: inline-block; }

.vmx-home-faq-a         { padding-bottom: 18px; }
.vmx-home-faq-a[hidden] { display: none; }
.vmx-home-faq-a p       { font-size: .95rem; }

/* ============================================================
   13. FINAL CTA
   ============================================================ */
.vmx-home-final-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--gruen-dunkel) 0%, var(--gruen-mittel) 100%);
  text-align: center;
}

.vmx-home-final-inner h2 {
  color: #fff;
  margin-bottom: 12px;
}
.vmx-home-final-inner p {
  color: rgba(255,255,255,.85);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.vmx-home-final-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.vmx-home-final-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: center;
}
.vmx-home-final-trust span { font-size: .83rem; color: rgba(255,255,255,.78); }

/* ============================================================
   14. FOOTER
   ============================================================ */
.vmx-home-footer {
  display: block !important;  /* Theme-Override-Schutz: verhindert footer{display:none} durch Theme */
  background: #0f1f0f !important;
  padding: 56px 0 0;
  color: rgba(255,255,255,.75);
}

.vmx-home-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  min-width: 0;
}
.vmx-home-footer-brand,
.vmx-home-footer-col { min-width: 0; overflow-wrap: break-word; }

.vmx-home-footer-brand p    { font-size: .86rem; line-height: 1.6; margin: 14px 0 8px; }
.vmx-home-footer-brand small { display: block; font-size: .76rem; color: rgba(255,255,255,.38); margin-top: 10px; }

/* ── Footer Farb-Overrides ───────────────────────────────────────
   Problem: body.vmx-home-page + Typ = Spezifität (0,1,2).
   Das schlägt alle footer-internen Klassen, die max. (0,1,1) haben.
   Lösung: !important auf alle Farbdeklarationen im Footer-Bereich.
   ─────────────────────────────────────────────────────────────── */
.vmx-home-footer p          { color: rgba(255,255,255,.75) !important; }
.vmx-home-footer small      { color: rgba(255,255,255,.38) !important; }
.vmx-home-footer h4         { color: rgba(255,255,255,.45) !important; }
/* Links im Footer: body.vmx-home-page a (0,1,2) > .vmx-home-footer-col a (0,1,1) */
.vmx-home-footer a          { color: rgba(255,255,255,.65) !important; }
.vmx-home-footer a:hover    { color: #fff !important; }

.vmx-home-footer-link {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--cta-gelb);
  margin-bottom: 4px;
}
.vmx-home-footer-link:hover { color: #fff; }
/* footer-link ist ein <a> — muss das allgemeine .vmx-home-footer a überschreiben */
.vmx-home-footer a.vmx-home-footer-link       { color: var(--cta-gelb) !important; }
.vmx-home-footer a.vmx-home-footer-link:hover { color: #fff !important; }

.vmx-home-footer-col h4 {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.45);
  margin-bottom: 14px;
}
.vmx-home-footer-col a {
  display: block;
  font-size: .86rem;
  color: rgba(255,255,255,.65);
  padding: 3px 0;
  transition: color var(--transition);
}
.vmx-home-footer-col a:hover { color: #fff; }

.vmx-home-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 18px 0;
}
.vmx-home-footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .8rem;
  color: rgba(255,255,255,.42);
}
.vmx-home-footer-links { display: flex; gap: 20px; }
.vmx-home-footer-links a { font-size: .8rem; color: rgba(255,255,255,.42); }
.vmx-home-footer-links a:hover { color: #fff; }

/* ============================================================
   15. FLOATING WHATSAPP
   ============================================================ */
.vmx-home-wa-btn {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  z-index: 800;
  transition: transform var(--transition);
}
.vmx-home-wa-btn:hover { transform: scale(1.08); }
.vmx-home-wa-btn svg   { width: 28px; height: 28px; }

/* ============================================================
   16. STICKY MOBILE CTA
   ============================================================ */
.vmx-home-sticky {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 800;
  background: #fff;
  border-top: 1px solid rgba(45,106,79,.15);
  box-shadow: 0 -4px 16px rgba(45,106,79,.10);
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.vmx-home-sticky.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.vmx-home-sticky-call,
.vmx-home-sticky-anfrage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  font-family: var(--font-body);
  font-size: .93rem;
  font-weight: 700;
  text-decoration: none;
  flex: 1;
  transition: background var(--transition);
}
.vmx-home-sticky-call    { background: var(--gruen-bg); color: var(--gruen-dunkel); }
.vmx-home-sticky-call:hover { background: var(--gruen-hell); color: var(--gruen-dunkel); }
.vmx-home-sticky-anfrage { background: var(--cta-gelb); color: var(--text-dunkel); flex: 1.3; }
.vmx-home-sticky-anfrage:hover { background: var(--cta-dunkel); color: #fff; }

/* ============================================================
   17. RESPONSIVE
   ============================================================ */
/* ── 1024px: Hero einspaltig, Grids 2-spaltig ── */
@media (max-width: 1024px) {
  .vmx-home-hero-grid        { grid-template-columns: 1fr; }
  .vmx-home-hero-card        { max-width: 560px; }
  .vmx-home-produkt-grid     { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vmx-home-makler-grid      { grid-template-columns: 1fr; gap: 32px; }
  .vmx-home-bewertungen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vmx-home-footer-grid      { grid-template-columns: 1fr 1fr; }
}

/* ── 900px: Nav-Links kompakter, CTA-Button kleiner ── */
@media (max-width: 900px) {
  .vmx-home-nav { gap: 16px; }
  .vmx-home-nav a { font-size: .82rem; }
  /* CTA-Button im Header: Padding reduzieren damit Header nicht bricht */
  .vmx-home-header-cta .vmx-home-btn {
    padding: 10px 16px;
    font-size: .85rem;
  }
}

/* ── 768px: Mobile Layout ── */
@media (max-width: 768px) {
  .vmx-home-hero             { padding: 48px 0 40px; }
  .vmx-home-nav              { display: none; }
  .vmx-home-header-cta       { display: none; }
  .vmx-home-burger           { display: flex; }
  .vmx-home-problem-grid     { grid-template-columns: 1fr; }
  .vmx-home-funnel-opts      { grid-template-columns: 1fr; }
  .vmx-home-form-row         { grid-template-columns: 1fr; }
  .vmx-home-bewertungen-grid { grid-template-columns: 1fr; }
  .vmx-home-bewertungen-kopf { flex-direction: column; align-items: flex-start; }
  .vmx-home-footer-grid      { grid-template-columns: 1fr 1fr; gap: 24px; }
  .vmx-home-footer-brand     { grid-column: 1 / -1; }
  .vmx-home-sticky           { display: flex; }
  .vmx-home-wa-btn           { bottom: 72px; }
  /* Sticky-Bar (ca. 54px hoch) darf Footer-Bottom nicht verdecken */
  .vmx-home-footer-bottom    { padding-bottom: 60px; }
  /* Verhindern dass Karten-Inhalte überlaufen */
  .vmx-home-produkt-card,
  .vmx-home-review-card      { overflow: hidden; }
}

/* ── 480px: Alles einspaltig ── */
@media (max-width: 480px) {
  .vmx-home-produkt-grid     { grid-template-columns: 1fr; }
  .vmx-home-footer-grid      { grid-template-columns: 1fr; gap: 20px; }
  .vmx-home-footer-brand     { grid-column: auto; }
  .vmx-home-tabs             { flex-direction: column; }
  .vmx-home-hero-ctas        { flex-direction: column; }
  .vmx-home-final-btns       { flex-direction: column; align-items: center; }
  /* Chips umbrechen sauber */
  .vmx-home-produkt-chips    { gap: 6px; }
  .vmx-home-chip             { font-size: .79rem; padding: 6px 10px; }
}
