/* Footer for the desktop, mobile, and desktop mobile-preview layouts. */
.site-footer[data-hnrp-footer] {
  padding: 0;
  border-top: 1px solid #23405b !important;
  background: radial-gradient(ellipse at 15% 0%, #102741 0%, transparent 62%),
              linear-gradient(180deg, #09192d, #061323) !important;
}

.site-footer[data-hnrp-footer] .footer-top {
  display: grid;
  grid-template-columns: minmax(112px, 160px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  padding-block: 23px !important;
}

.site-footer[data-hnrp-footer] .footer-logo-image {
  width: 142px !important;
  max-width: 100%;
  height: auto;
  max-height: 54px !important;
  object-fit: contain;
  object-position: left center;
}

.site-footer[data-hnrp-footer] .v22-footer-links {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer[data-hnrp-footer] .v22-footer-links > :is(a, #hnrp-view-toggle, #hnrp-cookie-open, #hnrp-entbannung-open),
.site-footer[data-hnrp-footer] .footer-bottom > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 6px 12px;
  border: 1px solid #294763;
  border-radius: 9px;
  background: #10253a;
  color: #e3f1ff !important;
  font: 700 13px/1.25 system-ui, sans-serif;
  letter-spacing: normal;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease;
}

.site-footer[data-hnrp-footer] .v22-footer-links > :is(a, #hnrp-view-toggle, #hnrp-cookie-open, #hnrp-entbannung-open):is(:hover, :focus-visible),
.site-footer[data-hnrp-footer] .footer-bottom > a:is(:hover, :focus-visible) {
  border-color: #6697c4;
  background: #183852;
  color: #fff !important;
}

.site-footer[data-hnrp-footer] :is(a, button):focus-visible {
  outline: 2px solid #a8dcff;
  outline-offset: 3px;
}

.site-footer[data-hnrp-footer] .v22-footer-links > [hidden] {
  display: none !important;
}

.site-footer[data-hnrp-footer] .footer-bottom {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
  padding-block: 9px 13px;
  border-top: 1px solid #29435e;
}

.site-footer[data-hnrp-footer] .footer-bottom span {
  color: #a9c4df;
  font: 700 11px/1.5 system-ui, sans-serif;
  letter-spacing: .04em;
}

@media (max-width: 960px) {
  .site-footer[data-hnrp-footer] .footer-top { grid-template-columns: 1fr; gap: 13px; }
  .site-footer[data-hnrp-footer] .v22-footer-links { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .site-footer[data-hnrp-footer] .v22-footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

html[data-hnrp-mobile] .site-footer[data-hnrp-footer] .footer-top {
  grid-template-columns: 1fr;
  align-items: center;
  gap: 13px;
  padding-block: 18px !important;
}

html[data-hnrp-mobile] .site-footer[data-hnrp-footer] .footer-logo-image { width: 114px !important; }

html[data-hnrp-mobile] .site-footer[data-hnrp-footer] .v22-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

html[data-hnrp-mobile] .site-footer[data-hnrp-footer] .footer-bottom > a {
  padding-inline: 9px;
  font-size: 11px;
}
