/* PRINTNERD: zentraler Footer – einheitlich auf allen Unterseiten. */

/* Footer ohne den Browser-Standardaußenabstand. */
body {
  margin: 0;
}

body footer.site-footer {
  position: relative;
  padding: 0;
  margin: 0;
  background: #09090b;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #a6a6ac;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: normal;
  text-transform: none;
}

body footer.site-footer,
body footer.site-footer * {
  box-sizing: border-box;
}

body footer.site-footer .site-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.5vw, 64px);
  align-items: start;
  padding: 64px 0 56px;
}

body footer.site-footer .site-footer__brand {
  min-width: 0;
}

body footer.site-footer .site-footer__logo {
  display: inline-block;
  max-width: 100%;
  line-height: 0;
  text-decoration: none;
}

body footer.site-footer .site-footer__logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 48px; /* Desktop: gleiche Höhe wie das Navbar-Logo. */
}

body footer.site-footer .site-footer__brand p {
  max-width: 300px;
  margin: 22px 0 0;
  padding: 0;
  color: #a6a6ac;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: normal;
  text-transform: none;
}

/* Social-Media-Links: nur SVGs, ohne Button-Rahmen oder Hintergrund. */
body footer.site-footer .site-footer__social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

body footer.site-footer .site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #a6a6ac;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

body footer.site-footer .site-footer__social-link svg {
  display: block;
  width: 22px;
  height: 22px;
}

body footer.site-footer a.site-footer__social-link:hover,
body footer.site-footer a.site-footer__social-link:focus-visible {
  color: #fff;
  transform: translateY(-2px);
}

body footer.site-footer a.site-footer__social-link:focus-visible {
  outline: 2px solid #e0e0e0;
  outline-offset: 2px;
}

body footer.site-footer .site-footer__heading {
  margin: 8px 0 20px;
  padding: 0;
  color: #f0f0f2;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body footer.site-footer .site-footer__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body footer.site-footer .site-footer__list li {
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

body footer.site-footer .site-footer__list a,
body footer.site-footer .site-footer__list .footer-consent-link {
  display: inline-block;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #a6a6ac;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: normal;
  text-decoration: none;
  text-transform: none;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: color 0.2s ease;
}

body footer.site-footer .site-footer__list a:hover,
body footer.site-footer .site-footer__list .footer-consent-link:hover,
body footer.site-footer .site-footer__list a:focus-visible,
body footer.site-footer .site-footer__list .footer-consent-link:focus-visible {
  color: #fff;
}

body footer.site-footer a:focus-visible,
body footer.site-footer button:focus-visible {
  outline: 2px solid #10cdf9;
  outline-offset: 4px;
}

body footer.site-footer .site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8d8d93;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body footer.site-footer .site-footer__bottom span {
  margin: 0;
  padding: 0;
}

/* Bis 1100 px nutzt die Navigation ein 150 px breites Logo. */
@media (max-width: 1100px) {
  body footer.site-footer .site-footer__logo img {
    width: 150px;
    height: auto;
  }
}

@media (max-width: 980px) {
  body footer.site-footer .site-footer__main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 28px;
    padding: 52px 0 46px;
  }

  body footer.site-footer .site-footer__brand {
    grid-column: 1 / -1;
  }

  body footer.site-footer .site-footer__brand p {
    max-width: 470px;
    margin-top: 16px;
  }
}

@media (max-width: 700px) {
  body footer.site-footer .site-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "brand brand"
      "services legal"
      "contact contact";
    gap: 36px 22px;
    padding: 44px 0 38px;
  }

  body footer.site-footer .site-footer__brand {
    grid-area: brand;
  }

  body footer.site-footer .site-footer__services {
    grid-area: services;
  }

  body footer.site-footer .site-footer__legal {
    grid-area: legal;
  }

  body footer.site-footer .site-footer__contact {
    grid-area: contact;
  }

  body footer.site-footer .site-footer__heading {
    margin: 0 0 16px;
  }

  body footer.site-footer .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 20px 0 24px;
  }
}

@media (max-width: 360px) {
  body footer.site-footer .site-footer__main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "brand"
      "services"
      "contact"
      "legal";
    gap: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body footer.site-footer .site-footer__list a,
  body footer.site-footer .site-footer__list .footer-consent-link,
  body footer.site-footer .site-footer__social-link {
    transition: none;
  }
  body footer.site-footer a.site-footer__social-link:hover,
  body footer.site-footer a.site-footer__social-link:focus-visible {
    transform: none;
  }
}
