/* ═══════════════════════════════════════════════════════
   Hausspecht Immobilien — Homepage Styles (v2 – Light)
   ═══════════════════════════════════════════════════════ */

/* ─── Hero ──────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; padding: 0 2rem;
  background: var(--navy);
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent); z-index: 5;
}
.hero-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 50%; height: 100%;
  pointer-events: none;
  z-index: 2;
}

.hero-image-wrap {
  position: absolute; top: 0; right: 0;
  width: 100%; height: 100%; z-index: 1; overflow: hidden;
}
.hero-image-wrap::before {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: rgba(27,34,53,0.4);
}
.hero-image {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  max-width: none; filter: brightness(0.88) saturate(0.85);
  transition: transform 14s ease;
}
.hero:hover .hero-image { transform: scale(1.03); }

.hero-ornament {
  position: absolute; top: 130px; right: 9%; width: 260px; height: 260px;
  border: 1px solid rgba(201,168,76,0.22); border-radius: 4px; opacity: 0.5;
  transform: rotate(8deg); pointer-events: none; z-index: 3;
}
.hero-ornament::before {
  content: ''; position: absolute; inset: 12px;
  border: 1px solid rgba(201,168,76,0.12); border-radius: 2px;
}

.hero-content {
  position: relative; z-index: 4; max-width: 1280px; margin: 0 auto;
  width: 100%; padding-top: 72px;
}
.hero-eyebrow {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
  opacity: 0; animation: fadeUp 0.9s 0.2s forwards;
}
.hero-eyebrow::before { content: ''; display: inline-block; width: 40px; height: 1px; background: var(--gold); }
.hero-title {
  font-family: var(--font-serif); font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700; line-height: 1.08; color: var(--cream); margin-bottom: 1rem;
  opacity: 0; animation: fadeUp 1s 0.4s forwards;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-slogan {
  font-family: var(--font-serif); font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400; font-style: italic; color: rgba(245,240,232,0.65);
  margin-bottom: 3rem; opacity: 0; animation: fadeUp 1s 0.6s forwards;
}
.hero-actions { display: flex; gap: 1.25rem; flex-wrap: wrap; opacity: 0; animation: fadeUp 1s 0.8s forwards; }

/* ─── Stats Bar ─────────────────────────────────────── */
.stats-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  padding: 3.5rem 2rem; position: relative; z-index: 1;
}
.stats-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem; text-align: center;
}
.stats-slogan {
  max-width: 760px; margin: 0 auto 2.5rem; text-align: center;
  font-family: var(--font-serif); font-size: 1.15rem; font-style: italic;
  color: var(--text-mid); line-height: 1.65;
}
.stat-item {
  display: flex; flex-direction: column; gap: 0.75rem; align-items: center;
  padding: 1.5rem 1rem; background: var(--bg-card);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201,168,76,0.12);
  transition: transform var(--transition), box-shadow var(--transition);
}
.stat-item:hover, .stat-item:active { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-item:active { transform: scale(0.95); }
.stat-item:active .stat-icon { color: var(--navy); }
.stat-icon { width: 2.2rem; height: 2.2rem; color: var(--gold); }
.stat-label { font-size: 0.85rem; color: var(--text-mid); max-width: 200px; line-height: 1.5; font-weight: 500; }

/* ─── Services Grid ─────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem; margin-top: 4rem;
}
.service-card {
  position: relative; background: var(--bg-card);
  border: 1px solid rgba(201,168,76,0.15); border-radius: var(--radius);
  padding: 3rem 2.5rem; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 58px; height: 58px; margin-bottom: 2rem;
  background: var(--gold-dim); border: 1px solid var(--gold-line);
  border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.card-icon svg { width: 26px; height: 26px; }
.card-title { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 700; color: var(--text); margin-bottom: 1rem; line-height: 1.2; }
.card-text { color: var(--muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 2rem; }
.card-features { list-style: none; margin-bottom: 2.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.card-features li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: var(--text-mid); }
.card-features li::before { content: ''; width: 20px; height: 1px; background: var(--gold); flex-shrink: 0; }

/* ─── Über mich ─────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: center; }
.about-image { aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-content { display: flex; flex-direction: column; gap: 0.5rem; }
.about-text { color: var(--text-mid); line-height: 1.8; margin-top: 0.75rem; }

/* ─── Tippgeber Teaser ──────────────────────────────── */
.tippgeber-teaser {
  background: var(--bg-alt);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  padding: 5rem 2rem; position: relative; z-index: 1; overflow: hidden;
}
.tippgeber-teaser::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); width: 400px; height: 400px;
  border: 1px solid var(--gold-line); border-radius: 50%; pointer-events: none; opacity: 0.4;
}
.tippgeber-teaser-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto auto;
  gap: 3rem; align-items: center; position: relative; z-index: 1;
}
.tippgeber-teaser-eyebrow {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.tippgeber-teaser-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.tippgeber-teaser-title { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; color: var(--text); line-height: 1.2; margin-bottom: 0.75rem; }
.tippgeber-teaser-title em { color: var(--gold); font-style: italic; }
.tippgeber-teaser-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }
.tippgeber-teaser-desc strong { color: var(--gold); font-weight: 600; }
.tippgeber-teaser-aside {
  text-align: center; padding: 0 2.5rem;
  border-left: 1px solid var(--gold-line); border-right: 1px solid var(--gold-line);
}
.tippgeber-teaser-number { font-family: var(--font-serif); font-size: clamp(3rem, 5vw, 4rem); font-weight: 700; color: var(--gold); line-height: 1; }
.tippgeber-teaser-number span { font-size: 0.55em; }
.tippgeber-teaser-number-label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 0.25rem; }
.tippgeber-teaser-actions { display: flex; flex-direction: column; gap: 0.75rem; }

/* ─── Leistungs-Übersicht Cards (auf index.php) ──── */
.leistungen-overview {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 4rem;
}
.leistung-card {
  background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid rgba(201,168,76,0.15); box-shadow: var(--shadow-sm);
  padding: 2.5rem 2rem; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative; overflow: hidden;
}
.leistung-card::after {
  content: '→'; position: absolute; bottom: 1.5rem; right: 1.5rem;
  color: var(--gold); font-size: 1.2rem; transition: transform var(--transition);
}
.leistung-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); color: inherit; }
.leistung-card:hover::after { transform: translateX(4px); }
.leistung-card-icon {
  width: 52px; height: 52px; background: var(--gold-dim); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.leistung-card-icon svg { width: 24px; height: 24px; }
.leistung-card-title { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; color: var(--text); }
.leistung-card-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.6; flex: 1; }
.leistung-card-link { font-size: 0.8rem; font-weight: 600; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; }

/* ─── Service Blocks (index) ──────────────────────── */
.service-block {
  background: var(--bg-alt); border-radius: 16px;
  padding: 2.5rem; border: 1px solid rgba(201,168,76,0.12);
}

/* ─── About Badges ─────────────────────────────────── */
.about-badges {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-top: 1.75rem;
}

/* ─── Mobile ────────────────────────────────────────── */
@media (max-width: 900px) {
  .tippgeber-teaser-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .tippgeber-teaser-eyebrow { justify-content: center; }
  .tippgeber-teaser-aside { border-left: none; border-right: none; border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line); padding: 1.5rem 0; }
  .tippgeber-teaser-actions { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .leistungen-overview { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-image { aspect-ratio: auto; max-height: 360px; max-width: 280px; margin: 0 auto; }
  .hero-ornament { display: none; }
  .hero-image-wrap { width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .about-badges { grid-template-columns: 1fr; }
  .service-block { padding: 1.25rem; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
}
