/* Site footer (partials/_footer.pug): dark, brand plus three link columns. */

.sf-footer {
  --sf-footer-bg: #2f2c29;
  --sf-footer-text: #ced4da;
  --sf-footer-heading: #adb5bd;
  --sf-footer-link: #fff;
  --sf-footer-line: rgba(255, 255, 255, 0.16);

  background: var(--sf-footer-bg);
  color: var(--sf-footer-text);
  font-size: 15px;
  line-height: 1.55;
}

.sf-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 28px;
}

.sf-footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 56px;
}

.sf-footer-brand {
  display: flex;
  flex: 2 1 280px;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.sf-footer-logo img {
  display: block;
  width: 220px;
  height: auto;
}

.sf-footer-brand p {
  max-width: 300px;
  margin: 0;
  text-align: center;
  color: var(--sf-footer-text);
}

.sf-footer-germany {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.sf-footer-germany svg {
  flex: none;
  color: var(--sf-footer-link);
}

.sf-footer-column {
  display: flex;
  flex: 1 1 160px;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.sf-footer-column strong {
  color: var(--sf-footer-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sf-footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sf-footer a {
  color: var(--sf-footer-link);
  text-decoration: none;
}

.sf-footer a:hover {
  color: var(--sf-footer-text);
  text-decoration: underline;
}

.sf-footer a:focus-visible {
  outline: 2px solid var(--sf-footer-link);
  outline-offset: 2px;
}

.sf-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 22px;
  border-top: 1px solid var(--sf-footer-line);
  font-size: 14px;
}

.sf-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.sf-footer-legal a {
  color: var(--sf-footer-text);
}


/* Stacked on phones, everything sits centered under the logo. */
@media (max-width: 767.98px) {
  .sf-footer-column {
    align-items: center;
    text-align: center;
  }

  .sf-footer-bottom,
  .sf-footer-legal {
    justify-content: center;
    text-align: center;
  }
}


@media print {
  .sf-footer {
    display: none;
  }
}
