/* ═══════════════════════════════════════════════════════
   Maik Specht Immobilien — Homepage-specific Styles
   ═══════════════════════════════════════════════════════ */

/* ─── Hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 2rem;
}
.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-image-wrap {
  position: absolute;
  top: 0; right: 0;
  width: 62%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}
.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to right,
    var(--navy) 0%,
    rgba(27,34,53,0.92) 18%,
    rgba(27,34,53,0.55) 45%,
    rgba(27,34,53,0.2) 75%,
    transparent 100%
  );
}
.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(17, 24, 39, 0.22);
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  max-width: none;
  filter: brightness(0.92) saturate(0.8);
  transition: transform 12s ease;
}
.hero-image-wrap:hover .hero-image { transform: scale(1.04); }

.hero-ornament {
  position: absolute;
  top: 120px;
  right: 8%;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 2px;
  opacity: 0.6;
  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.15);
  border-radius: 1px;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding-top: 72px;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  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, 6rem);
  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.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--muted);
  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(--navy-mid);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  padding: 3rem 2rem;
  position: relative;
  z-index: 1;
}
.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stats-slogan {
  max-width: 780px;
  margin: 0 auto 2rem;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--cream);
  opacity: 0.85;
  line-height: 1.6;
}
.stat-item { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }
.stat-icon { width: 2.2rem; height: 2.2rem; color: var(--gold); }
.stat-label { font-size: 0.85rem; letter-spacing: 0.04em; color: var(--muted); max-width: 200px; }

/* ─── Services Grid ─────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}
.service-card {
  position: relative;
  background: var(--navy-mid);
  border: 1px solid var(--gold-line);
  border-radius: 3px;
  padding: 3rem 2.5rem;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  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(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px var(--gold-line);
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 1.5rem; right: 1.5rem;
  width: 60px; height: 60px;
  border-right: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  border-radius: 1px;
  opacity: 0.5;
}

.card-icon {
  width: 56px; height: 56px;
  margin-bottom: 2rem;
  border: 1px solid var(--gold-line);
  border-radius: 2px;
  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(--cream);
  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(--cream); opacity: 0.85; }
.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: 4rem;
  align-items: center;
}
.about-image {
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--gold-line);
}
.about-img-placeholder {
  aspect-ratio: 3/4;
  background: var(--navy-mid);
  border: 1px solid var(--gold-line);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--muted);
}
.about-img-placeholder svg { width: 4rem; height: 4rem; color: var(--gold-line); }
.about-img-placeholder span { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.about-content { display: flex; flex-direction: column; gap: 0.5rem; }
.about-text { color: var(--muted); line-height: 1.8; margin-top: 0.75rem; }

/* ─── Tippgeber Teaser ──────────────────────────────── */
.tippgeber-teaser {
  background: var(--navy-mid);
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.tippgeber-teaser::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 360px; height: 360px;
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  pointer-events: none;
}
.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(--cream);
  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 2rem;
  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; }

/* ─── 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; }
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-image { aspect-ratio: 3/4; max-width: 280px; margin: 0 auto; }
  .about-img-placeholder { aspect-ratio: 3/4; max-width: 280px; margin: 0 auto; }
  .hero-ornament { display: none; }
  .hero-image-wrap { width: 100%; opacity: 0.3; }
  .hero-image-wrap::before {
    background: linear-gradient(to bottom, transparent 40%, var(--navy) 100%),
                linear-gradient(to right, var(--navy) 0%, transparent 100%);
  }
  .services-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
}
