/**
 * ge-angebote.css — Gallium Estate
 * Ausgelagert aus page-angebote.php
 */

/* ═══════════════════════════════════════════════════════════════
   ANGEBOTE — Premium +++ v32
   ═══════════════════════════════════════════════════════════════ */
:root {
  --ao-navy:   var(--navy);
  --ao-gold:   var(--gold);
  --ao-gold-l: var(--gold-l);
  --ao-gold-d: var(--gold-d);
  --ao-warm:   var(--warm);
  --ao-muted:  var(--muted);
  --ao-border: var(--border);
  --ao-serif:  'Cormorant Garamond', Georgia, serif;
  --ao-sans:   'Outfit', system-ui, sans-serif;
  --ao-ease:   cubic-bezier(.16,1,.3,1);
}

/* ── HERO ── */

/*
 * FIX: ge-hero-premium__bg-img muss absolut positioniert sein.
 * Ohne diesen Block rendert das <img> als normales Block-Element
 * im Flex-Flow der .ao-hero → Text erscheint unterhalb des Bilds,
 * nicht als Overlay darüber ("Text mitten in den Bildern").
 */
.ao-hero .ge-hero-premium__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
}

.ao-hero {
  background: var(--ao-navy);
  padding: 48px 0 40px;   /* FIX: kein min-height mehr → Leerraum war künstlich */
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.ao-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 50% at 30% -20%, rgba(201,168,106,.04), transparent 55%),
    linear-gradient(108deg, rgba(3,10,20,.52) 0%, rgba(7,15,29,.32) 50%, rgba(10,22,36,.12) 100%);
}
.ao-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(201,168,106,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,106,.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.ao-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;     /* FIX: war flex-end → Text mittig statt unten */
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  width: 100%;
}
.ao-hero__text {}
.ao-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ao-gold);
  margin-bottom: 14px;
}
.ao-eyebrow::before, .ao-eyebrow::after {
  content: '';
  width: 20px;
  height: 1px;
  background: currentColor;
  opacity: .4;
}
.ao-hero h1 {
  font-family: var(--ao-serif);
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 16px;
}
.ao-hero h1 em {
  font-style: italic;
  color: var(--ao-gold-l);
}
.ao-hero__sub {
  font-size: 15px;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  max-width: 480px;
}
.ao-hero__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.ao-hero__stat {
  text-align: center;
}
.ao-hero__stat-val {
  font-family: var(--ao-serif);
  font-size: 38px;
  font-weight: 300;
  color: var(--ao-gold-l);
  line-height: 1;
  display: block;
}
.ao-hero__stat-lbl {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
  margin-top: 5px;
  display: block;
}

/* ── FILTER BAR ── */
.ao-filter-wrap {
  background: #fff;
  border-bottom: 1px solid var(--ao-border);
  position: sticky;
  top: 72px;
  z-index: 50;
  box-shadow: var(--shadow-soft, 0 8px 24px rgba(10,26,47,.06));
}
.ao-filter {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 60px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ao-filter::-webkit-scrollbar { display: none; }
.ao-filter-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ao-muted);
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 4px;
}
.ao-filter-sep {
  width: 1px;
  height: 20px;
  background: var(--ao-border);
  flex-shrink: 0;
  margin: 0 6px;
}
.ao-filter-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--pill-radius, 999px);
  border: 1.5px solid var(--ao-border);
  background: transparent;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ao-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, opacity .2s ease, transform .2s ease, border-color .2s ease;
  flex-shrink: 0;
  font-family: var(--ao-sans);
}
.ao-filter-btn:hover, .ao-filter-btn.active {
  background: var(--ao-navy);
  border-color: var(--ao-navy);
  color: #fff;
}
.ao-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 100px;
  background: rgba(255,255,255,.15);
  font-size: 10px;
  font-weight: 700;
}
.ao-filter-btn:not(.active) .ao-filter-count {
  background: var(--ao-border);
  color: var(--ao-navy);
}

/* ── OBJEKTE GRID ── */
.ao-main {
  background: var(--ao-warm);
  padding: 48px 0 80px;
}
.ao-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.ao-result-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.ao-result-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--ao-navy);
}
.ao-result-count span {
  color: var(--ao-gold-d);
}
.ao-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ao-muted);
}
.ao-sort select {
  border: 1px solid var(--ao-border);
  background: #fff;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  font-family: var(--ao-sans);
  color: var(--ao-navy);
  cursor: pointer;
}

.ao-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1000px) { .ao-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .ao-grid { grid-template-columns: 1fr; } }

/* ── PROPERTY CARD ── */
.ao-card {
  background: #fff;
  border: 1px solid var(--ao-border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .3s var(--ao-ease), box-shadow .3s var(--ao-ease), border-color .3s;
  cursor: pointer;
  position: relative;
}
.ao-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(10,26,47,.12);
  border-color: rgba(201,168,106,.25);
}
.ao-card--reserved {
  opacity: .85;
}

/* ══════════════════════════════════════════════════════════
   PROPERTY-CARD HOVER-OVERLAY — v1.0
   Dunkles Glass-Overlay mit Key-Facts + CTA erscheint beim
   Hover über dem Bild. Kein JS, kein Template-Umbau nötig.
   Voraussetzung: .ao-card__overlay HTML in .ao-card__img.
══════════════════════════════════════════════════════════ */

/* Overlay-Wrapper — deaktiviert (Daten stehen bereits unten in der Card) */
.ao-card__overlay {
  display: none;
}

/* Hover: leichter Bild-Zoom bleibt erhalten */

/* ── Smooth Image-Zoom verstärken wenn Overlay sichtbar ── */
.ao-card:hover .ao-card__img-bg {
  transform: scale(1.06); /* war 1.04 — leicht verstärkt */
}

/* ── Reduced-Motion: Overlay ohne Transform ── */
@media (prefers-reduced-motion: reduce) {
  .ao-card__overlay {
    transition: opacity .2s;
    transform: none !important;
  }
}

/* ── Mobile: Overlay dauerhaft sichtbar (kein Hover) ── */
@media (max-width: 767px) {
  .ao-card__overlay {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    /* Auf Mobile: nur unterer Gradient-Streifen mit Preis/CTA */
    background: linear-gradient(
      to top,
      rgba(4,12,26,.88) 0%,
      rgba(4,12,26,.55) 35%,
      transparent 65%
    );
  }
  /* Facts auf Mobile ausblenden — zu eng */
  .ao-card__overlay-facts,
  .ao-card__overlay-ort {
    display: none;
  }
  .ao-card__overlay-preis {
    font-size: 18px;
  }
  .ao-card__overlay-cta {
    padding: 7px 12px;
    font-size: 11px;
  }
}

/* Card Image Area */
.ao-card__img-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
}
.ao-card__img {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 220px;
  max-height: 360px;
  overflow: hidden;
}
.ao-card__img-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform .5s var(--ao-ease);
  overflow: hidden;
}
.ao-card:hover .ao-card__img-bg {
  transform: scale(1.04);
}
.ao-card__img-icon {
  font-size: 52px;
  opacity: .3;
  filter: blur(1px);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Status Badge */
.ao-card__status {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  backdrop-filter: blur(8px);
}

/* Highlight Tag */
.ao-card__highlight {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(10,26,47,.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201,168,106,.2);
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ao-gold-l);
  display: flex;
  align-items: center;
  gap: 6px;
}
.ao-card__highlight::before {
  content: '✦';
  color: var(--ao-gold);
  font-size: 9px;
}

/* Card Body */
.ao-card__body {
  padding: 22px 22px 18px;
}
.ao-card__ort {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ao-gold-d);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ao-card__ort svg {
  opacity: .5;
  flex-shrink: 0;
}
.ao-card__title {
  font-family: var(--ao-serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--ao-navy);
  line-height: 1.25;
  margin-bottom: 16px;
}

/* Facts Row */
.ao-card__facts {
  display: flex;
  gap: 0;
  border: 1px solid var(--ao-border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}
.ao-card__fact {
  flex: 1;
  padding: 9px 6px;
  text-align: center;
  border-right: 1px solid var(--ao-border);
  min-width: 0;
}
.ao-card__fact:last-child { border-right: none; }
.ao-card__fact-val {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ao-navy);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ao-card__fact-lbl {
  display: block;
  font-size: 10px;
  color: var(--ao-muted);
  margin-top: 2px;
  white-space: nowrap;
}

/* Tags */
.ao-card__tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.ao-card__tag {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
  background: rgba(154,112,48,.07);
  border: 1px solid rgba(154,112,48,.15);
  color: var(--ao-gold-d);
}

/* Card Footer */
.ao-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--ao-border);
  gap: 12px;
}
.ao-card__preis {
  font-family: var(--ao-serif);
  font-size: 26px;
  font-weight: 300;
  color: var(--ao-navy);
  line-height: 1;
}
.ao-card__preis span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ao-muted);
}
.ao-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 8px;
  background: var(--ao-gold);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--ao-sans);
}
.ao-card__cta:hover {
  background: var(--ao-gold-d);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(201,168,106,.3);
}
.ao-card--reserved .ao-card__cta {
  background: rgba(10,26,47,.12);
  color: var(--ao-navy);
}

/* ── VIP OFF-MARKET BLOCK ── */
.ao-vip-block {
  background: linear-gradient(135deg, rgba(4,8,15,.85), rgba(14,32,64,.85));
  border-radius: 20px;
  padding: 48px;
  margin: 48px 0 0;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  border: 1px solid rgba(201,168,106,.08);
  opacity: .88;
}
.ao-vip-block::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,106,.03), transparent 65%);
  pointer-events: none;
}
.ao-vip-eyebrow {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ao-gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ao-vip-eyebrow::before {
  content: '★';
  font-size: 11px;
}
.ao-vip-h {
  font-family: var(--ao-serif);
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 300;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 14px;
}
.ao-vip-h em {
  font-style: italic;
  color: var(--ao-gold-l);
}
.ao-vip-p {
  font-size: 14px;
  color: rgba(255,255,255,.84);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 460px;
}
.ao-vip-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}
.ao-vip-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,.65);
}
.ao-vip-list-item svg {
  color: var(--ao-gold);
  flex-shrink: 0;
}
.ao-vip-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 180px;
  border: 1px solid rgba(201,168,106,.08);
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}
.ao-vip-stat {
  padding: 22px 24px;
  border-bottom: 1px solid rgba(201,168,106,.06);
  text-align: center;
}
.ao-vip-stat:last-child { border-bottom: none; }
.ao-vip-stat-val {
  font-family: var(--ao-serif);
  font-size: 42px;
  font-weight: 300;
  color: rgba(201,168,106,.75);
  line-height: 1;
  display: block;
}
.ao-vip-stat-lbl {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.2);
  margin-top: 5px;
  display: block;
}
.ao-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .25s var(--ao-ease), color .25s var(--ao-ease), opacity .25s var(--ao-ease), transform .25s var(--ao-ease);
  font-family: var(--ao-sans);
  cursor: pointer;
  border: none;
}
.ao-btn--gold {
  background: linear-gradient(135deg, var(--ao-gold), var(--ao-gold-d));
  color: #fff;
  box-shadow: 0 4px 20px rgba(201,168,106,.25);
}
.ao-btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(201,168,106,.4);
}
.ao-btn--ghost {
  background: transparent;
  border: 1.5px solid rgba(201,168,106,.3);
  color: var(--ao-gold-l);
}
.ao-btn--ghost:hover {
  background: rgba(201,168,106,.07);
  border-color: rgba(201,168,106,.55);
}

/* ── VERKÄUFER BLOCK ── */
.ao-verkauf-block {
  background: #fff;
  padding: 72px 0;
  border-top: 1px solid var(--ao-border);
}
.ao-verkauf-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.ao-verkauf-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ao-gold-d);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ao-verkauf-eyebrow::before, .ao-verkauf-eyebrow::after {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: .4;
}
.ao-verkauf-h {
  font-family: var(--ao-serif);
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 300;
  color: var(--ao-navy);
  line-height: 1.15;
  margin-bottom: 16px;
}
.ao-verkauf-h em { font-style: italic; color: var(--ao-gold-d); }
.ao-verkauf-p {
  font-size: 15px;
  color: var(--ao-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}
.ao-verkauf-proofs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ao-proof {
  border: 1px solid var(--ao-border);
  border-radius: 14px;
  padding: 18px 16px;
  transition: border-color .2s, transform .2s;
}
.ao-proof:hover {
  border-color: rgba(201,168,106,.25);
  transform: translateY(-2px);
}
.ao-proof-val {
  font-family: var(--ao-serif);
  font-size: 32px;
  font-weight: 300;
  color: var(--ao-navy);
  line-height: 1;
  margin-bottom: 4px;
}
.ao-proof-lbl {
  font-size: 11.5px;
  color: var(--ao-muted);
  line-height: 1.4;
}

/* ── EMPTY STATE (wenn keine echten Objekte) ── */
.ao-demo-notice {
  background: rgba(201,168,106,.06);
  border: 1px solid rgba(201,168,106,.2);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 12.5px;
  color: var(--ao-gold-d);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Fade In */
.ao-fade {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s var(--ao-ease), transform .55s var(--ao-ease);
}
.ao-fade.ao-in { opacity: 1; transform: none; }
.ao-d1 { transition-delay: .06s; }
.ao-d2 { transition-delay: .12s; }
.ao-d3 { transition-delay: .18s; }
.ao-d4 { transition-delay: .24s; }
.ao-d5 { transition-delay: .30s; }
.ao-d6 { transition-delay: .36s; }

/* Hidden filter */
.ao-card.ao-hidden { display: none; }

/* Responsive */
@media (max-width: 900px) {
  .ao-hero__inner { flex-direction: column; align-items: flex-start; }
  .ao-hero { padding: 110px 0 44px; }
  .ao-vip-block { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
  .ao-vip-stats { flex-direction: row; min-width: unset; }
  .ao-vip-stat { flex: 1; border-right: 1px solid rgba(201,168,106,.1); border-bottom: none; }
  .ao-vip-stat:last-child { border-right: none; }
  .ao-verkauf-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 600px) {
  .ao-hero__inner { padding: 0 20px; }
  .ao-container { padding: 0 20px; }
  .ao-filter { padding: 0 20px; }
  .ao-verkauf-inner { padding: 0 20px; }
  .ao-vip-block { padding: 28px 22px; }
}

/* v127.2: Angebote mobile proof cards must not clip side-by-side */
@media (max-width: 768px) {
  .ao-verkauf-proofs {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .ao-proof {
    width: 100% !important;
    min-width: 0 !important;
    padding: 16px 14px !important;
  }

  .ao-proof-val {
    font-size: clamp(22px, 7.2vw, 34px) !important;
    line-height: 1.06 !important;
  }

  .ao-proof-lbl {
    font-size: 15px !important;
    line-height: 1.45 !important;
  }
}


/* ── Vermarktungs-Tabs (v71: aus inline-styles) ─────────────────────────── */
.ao-vtab {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  color: rgba(255,255,255,.65);
  transition: color .2s, border-color .2s;
  margin-bottom: -2px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.ao-vtab--active,
.ao-vtab[aria-current="page"] {
  border-bottom-color: var(--gold, #C9A86A);
  color: var(--gold, #C9A86A);
}
.ao-vtab:hover:not(.ao-vtab--active) {
  color: rgba(255,255,255,.90);
}

/* ── Tab-Farben auf hellem Hintergrund (v82) ─────────────────── */
.ao-vermarktung-tabs {
  background: #fff;
  border-bottom: 2px solid rgba(10,26,47,.1) !important;
}
.ao-vtab {
  color: rgba(10,26,47,.55) !important;
}
.ao-vtab--active,
.ao-vtab[aria-current="page"] {
  color: var(--gold-d, #9A7030) !important;
  border-bottom-color: var(--gold-d, #9A7030) !important;
}
.ao-vtab:hover:not(.ao-vtab--active) {
  color: rgba(10,26,47,.85) !important;
}
