.site-footer {
  margin-top: 100px;
  padding: 30px 0 18px;
  background: #f3f2f0;
  color: #1d1d1d;
}

.footer-grid {
  width: min(calc(100% - 110px), var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.55fr;
  gap: 120px;
  padding: 0 0 80px;
}

.footer-column {
  min-width: 0;
}

.footer-logo {
  display: block;
  height: auto;
  margin-bottom: 24px;
}

.footer-logo-tum {
  width: 230px;
}

.footer-logo-mpi {
  width: 470px;
  max-width: 100%;
}

.footer-youtube-icon {
  display: block;
  width: 92px;
  height: auto;
  margin: 5px 0 28px;
}

.footer-column h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.footer-column p {
  margin: 0;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
}

.footer-column a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-youtube p {
  margin-bottom: 7px;
}

.footer-youtube strong {
  font-weight: 500;
}

.footer-bottom {
  width: min(calc(100% - 110px), var(--max));
  margin-inline: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 0;
  color: #85817b;
  font-size: 16px;
}

.footer-bottom a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom span {
  margin: 0 4px;
}

@media (max-width: 1150px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .footer-youtube {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .footer-grid,
  .footer-bottom {
    width: min(calc(100% - 36px), var(--max));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 60px;
  }

  .footer-youtube {
    grid-column: auto;
  }

  .footer-logo-tum {
    width: 200px;
  }

  .footer-logo-mpi {
    width: min(420px, 100%);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
