/* LoadTronic – Footer, auf allen Seiten gleich (Startseite, Shop, Rechtsseiten, Chords, 404, Musik, Newsletter).
   Wird als letzte Stildatei eingebunden. */

footer{
  margin-top: clamp(40px, 8vw, 96px);
  padding: 52px 0 calc(26px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(135deg, var(--hero1, #20B5E1) 0%, var(--hero2, #3F68AE) 100%);
  border-top: none;
  color: rgba(255,255,255,.95);
}
/* eigener Seitenrand, unabhängig von der Seite, in der der Footer steht */
footer .container{
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
@media (max-width: 640px){
  footer .container{
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
}
.footer-top{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px 32px;
  flex-wrap: wrap;
}
.footer-brand img{
  height: 36px;
  width: auto;
  display: block;
  opacity: .95;
}

/* Social-Icons: Größe wächst mit der Breite – alle sechs bleiben auch bei 320 px in einer Reihe */
.footer-socials{
  --si: clamp(36px, 10vw, 44px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2.5vw, 10px);
  flex-wrap: wrap;
}
.footer-social-link{
  display: block;
  flex-shrink: 0;
  padding: 2px;
  text-decoration: none;
  transition: transform .15s ease, opacity .15s ease;
}
.footer-social-link:hover{ transform: scale(1.10); opacity: .9; }
.footer-social-link--disabled{ opacity: .45; cursor: default; }
.footer-social-link--disabled:hover{ transform: none; opacity: .45; }
.footer-si-wrap{
  position: relative;
  width: var(--si);
  height: var(--si);
}
.footer-si-avatar{
  width: var(--si);
  height: var(--si);
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #fff;
  box-shadow: 0 0 0 2.5px #fff;
}
.footer-si-platform{
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1.5px #fff;
  object-fit: cover;
  display: block;
}

/* Copyright und Rechtslinks */
.footer-bottom{
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: rgba(255,255,255,.50);
  font-weight: 800;
  font-size: 12px;
  text-align: center;
}
.footer-bottom a{ color: rgba(255,255,255,.65); text-decoration: none; transition: color .15s ease; }
.footer-bottom a:hover{ color: #fff; }

@media (max-width: 740px){
  footer{ padding: 36px 0 calc(22px + env(safe-area-inset-bottom, 0px)); }
  /* Copyright in eigener Zeile, Links darunter ohne Trennpunkte – so steht nie ein Punkt allein am Zeilenrand */
  .footer-bottom{ gap: 8px 16px; font-size: 11px; }
  .footer-bottom > span:first-child{ flex-basis: 100%; }
  .footer-bottom > span:not(:first-child){ display: none; }
}
