/* The site footer, the same on every page (imported by site.js, script.js
   and footer.js for the imprint): a back-to-top button, then a grey bar
   with copyright left and legal links right, then a pattern band. Colours
   are literal so it does not depend on the page's own stylesheet. */
/* Pages shorter than the screen: the footer sits at its bottom. */
body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-snap-align: end;
  scroll-snap-stop: always;
  font-family: "Nunito", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  text-align: center;
}
.footer-bottom {
  align-self: stretch;
  min-height: 40px;
  /* Full-width grey, content at most 1000px wide. */
  padding: 0 max(20px, calc((100% - 1000px) / 2));
  background: #F4F3F2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.footer-bottom p { margin: 0; color: #000; }
.footer-legal { display: flex; gap: 2rem; }
.footer-legal a { color: #1A2A44; text-decoration: none; }
.footer-legal a:hover { color: var(--accent, #ca3825); text-decoration: none; }
#back-to-top {
  /* Above the grey bar, though it comes after it in the markup. */
  order: -1;
  margin: 20px 0 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: none;
  border-radius: 999px;
  background: #ca3825;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
#back-to-top:hover {
  background: #A82E1F;
  transform: translateY(-2px);
}
/* A full-width band of the red pattern along the footer's bottom edge,
   repeated across (tile.png repeats seamlessly). */
footer::after {
  content: "";
  align-self: stretch;
  height: 96px;
  background: url(images/tile.97821e1fd65466bfdd69518c6f8c3ca8.png) center top / auto 192px repeat-x;
}
@media (max-width: 968px) {
  .footer-bottom { flex-direction: column; text-align: center; padding-block: 16px; }
}
@media (max-width: 640px) {
  .footer-legal { flex-direction: column; gap: 1rem; }
}


/*# sourceMappingURL=footer.css.map*/