/* assets/css/footer.css */
/* Farbgebung an deine Navbar anpassen (gleiches Gradient) */
/* Sticky Footer Layout */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Ganze Bildschirmhöhe */
}

main {
  flex: 1; /* Nimmt den Platz zwischen Navbar und Footer ein */
}


.footer {
  background: linear-gradient(to right, #00796b, #2196f3);
  color: #fff;
  padding: 20px 0;
  margin-top: 40px;
  font-size: 0.95rem;
}
.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer .links a,
.footer .social a {
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  margin-right: 12px;
}
.footer .links a:hover,
.footer .social a:hover {
  text-decoration: underline;
}
.footer .social a { font-size: 1.05rem; }

.footer .copyright {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
}

/* Back-to-top Button */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #2196f3;
  color: #fff;
  border: 0;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 9999;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:focus {
  outline: 3px solid rgba(255,255,255,0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .footer .container {
    flex-direction: column;
    text-align: center;
  }
  .footer .links, .footer .social, .footer .copyright {
    width: 100%;
    margin: 6px 0;
  }
}
