.main-footer {
  background-color: #DDEEFF;
}

.footer-container {
  padding: 1.5rem 2rem;
}

.footer-logos {
  margin-bottom: 1.25rem;
}

.footer-logo-gda .gda-logo {
  width: 4rem;
  height: auto;
}

.footer-logo-staatswappen .staatswappen-logo {
  width: 6.75rem;
  height: auto;
}

.footer-logo-link {
  display: inline-block;
  border-radius: 4px;
  outline: none;
}

.footer-logo-link:focus-visible {
  outline: 2px solid var(--color-primary-blue);
  outline-offset: 2px;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: #5A5A5A;
  border: none;
  margin: 0 0 2.5rem 0;
  opacity: 1;
}

.footer-divider:last-of-type {
  margin: 38px 0 25px 0;
}

.footer-nav {
  gap: 16px;
  margin-bottom: 0;
}

.footer-link {
  text-decoration: none;
  color: #303030;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4em;
  transition: color 0.2s ease;
}

.footer-link:hover,
.footer-link:focus {
  color: var(--color-primary-blue);
}

.footer-copyright {
  color: #303030;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
}

@media (min-width: 992px) {
  .footer-container {
    padding-left: 2rem;
    padding-right: 2rem;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 2rem;
    row-gap: 0;
    align-items: start;
  }

  /* Logo Section - Desktop Layout */
  .footer-logos {
    grid-row: 1 / 3;
    grid-column: 1;
    align-self: stretch;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* Footer Navigation - Horizontal Layout */
  .footer-nav {
    grid-row: 1;
    grid-column: 2;
    gap: 44px;
    margin-left: 0;
    margin-bottom: 0;
    padding-top: 0;
  }

  .footer-link {
    color: #1E1E1E;
  }

  /* Copyright - Right Aligned */
  .footer-copyright {
    grid-row: 2;
    grid-column: 2;
    color: #757575;
    text-align: right;
    margin-left: auto;
    align-self: end;
    padding-bottom: 0;
  }
}

@media (min-width: 1400px) {
  .footer-container {
    max-width: 1440px;
    padding: 1.5rem 7.5rem;
  }
}