.site-footer {
  --site-footer-bg: var(--bg, #061314);
  --site-footer-text: var(--text, #eaf3f4);
  --site-footer-muted: var(--muted, #a9bec1);
  --site-footer-faint: var(--faint, #6f878b);
  --site-footer-signal: #00b0ca;
  --site-footer-line: rgba(0, 176, 202, .28);
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--site-footer-bg);
  color: var(--site-footer-text);
  font-family: "Spline Sans", Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
  text-transform: none;
  border-top: 1px solid var(--site-footer-line);
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--site-footer-signal);
}

.site-footer__body,
.site-footer__base {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-footer__heading,
.site-footer__meta {
  color: var(--site-footer-faint);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-footer__action {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  padding: 9px 13px;
  border: 1px solid var(--site-footer-signal);
  background: transparent;
  color: var(--site-footer-signal) !important;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.site-footer__action:hover {
  background: var(--site-footer-signal);
  color: #031214 !important;
}

.site-footer__social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.site-footer__social-link {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--site-footer-signal);
  border-radius: 50%;
  color: var(--site-footer-signal) !important;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.site-footer__social-link[data-social="youtube"] span {
  margin-left: 2px;
  font-size: 12px;
}

.site-footer__social-link:hover {
  background: var(--site-footer-signal);
  color: #031214 !important;
}

.site-footer__body {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(4, minmax(120px, .7fr));
  gap: 0;
  padding: clamp(38px, 5vw, 62px) 0;
}

.site-footer__brand {
  display: block;
  max-width: 350px;
  padding-right: clamp(24px, 4vw, 54px);
}

.site-footer__brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.site-footer__brand-mark img {
  width: 34px;
  height: 34px;
}

.site-footer__brand-mark strong {
  color: var(--site-footer-text);
  font-family: Oswald, "Arial Narrow", Arial, sans-serif;
  font-size: 28px;
  letter-spacing: 0;
}

.site-footer__brand p {
  margin: 0;
  color: var(--site-footer-muted);
  font-size: 16px;
}

.site-footer__group {
  display: block;
  padding: 4px clamp(20px, 3vw, 38px);
  border-left: 1px solid var(--site-footer-line);
}

.site-footer__heading {
  display: block;
  margin-bottom: 18px;
  color: var(--site-footer-faint);
  list-style: none;
  cursor: default;
}

.site-footer__heading::-webkit-details-marker { display: none; }

.site-footer__links {
  display: grid;
  gap: 11px;
}

.site-footer__links a {
  width: fit-content;
  color: var(--site-footer-muted);
  font-size: 14px;
}

.site-footer__planned {
  width: fit-content;
  color: var(--site-footer-faint);
  font-size: 14px;
}

.site-footer__base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 18px max(24px, calc((100% - 1180px) / 2));
  background: #398b93;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer__legal a,
.site-footer__meta {
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}

[data-site-footer-lang="en"] {
  display: none;
}

html[lang="en"] [data-site-footer-lang="de"] {
  display: none;
}

html[lang="en"] [data-site-footer-lang="en"] {
  display: inline;
}

@media (max-width: 900px) {
  .site-footer__body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: 1 / -1;
    max-width: none;
    padding: 0 0 34px;
  }
}

@media (max-width: 640px) {
  .site-footer__body,
  .site-footer__base {
    width: min(100% - 34px, 1180px);
  }

  .site-footer__action {
    width: 100%;
  }

  .site-footer__body {
    grid-template-columns: 1fr;
    padding: 30px 0;
  }

  .site-footer__brand {
    grid-column: auto;
    padding-bottom: 30px;
  }

  .site-footer__group {
    padding: 0;
    border-left: 0;
    border-top: 1px solid var(--site-footer-line);
  }

  .site-footer__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    margin: 0;
    cursor: pointer;
  }

  .site-footer__heading::after {
    content: "+";
    color: var(--site-footer-signal);
    font-size: 24px;
    font-weight: 400;
  }

  .site-footer__group[open] .site-footer__heading::after { content: "−"; }
  .site-footer__group:not([open]) .site-footer__links { display: none; }
  .site-footer__links { padding: 0 0 20px; }

  .site-footer__base {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 17px 26px;
  }
}
