/**
 * Site footer — DT_Home Footer / MO_Home Footer mobile
 */

.site-footer {
  color: var(--color-cd);
  padding-block: 2.5rem;
  /* 40px mobile */
}

@media (min-width: 1024px) {
  .site-footer {
    padding-block: 3.75rem;
    /* 60px */
  }
}

.site-footer__grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .site-footer__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--grid-gutter);
    row-gap: 0;
    align-items: start;
  }
}

.site-footer__logo {
  display: block;
  line-height: 0;
  flex-shrink: 0;
  margin-bottom: 3.5rem;
  /* 56px — Logo → Name (mobile) */
}

@media (min-width: 1024px) {
  .site-footer__logo {
    grid-column: 1 / span 2;
    margin-bottom: 0;
  }
}

.site-footer__logo img {
  width: 7.375rem;
  /* 118px */
  object-fit: contain;
}

.site-footer__company,
.site-footer__contact,
.site-footer__legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

@media (max-width: 1023px) {

  .site-footer__contact,
  .site-footer__legal {
    margin-top: 1.5rem;
    /* 24px zwischen den Textblöcken */
  }
}

@media (min-width: 1024px) {

  .site-footer__company,
  .site-footer__contact,
  .site-footer__legal {
    width: auto;
  }

  .site-footer__company {
    grid-column: 3 / span 3;
  }

  .site-footer__contact {
    grid-column: 6 / span 3;
  }

  .site-footer__legal {
    grid-column: 10 / span 3;
    justify-self: start;
  }
}

.site-footer__company p,
.site-footer__contact a,
.site-footer__legal a {
  margin: 0;
  color: var(--color-cd);
  text-decoration: none;
}

.site-footer__name,
.site-footer__services {
  font-weight: 700;
}

.site-footer__legal a {
  display: block;
  line-height: var(--text-body-line);
}

.site-footer__legal a+a {
  margin-top: 1px;
}

.site-footer__contact a:hover,
.site-footer__legal a:hover {
  text-decoration: underline;
}