/* ============================================================
   ZGFP — HOMEPAGE (CLEAN + PREMIUM + NO CONFLICTS)
   Header untouched. Hero sits under fixed header.
   ============================================================ */

/* PAGE WRAPPER */
.zgfp-page {
  font-family: "Inter", sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  overflow-x: hidden;
}

/* ------------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------------ */

.zgfp-hero {
  position: relative;
  width: 100%;
  min-height: 85vh;
  padding: 80px 0 140px;
 /* extra top padding for fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #000;
}

/* Background Image */
.zgfp-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://design.zimgerm.de/wp-content/uploads/2026/01/photo-1677273459827-e212995b079d.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Overlay */
.zgfp-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.65), rgba(0,0,0,0.80)),
    radial-gradient(circle at 20% 20%, rgba(200,155,60,0.22), transparent 60%);
  z-index: 2;
  pointer-events: none;
}

/* Text Layer */
.zgfp-hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  color: #fafafa;
  animation: zgfp-fade-up 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes zgfp-fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.zgfp-hero-title {
  font-size: 3.1rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
}

.zgfp-hero-subtitle {
  font-size: 1.35rem;
  line-height: 1.6;
  opacity: 0.92;
  max-width: 760px;
  margin: 0 auto 32px;
}

/* Buttons */
.zgfp-hero-actions {
  margin-top: 32px;
}

.zgfp-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s ease;
}

.zgfp-btn-primary {
  background: #c89b3c;
  color: #000;
}

.zgfp-btn-primary:hover {
  background: #e0b45a;
}

.zgfp-btn-ghost {
  background: transparent;
  border: 1px solid #c89b3c;
  color: #c89b3c;
}

.zgfp-btn-ghost:hover {
  background: #c89b3c;
  color: #000;
}

/* ------------------------------------------------------------
   SECTIONS
   ------------------------------------------------------------ */

.zgfp-section {
  padding: 120px 0;
}

.zgfp-section-light {
  background: #FAF8F4;
  padding: 120px 0;
}

.zgfp-section-dark {
  background: #1A1F24;
  color: #FFFFFF;
  padding: 120px 0;
}

.zgfp-section-accent {
  background: linear-gradient(180deg, #F7F5EF 0%, #ECE9E2 100%);
  padding: 120px 0;
}

/* Typography */
.zgfp-heading-l {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.zgfp-body {
  font-size: 1.1rem;
  line-height: 1.65;
  color: #3A3F45;
}

.zgfp-body-lead {
  font-size: 1.2rem;
  line-height: 1.7;
}

/* Cards */
.zgfp-card {
  background: #FFFFFF;
  padding: 32px;
  border-radius: 14px;
  border: 1px solid #E8E6E2;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.zgfp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.10);
}

.zgfp-card-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1F2933;
}

.zgfp-card-text {
  font-size: 17px;
  line-height: 1.55;
  color: #4A4F55;
}

/* Grid */
.zgfp-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

/* Two-column dark section */
.zgfp-two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 60px;
}

/* Center helper */
.zgfp-center {
  text-align: center;
}

/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width: 768px) {

  .zgfp-hero {
    padding: 160px 24px 120px;
  }

  .zgfp-hero-title {
    font-size: 2.2rem;
  }

  .zgfp-hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 24px;
  }

  .zgfp-heading-l {
    font-size: 1.9rem;
  }

  .zgfp-body {
    font-size: 1rem;
  }
}


.zgfp-section { background: #FFFFFF; }
.zgfp-section-light { background: #FAF8F4; }
.zgfp-section-dark { background: #1A1F24; color: #FFFFFF; }



.zgfp-hero {
    padding-left: 0 !important;
    padding-right: 0 !important;
}


.zgfp-hero-inner {
    padding-left: 24px;
    padding-right: 24px;
}


.zgfp-section {
    padding-left: 40px;
    padding-right: 40px;
}


@media (max-width: 768px) {
    .zgfp-section {
        padding-left: 20px;
        padding-right: 20px;
    }
}


/* Bottom CTA improvements */
.zgfp-section-dark {
    padding: 140px 40px;
    text-align: center;
}

.zgfp-section-dark .zgfp-two-column {
    max-width: 1100px;
    margin: 0 auto;
}

.zgfp-section-dark h2 {
    margin-bottom: 16px;
}

.zgfp-section-dark p {
    max-width: 700px;
    margin: 0 auto 24px;
}

.zgfp-section-dark a.zgfp-btn {
    margin-top: 12px;
}


/* Bottom CTA text color fix */
.zgfp-section-dark,
.zgfp-section-dark h2,
.zgfp-section-dark p {
    color: #FFFFFF !important;
}


/* Fix secondary button in dark CTA */
.zgfp-section-dark .zgfp-btn-secondary {
    background: transparent;
    border: 2px solid #c89b3c;
    color: #c89b3c !important;
}

.zgfp-section-dark .zgfp-btn-secondary:hover {
    background: #c89b3c;
    color: #000 !important;
}


.zgfp-section.deal-structure {
  background: var(--zg-neutral-100);
  padding: 80px 0;
}


.zgfp-section.deal-structure {
  background: #f2f2f2; /* your theme’s slate grey */
  padding: 80px 0;
}


.zgfp-section.project-filter {
  background: #f2f2f2;
}
