/* ============================================
   Hardcoded Site Footer
   ============================================ */

.site-footer,
.site-footer:not(.dynamic-footer) {
  background-color: var(--e-global-color-0475193);
  color: #fff;
  padding: 4em 0;
  font-family: var(--e-global-typography-00752b3-font-family), Sans-serif;
  font-size: 18px;
  line-height: 1.6;
  width: 100%;
  max-width: none;
  margin: 0;
}

.site-footer a,
.site-footer a:hover,
.site-footer a:focus,
.site-footer a:active {
  color: #fff;
  text-decoration: none;
}

.site-footer__inner {
  max-width: calc(1440px + 4em);
  width: 100%;
  margin: 0 auto;
  padding: 0 2em;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4em;
  align-items: start;
  box-sizing: border-box;
}

.site-footer__col {
  min-width: 0;
}

/* Headings — override .page-content h1, h2, h3 { color: #105218 } */
.site-footer .site-footer__heading,
.site-footer h3.site-footer__heading {
  font-size: 24px;
  font-weight: 700;
  font-family: var(--e-global-typography-00752b3-font-family), Sans-serif;
  color: #fff;
  margin: 0 0 24px 0;
  line-height: 1.3;
}

/* Column 1 — Logo */
.site-footer__logo {
  display: block;
  width: 100%;
  height: auto;
}

/* Column 2 — ATIX/ISO */
.site-footer__col--atix {
  font-size: 16px;
}

.site-footer__cert-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 16px 0;
}

.site-footer__cert-img--iso9001 {
  margin-top: 24px;
}

.site-footer__cert-text {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 24px 0;
}

/* Column 3 — Kontakt */
.site-footer p.site-footer__subheading,
.site-footer .site-footer__subheading {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 1em 0;
}

.site-footer__address {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}

/* Column 4 — Links */
.site-footer__links {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.site-footer__links li {
  padding: 0;
  margin: 0 0 10px 0;
  font-size: 18px;
}

.site-footer__links li::before {
  content: none;
}

/* Reset .wp-block-list-style if applied accidentally */
.site-footer ul.site-footer__links li {
  padding-left: 0;
}

/* Social Icons */
.site-footer__social {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #fff;
}

.site-footer__social-link svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Responsive */
@media (max-width: 1024px) {
  .site-footer__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 40px;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 60px 0 40px;
  }
  .site-footer__inner {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }
}
