/* Footer CSS */
/* ═══════════════════════════════════════════════════════════════════════════
   PIXELHAFEN DIGITAL — FOOTER CSS
   Footer layout, widgets, navigation, CTA, social links, responsive.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER BASE
   ══════════════════════════════════════════════════════════════════════════ */

.ph-footer {
  border-top: none;
  padding: 60px 0 32px;
  background: #050505;
  position: relative;
}
.ph-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(600px, 80vw);
  height: 300px;
  background: radial-gradient(
    ellipse,
    rgba(191, 149, 63, 0.04) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.ph-footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 56px);
}
.ph-footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 20px;
  opacity: 0.85;
}
.ph-footer-brand p {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
  max-width: 280px;
  line-height: 1.65;
  font-family: "Inter", sans-serif;
}
.ph-footer h5 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: none;
  background: linear-gradient(
    135deg,
    #bf953f 0%,
    #fcf6ba 25%,
    #b38728 50%,
    #fbf5b7 75%,
    #aa771c 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(191, 149, 63, 0.12);
}
.ph-footer li {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
}
.ph-footer li svg {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.ph-footer li:hover svg {
  opacity: 1;
}
.ph-footer-dash {
  background: linear-gradient(
    135deg,
    #bf953f 0%,
    #fcf6ba 25%,
    #b38728 50%,
    #fbf5b7 75%,
    #aa771c 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 0.7rem;
  opacity: 0.5;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}
.ph-footer li:hover .ph-footer-dash {
  opacity: 1;
}
.ph-footer a {
  color: rgba(255, 255, 255, 0.45);
  transition:
    color 0.3s ease,
    transform 0.3s ease;
  font-size: 0.9rem;
  font-family: "Inter", sans-serif;
}
.ph-footer a:hover {
  color: #bf953f;
  transform: translateX(3px);
}
.ph-footer-tagline {
  color: #ffffff;
  font-size: 0.875rem;
  font-style: italic;
  font-family: "Cormorant Garamond", Georgia, serif;
  margin-bottom: 24px;
  line-height: 1.5;
}
.ph-footer-contact-list li {
  margin-bottom: 16px;
  align-items: flex-start;
  gap: 12px;
}
.ph-footer-contact-list li svg {
  flex-shrink: 0;
  margin-top: 0.22em;
}
.ph-footer-contact-list a {
  display: inline-block;
  line-height: 1.58;
}
.ph-footer-divider {
  max-width: 1140px;
  margin: 40px auto 0;
  padding: 0 clamp(18px, 4vw, 40px);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(191, 149, 63, 0.12) 20%,
    rgba(191, 149, 63, 0.12) 80%,
    transparent
  );
}
.ph-footer-bottom {
  max-width: 1140px;
  margin: 20px auto 0;
  padding: 20px clamp(18px, 4vw, 40px) 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.75rem;
  color: #ffffff;
}
@media (max-width: 900px) {
  .ph-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 480px) {
  .ph-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   ENHANCED FOOTER
   ══════════════════════════════════════════════════════════════════════════ */

.ph-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: var(--ph-section-space) 0 32px;
  background:
    radial-gradient(
      circle at 50% -12%,
      rgba(191, 149, 63, 0.14) 0%,
      transparent 34%
    ),
    linear-gradient(180deg, #060606 0%, #030303 100%);
}

/* Subtle glow above footer */
.ph-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(840px, 82vw);
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(191, 149, 63, 0.42),
    transparent
  );
}
.ph-footer::after {
  content: "";
  position: absolute;
  inset: 8% 0 auto;
  height: 320px;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(191, 149, 63, 0.08) 0%,
    transparent 55%
  );
  pointer-events: none;
  z-index: 0;
}
.ph-footer-floaters {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  display: block;
  z-index: 0;
}

.ph-footer-defs {
  position: absolute;
  width: 0;
  height: 0;
}

.ph-footer-inner,
.ph-footer-divider,
.ph-footer-bottom {
  position: relative;
  z-index: 1;
}
.ph-footer-inner {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.95fr) minmax(
      0,
      0.9fr
    ) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 64px);
}

.ph-footer-brand img {
  height: 74px;
  margin-bottom: 26px;
  opacity: 0.96;
  transition:
    opacity 0.3s ease,
    filter 0.3s ease;
}
.ph-footer-brand img:hover {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(191, 149, 63, 0.25));
}
.ph-footer-brand p {
  max-width: 360px;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.75;
}
.ph-footer h5 {
  font-size: clamp(1.35rem, 1.6vw, 1.65rem);
  letter-spacing: 0.03em;
  background: var(--ph-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
  padding-bottom: 18px;
}
.ph-footer li {
  gap: 12px;
  align-items: center;
}
.ph-footer .ph-footer-contact-list li {
  align-items: flex-start;
  gap: 12px;
}
.ph-footer li svg,
.ph-footer-dash {
  margin-top: 0;
}
.ph-footer .ph-footer-contact-list li svg {
  margin-top: 0.22em;
}

.ph-footer a {
  position: relative;
  color: rgba(255, 255, 255, 0.62);
}
.ph-footer a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #bf953f;
  transition: width 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}
.ph-footer a:hover::after {
  width: 100%;
}

.ph-footer-bottom {
  position: relative;
  align-items: center;
}
.ph-footer-bottom a:hover {
  color: #bf953f;
}
.ph-footer-bottom-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}


/* Footer social icons */
.ph-social-links {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}
.ph-social-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(191, 149, 63, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  background: rgba(10, 10, 14, 0.48);
  box-shadow: inset 0 1px 0 rgba(252, 246, 186, 0.04);
}
.ph-social-link:hover {
  border-color: rgba(191, 149, 63, 0.4);
  background: rgba(191, 149, 63, 0.06);
  transform: translateY(-4px);
  box-shadow:
    0 14px 34px rgba(191, 149, 63, 0.14),
    0 0 28px rgba(191, 149, 63, 0.08);
}
.ph-social-link svg {
  width: 18px;
  height: 18px;
  stroke: rgba(255, 255, 255, 0.64);
  stroke-width: 2;
  fill: none;
  transition: stroke 0.3s ease;
}
.ph-social-link:hover svg {
  stroke: #bf953f;
}
@media (max-width: 900px) {
  .ph-footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .ph-site-float-el {
    opacity: 0.5;
  }
}
@media (max-width: 560px) {
  .ph-footer {
    padding-top: 40px;
  }
  /* Single column, centered */
  .ph-footer-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 24px;
    padding-right: 24px;
    text-align: center;
  }
  /* Hide Leistungen & Unternehmen columns */
  .ph-footer-nav {
    display: none;
  }
  /* Brand section */
  .ph-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .ph-footer-brand img {
    height: 56px;
    margin-bottom: 18px;
  }
  .ph-footer-brand p {
    max-width: 320px;
    font-size: 0.88rem;
    line-height: 1.65;
    text-align: center;
  }
  .ph-social-links {
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    margin-bottom: 28px;
  }
  .ph-social-link {
    width: 42px;
    height: 42px;
  }
  .ph-social-link svg {
    width: 16px;
    height: 16px;
  }
  /* Contact section — hide redundant heading & tagline */
  .ph-footer-contact h5 {
    display: none;
  }
  .ph-footer-contact .ph-footer-tagline {
    display: none;
  }
  .ph-footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .ph-footer-contact-list {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .ph-footer-contact-list li {
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
  }
  .ph-footer-contact-list li svg {
    width: 16px;
    height: 16px;
  }
  .ph-footer a {
    font-size: 0.88rem;
  }
  .ph-footer .ph-footer-contact-list a[href^="tel:"] {
    font-size: 0.88rem;
  }
  .ph-footer-divider {
    margin-top: 28px;
  }
  .ph-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding-top: 16px;
  }
  .ph-footer-bottom span {
    font-size: 0.72rem;
  }
  .ph-footer-bottom-links {
    justify-content: center;
    gap: 16px;
  }
  .ph-footer-bottom-links a {
    font-size: 0.72rem;
  }
}

/* Footer tel link override */
.ph-footer .ph-footer-contact-list a[href^="tel:"] {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  line-height: 1.58;
  font-variant-numeric: normal;
}
