/* ==============================
   RANMO MARKETPLACE — Airbnb-Style
   ============================== */

/* ===== SEARCH HERO ===== */
.mp-search-hero {
  background: var(--bg);
  padding: 140px 0 64px;
  border-bottom: 1px solid var(--border);
  position: relative;
  /* overflow nicht hidden, sonst werden Dropdowns abgeschnitten */
  overflow: visible;
}
.mp-search-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 30% 50%, rgba(0,209,194,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 600px 300px at 80% 30%, rgba(0,209,194,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.mp-hero-text {
  position: relative;
  text-align: center;
  margin-bottom: 48px;
}
.mp-eyebrow {
  font-size: 13px; letter-spacing: 3px;
  color: var(--accent); text-transform: uppercase;
  font-weight: 400; margin-bottom: 14px;
}
.mp-hero-text h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 300; letter-spacing: -0.3px;
  color: var(--text); line-height: 1.15;
  font-family: 'Barlow', sans-serif;
  margin-bottom: 18px;
}
.mp-sub {
  font-size: 16px; font-weight: 300;
  color: var(--text-2); max-width: 720px;
  margin: 0 auto; line-height: 1.6;
}

/* ===== SEARCH ROW: Pill + Filter-Button nebeneinander ===== */
.mp-search-row {
  display: flex; align-items: stretch; gap: 14px;   /* stretch = gleiche Höhe */
  max-width: 1120px; margin: 0 auto;
  /* z-index > Hinweis-Note (z-index:2), damit aufgeklappte Dropdowns (Segment,
     Geo-Autocomplete) über dem darunterliegenden Hinweistext liegen. Die Row
     bildet einen Stacking-Context, daher reicht das interne z-index der Menüs nicht. */
  position: relative; z-index: 3;
}
.mp-search-row .mp-search-bar { flex: 1; margin: 0; }

/* Dezenter Vorlaufzeit-Hinweis unter der Suchleiste */
.mp-search-note {
  display: flex; align-items: center; gap: 7px;
  max-width: 1120px; margin: 12px auto 0;
  padding-left: 4px;
  font-size: 12px; font-weight: 300;
  color: var(--text-3);
  /* z-index niedriger als die Suchleiste (.mp-search-row, z-index:3), aber über dem
     Hero-Hintergrund (::before, z-index:0) — so liegen aufgeklappte Such-Dropdowns
     (Segment, Geo-Autocomplete) immer ÜBER diesem Hinweistext. */
  position: relative; z-index: 1;
}
.mp-search-note svg { color: var(--accent); opacity: 0.8; flex: none; }

/* Geo-Autocomplete (Suchfeld) */
.mp-geo-field { position: relative; }
.geo-ac-list {
  display: none; position: absolute; z-index: 60; left: 0; right: 0; top: 100%;
  margin-top: 8px; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  max-height: 300px; overflow: auto; min-width: 260px;
}
.geo-ac-item {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 10px 14px; cursor: pointer; font-size: 14px;
}
.geo-ac-item:hover { background: rgba(0,209,194,0.10); }
.geo-ac-name { color: var(--text); font-weight: 500; }
.geo-ac-sub { color: var(--text-3); font-size: 11px; white-space: nowrap; }
.geo-ac-empty { padding: 11px 14px; color: var(--text-3); font-size: 13px; }

/* Such-Chips (ausgewählte Orte/Regionen) */
.mp-geo-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  max-width: 1120px; margin: 12px auto 0;
}
.mp-geo-chips:empty { display: none; }
.mp-geo-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(0,209,194,0.12); border: 1px solid rgba(0,209,194,0.4);
  color: var(--text); border-radius: 18px; padding: 5px 6px 5px 13px; font-size: 13px;
}
.mp-geo-chip button {
  border: none; background: rgba(255,255,255,0.08); color: var(--text-2);
  width: 18px; height: 18px; border-radius: 50%; cursor: pointer; font-size: 14px;
  line-height: 1; display: flex; align-items: center; justify-content: center;
}
.mp-geo-chip button:hover { background: var(--accent); color: #06231f; }

/* „Passend für …"-Label auf der Karte */
.mp-card-match {
  font-size: 12px; color: var(--accent); font-weight: 500;
  margin-top: 4px; line-height: 1.35;
}

/* Filter-Button: exakt im Pill-Design der Suchleiste */
.mp-filter-btn-hero {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 0 28px;
  border-radius: 100px;
  font-size: 13px; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  cursor: pointer; transition: all 0.2s;
}
.mp-filter-btn-hero svg { color: var(--accent); }
.mp-filter-btn-hero:hover {
  border-color: rgba(0,209,194,0.4);
  box-shadow: 0 16px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,209,194,0.1);
}

/* ===== SEARCH BAR (Airbnb-style pill) ===== */
.mp-search-bar {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 8px 8px 0;
  display: flex;
  align-items: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  transition: all 0.2s;
}
.mp-search-bar:hover {
  border-color: rgba(0,209,194,0.4);
  box-shadow: 0 16px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,209,194,0.1);
}
.mp-search-field {
  flex: 1;
  padding: 14px 24px;
  cursor: pointer;
  border-radius: 100px;
  transition: background 0.2s;
}
.mp-search-field:hover {
  background: rgba(255,255,255,0.03);
}
.mp-search-field label {
  display: block;
  font-size: 10px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 6px;
}
.mp-search-field input,
.mp-search-field select {
  background: transparent;
  border: none; outline: none;
  color: var(--text);
  font-family: inherit;
  font-size: 14px; font-weight: 400;
  width: 100%; padding: 0;
  /* Wichtig fuer Date-Picker und Select auf Webkit/Firefox */
  color-scheme: dark;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.mp-search-field input::placeholder { color: var(--text-3); }

/* Geöffnete Select-Dropdowns: dunkler BG + heller Text */
.mp-search-field select option {
  background: var(--bg-2);
  color: var(--text);
  padding: 8px;
}

/* Date-Input Indicator (Kalender-Icon) heller machen */
.mp-search-field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.7) sepia(1) saturate(5) hue-rotate(140deg);
  cursor: pointer;
  opacity: 0.85;
}
.mp-search-field input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* Select: Custom-Caret damit man Dropdown erkennt */
.mp-search-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2300D1C2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 18px;
  cursor: pointer;
}

.mp-search-divider {
  width: 1px; height: 32px;
  background: var(--border);
  flex-shrink: 0;
}

/* ===== CUSTOM DROPDOWN (mp-cs) ===== */
.mp-cs { position: relative; }

.mp-cs-trigger {
  width: 100%;
  background: transparent;
  border: none; outline: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px; font-weight: 400;
  padding: 0;
  text-align: left;
}
.mp-cs-trigger .mp-cs-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mp-cs-trigger .mp-cs-caret {
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.mp-cs.open .mp-cs-trigger .mp-cs-caret {
  transform: rotate(180deg);
}

/* Dropdown menu */
.mp-cs-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: #3A3939;          /* solider Fallback, nicht transparent */
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  list-style: none;
  margin: 0;
  z-index: 200;
  display: none;
  max-height: 280px;
  overflow-y: auto;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,0,0,0.4);
}
.mp-cs.open .mp-cs-menu { display: block; }

.mp-cs-menu li {
  padding: 10px 14px;
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  font-family: inherit;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mp-cs-menu li:hover {
  background: rgba(0,209,194,0.10);
  color: var(--accent);
}
.mp-cs-menu li.active {
  background: var(--accent);
  color: var(--bg);
  font-weight: 500;
}
.mp-cs-menu li.active:hover {
  background: var(--accent-2);
  color: var(--bg);
}

/* Compact-Variant (z. B. für Sort-Dropdown) */
.mp-cs-compact .mp-cs-trigger {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 300;
}
.mp-cs-compact .mp-cs-trigger:hover {
  border-color: var(--accent);
}
.mp-cs-compact .mp-cs-menu {
  min-width: 220px;
  right: 0; left: auto;
}
.mp-cs-compact label {
  font-size: 12px; color: var(--text-2);
  letter-spacing: 0.5px; text-transform: uppercase;
}
.mp-search-btn {
  background: var(--accent);
  color: var(--bg);
  border: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  margin-left: 12px;
  transition: all 0.2s;
  flex-shrink: 0;
}
.mp-search-btn:hover {
  background: var(--accent-2);
  transform: scale(1.05);
}

/* ===== MAIN (einspaltig, Airbnb-Style) ===== */
.mp-main {
  background: var(--bg);
  padding: 48px 0 80px;
}

/* Results-Controls: Filter-Button + Sort */
.mp-results-controls {
  display: flex; align-items: center; gap: 12px;
}
.mp-filter-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.5px;
  padding: 9px 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.mp-filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.mp-filter-btn svg { color: var(--accent); }
.mp-filter-count {
  background: var(--accent); color: var(--bg);
  font-size: 11px; font-weight: 600;
  min-width: 18px; height: 18px; border-radius: 100px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 5px;
}

/* ===== FILTER MODAL ===== */
.mp-filter-modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 9999;
  align-items: center; justify-content: center;
  padding: 24px;
}
.mp-filter-modal-overlay.open { display: flex; animation: mpFadeIn 0.25s ease-out; }
.mp-filter-modal {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  width: 100%; max-width: 560px;
  max-height: 88vh;
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: mpScaleIn 0.25s ease-out;
}
.mp-fm-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
}
.mp-fm-header h3 {
  font-size: 18px; font-weight: 500;
  letter-spacing: 1px; color: var(--text);
  font-family: 'Barlow', sans-serif;
}
.mp-fm-close {
  width: 34px; height: 34px;
  background: transparent; border: none;
  border-radius: 50%; color: var(--text-2);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.mp-fm-close:hover { background: var(--bg-3); color: var(--accent); }

.mp-fm-body {
  flex: 1; overflow-y: auto;
  padding: 8px 28px 20px;
}
.mp-fm-block {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.mp-fm-block:last-child { border-bottom: none; }
.mp-fm-block h4 {
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--text); margin-bottom: 16px;
  font-family: 'Barlow', sans-serif;
}

/* Chip-Style für Checkboxen (statt Liste) */
.mp-fm-chips {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.mp-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 13px; font-weight: 300;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.mp-chip input { display: none; }
.mp-chip:hover { border-color: rgba(0,209,194,0.4); }
.mp-chip:has(input:checked) {
  border-color: var(--accent);
  background: rgba(0,209,194,0.10);
  color: var(--accent);
}
.mp-chip:has(input:checked)::before {
  content: '✓'; font-weight: 600; margin-right: -2px;
}

.mp-fm-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  border-top: 1px solid var(--border);
}
.mp-fm-reset {
  background: none; border: none;
  color: var(--text-2); font-family: inherit;
  font-size: 13px; font-weight: 400;
  text-decoration: underline; cursor: pointer;
}
.mp-fm-reset:hover { color: var(--accent); }
.mp-fm-apply {
  background: var(--accent); color: var(--bg);
  border: none; border-radius: 8px;
  padding: 12px 28px;
  font-family: inherit; font-size: 13px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; transition: background 0.2s;
}
.mp-fm-apply:hover { background: var(--accent-2); }

/* ===== FILTERS SIDEBAR ===== */
.mp-filters {
  position: sticky;
  top: 100px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.mp-filter-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.mp-filter-header h3 {
  font-size: 14px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent);
  font-family: 'Barlow', sans-serif;
}
.mp-filter-reset {
  background: none; border: none;
  color: var(--text-2); font-family: inherit;
  font-size: 12px; cursor: pointer;
  text-decoration: underline;
  font-weight: 300;
}
.mp-filter-reset:hover { color: var(--accent); }

.mp-filter-block {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.mp-filter-block:last-of-type { border-bottom: none; }
.mp-filter-block h4 {
  font-size: 12px; font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--text); margin-bottom: 12px;
  font-family: 'Barlow', sans-serif;
}

.mp-filter-range {
  display: flex; align-items: center; gap: 8px;
}
.mp-filter-range input {
  flex: 1; min-width: 0;
  padding: 8px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: inherit;
  font-size: 13px; font-weight: 300;
  outline: none;
  -moz-appearance: textfield;
}
.mp-filter-range input::-webkit-outer-spin-button,
.mp-filter-range input::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}
.mp-filter-range input:focus { border-color: var(--accent); }
.mp-filter-range span { color: var(--text-3); }

.mp-checkbox {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; padding: 6px 0;
  font-size: 13px; color: var(--text);
  font-weight: 300;
}
.mp-checkbox input {
  width: 16px; height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.mp-filter-apply {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.mp-filter-apply:hover { background: var(--accent-2); }

/* ===== RESULTS ===== */
.mp-results-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 28px;
  flex-wrap: wrap; gap: 16px;
}
.mp-results-head h2 {
  font-size: 22px; font-weight: 400;
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.mp-results-sub {
  font-size: 13px; color: var(--text-3);
  font-weight: 300;
}
.mp-sort {
  display: flex; align-items: center; gap: 10px;
}
.mp-sort label {
  font-size: 12px; color: var(--text-2);
  letter-spacing: 0.5px; text-transform: uppercase;
}
.mp-sort select {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: inherit;
  font-size: 13px; font-weight: 300;
  padding: 8px 12px;
  outline: none;
  cursor: pointer;
}
.mp-sort select:focus { border-color: var(--accent); }

/* ===== RESULT GRID (Airbnb-Cards) ===== */
.mp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.mp-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.mp-card:hover {
  border-color: rgba(0,209,194,0.5);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

.mp-card-image {
  position: relative;
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #1a1f26 0%, #0f1418 100%);
  overflow: hidden;
}
.mp-card-image::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(0,209,194,0.15) 0%, transparent 70%);
}
.mp-card-image svg {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
/* Hochgeladenes Spediteur-Bild füllt den Bildbereich */
.mp-card-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.mp-card-fav {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: rgba(11,13,16,0.7);
  backdrop-filter: blur(6px);
  border: none; border-radius: 50%;
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 2;
}
.mp-card-fav:hover {
  color: var(--accent);
  transform: scale(1.1);
}
.mp-card-fav.active {
  color: var(--accent);
}
.mp-card-fav.active svg { fill: currentColor; }

.mp-card-badges {
  position: absolute;
  top: 12px; left: 12px;
  display: flex; gap: 6px;
  z-index: 2;
}
.mp-card-badge {
  background: rgba(11,13,16,0.85);
  backdrop-filter: blur(6px);
  color: var(--accent);
  padding: 5px 10px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 5px;
}
.mp-card-badge svg { width: 11px; height: 11px; }

.mp-card-body {
  padding: 18px 20px 20px;
}
.mp-card-title-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; margin-bottom: 4px;
}
.mp-card-title {
  font-size: 15px; font-weight: 500;
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  line-height: 1.3;
  flex: 1;
}
.mp-card-rating {
  display: flex; align-items: center; gap: 4px;
  font-size: 13px; color: var(--text); font-weight: 400;
  flex-shrink: 0;
}
.mp-card-rating svg { color: var(--accent); width: 13px; height: 13px; }

.mp-card-region {
  font-size: 13px; color: var(--text-2);
  margin-bottom: 8px;
  font-weight: 300;
}
.mp-card-reach {
  font-size: 12px; color: var(--accent); font-weight: 600;
  margin-bottom: 12px; line-height: 1.3; letter-spacing: 0.2px;
}

.mp-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 0;
  margin-bottom: 12px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.mp-card-stat { text-align: center; }
.mp-card-stat-val {
  display: block;
  font-size: 14px; font-weight: 500;
  color: var(--accent);
  font-family: 'Barlow', sans-serif;
}
.mp-card-stat-lbl {
  font-size: 10px; color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 400;
}

.mp-card-price {
  display: flex; justify-content: space-between; align-items: baseline;
}
.mp-card-price-from {
  font-size: 11px; color: var(--text-3);
  margin-right: 4px;
}
.mp-card-price-val {
  font-size: 20px; font-weight: 400;
  color: var(--text);
  font-family: 'Barlow', sans-serif;
}
.mp-card-price-unit {
  font-size: 12px; color: var(--text-2);
  font-weight: 300;
}

/* ===== PAGINATION ===== */
.mp-pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 8px;
}
.mp-page-btn {
  width: 36px; height: 36px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-2);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.mp-page-btn:hover:not(:disabled):not(.active) {
  border-color: var(--accent);
  color: var(--accent);
}
.mp-page-btn.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  font-weight: 500;
}
.mp-page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ===== HOW IT WORKS STRIP ===== */
.mp-how {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 80px 0;
}
.mp-how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.mp-how-step { text-align: center; }
.mp-how-num {
  width: 48px; height: 48px;
  background: rgba(0,209,194,0.1);
  border: 1.5px solid var(--accent);
  color: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 400;
  margin: 0 auto 18px;
  font-family: 'Barlow', sans-serif;
}
.mp-how-step h4 {
  font-size: 14px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text); margin-bottom: 12px;
  font-family: 'Barlow', sans-serif;
}
.mp-how-step p {
  font-size: 13px; color: var(--text-2);
  font-weight: 300; line-height: 1.6;
  max-width: 240px; margin: 0 auto;
}

/* ===== LOGIN REQUIRED MODAL ===== */
.mp-modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 9999;
  align-items: center; justify-content: center;
  padding: 24px;
}
.mp-modal-overlay.open {
  display: flex;
  animation: mpFadeIn 0.25s ease-out;
}
@keyframes mpFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.mp-modal {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  width: 100%;
  max-width: 460px;
  position: relative;
  animation: mpScaleIn 0.25s ease-out;
}
@keyframes mpScaleIn {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.mp-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  background: transparent; border: none;
  border-radius: 50%;
  color: var(--text-2);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.mp-modal-close:hover {
  background: var(--bg-3);
  color: var(--accent);
}
.mp-modal-body {
  padding: 44px 36px 36px;
  text-align: center;
}
.mp-modal-icon {
  width: 84px; height: 84px;
  background: rgba(0,209,194,0.08);
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin: 0 auto 22px;
}
.mp-modal h3 {
  font-size: 22px; font-weight: 400;
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}
.mp-modal p {
  font-size: 14px; color: var(--text-2);
  font-weight: 300; line-height: 1.6;
  margin-bottom: 28px;
}
.mp-modal-actions {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .mp-search-row { flex-direction: column; gap: 12px; }
  .mp-filter-btn-hero { width: 100%; justify-content: center; border-radius: 12px; }
  .mp-search-bar {
    flex-wrap: wrap;
    border-radius: 16px;
    padding: 8px;
  }
  .mp-search-divider { display: none; }
  .mp-search-field {
    flex: 1 1 calc(50% - 4px);
    min-width: 140px;
    border-radius: 8px;
  }
  .mp-search-btn {
    margin: 8px 0 0;
    width: 100%;
    border-radius: 8px;
  }
  .mp-how-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .mp-search-hero { padding: 110px 0 48px; }
  .mp-search-field { flex: 1 1 100%; }
  .mp-grid { grid-template-columns: 1fr; }
  .mp-how-grid { grid-template-columns: 1fr; }
  .mp-results-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .mp-results-controls { width: 100%; }
  .mp-filter-btn { flex: 1; justify-content: center; }
  /* Filter-Modal als Vollbild-Sheet auf Mobile */
  .mp-filter-modal-overlay { padding: 0; align-items: flex-end; }
  .mp-filter-modal { max-width: 100%; max-height: 92vh; border-radius: 18px 18px 0 0; }
}

/* ===================== RESPONSIVE (Handy & Tablet) ===================== */
@media (max-width: 900px) {
  .mp-search-row { flex-direction: column; max-width: 680px; gap: 12px; }
  .mp-search-bar { flex-direction: column; align-items: stretch; border-radius: 18px; padding: 10px; }
  .mp-search-bar .mp-search-divider { display: none; }
  .mp-search-field { width: 100%; padding: 10px 14px; }
  .mp-search-bar .mp-cs-menu { position: static; box-shadow: none; }
  .mp-search-btn { width: 100%; border-radius: 12px; height: 48px; }
  .mp-filter-btn-hero { width: 100%; justify-content: center; padding: 14px; }
  .mp-results-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  #mpSegInfo > div { grid-template-columns: 1fr !important; }
}
@media (max-width: 560px) {
  .mp-hero-text h1 { font-size: 30px; line-height: 1.2; }
  .mp-card-stats { gap: 8px; }
}
