:root {
  --iz-green:   #1a9d4e;
  --iz-dark:    #1a1a2e;
  --iz-light:   #f8f9fa;
}

/* ── Body ─────────────────────────────────────────────────────────────────── */
body { background: #f4f6f9; font-family: 'Segoe UI', system-ui, sans-serif; }

/* ── Navbar ───────────────────────────────────────────────────────────────── */
.navbar { background: var(--iz-dark) !important; }
.bg-primary { background: var(--iz-dark) !important; }
.btn-primary { background: var(--iz-green) !important; border-color: var(--iz-green) !important; }
.btn-primary:hover { background: #157a3c !important; border-color: #157a3c !important; }
.btn-outline-primary { color: var(--iz-green) !important; border-color: var(--iz-green) !important; }
.btn-outline-primary:hover { background: var(--iz-green) !important; color: #fff !important; }
.text-primary { color: var(--iz-green) !important; }
.page-link { color: var(--iz-green); }
.page-item.active .page-link { background: var(--iz-green); border-color: var(--iz-green); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, var(--iz-dark) 0%, #0f3d2e 100%);
  padding: 4rem 0;
}
.hero-search-form .form-control,
.hero-search-form .form-select {
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.hero-search-form .btn-warning {
  background: #f4c430;
  border-color: #f4c430;
  color: #1a1a2e;
  font-weight: 700;
}

/* ── Stats Card ───────────────────────────────────────────────────────────── */
.stats-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 1rem;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  min-width: 280px;
}
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 1.75rem; font-weight: 800; color: #fff; }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.7); }
.stat-item.full-width { grid-column: 1 / -1; }

/* ── City Badge ───────────────────────────────────────────────────────────── */
.city-badge {
  padding: .35rem .7rem;
  border-radius: 20px;
  font-size: .8rem;
  transition: all .2s;
}
.city-badge:hover { background: var(--iz-green) !important; color: #fff !important; border-color: var(--iz-green) !important; }

/* ── Listing Card ─────────────────────────────────────────────────────────── */
.listing-card { border-radius: .75rem; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.listing-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12) !important; }

.listing-img-wrap { position: relative; height: 180px; overflow: hidden; }
.listing-img { width: 100%; height: 180px; object-fit: cover; transition: transform .3s; }
.listing-card:hover .listing-img { transform: scale(1.05); }
.listing-img-placeholder { height: 180px; }

.listing-country-badge {
  position: absolute; top: 8px; left: 8px;
  background: rgba(255,255,255,.9);
  border-radius: 6px; padding: 2px 6px;
  font-size: 1.1rem;
}
.listing-source-badge {
  position: absolute; top: 8px; right: 8px;
  color: #fff; border-radius: 6px;
  padding: 2px 8px; font-size: .72rem; font-weight: 600;
}
.listing-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

/* ── Source Badge (Footer) ────────────────────────────────────────────────── */
.source-badge {
  border: 2px solid;
  border-radius: 6px;
  padding: .4rem .9rem;
  font-weight: 700;
  font-size: .85rem;
}

/* ── Feature Icons ────────────────────────────────────────────────────────── */
.feature-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--iz-green), #2dc26e);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
  font-size: 1.6rem; color: #fff;
}

/* ── Info Box (Inserat Detail) ────────────────────────────────────────────── */
.info-box { border: 1px solid #e8eaed; }

/* ── Responsive Anpassungen ──────────────────────────────────────────────── */
@media (max-width: 576px) {
  .hero-section { padding: 2.5rem 0; }
  .stats-card { display: none; }
}
