.site-footer {
  margin-top: auto;
  color: var(--color-white);
  background-color: #000;
}

.site-footer__container {
  padding-top: 4rem;
  padding-bottom: 2.5rem;
}

/* Hauptbereich */

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.site-footer__title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
}

.site-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__list li + li {
  margin-top: 0.5rem;
}

.site-footer__list a {
  font-size: 0.875rem;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__list a:hover {
  color: #ff0098;
}

/* Newsletter */

.site-footer__newsletter {
  min-width: 0;
}

.site-footer__newsletter-text {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #9ca3af;
}

.site-footer__newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer__form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.site-footer__form-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #9ca3af;
}

.site-footer__input {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.85rem;
  box-sizing: border-box;
  color: #fff;
  background-color: #111;
  border: 1px solid #374151;
  border-radius: 4px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.site-footer__input::placeholder {
  color: #6b7280;
}

.site-footer__input:focus {
  border-color: #ff0098;
  box-shadow: 0 0 0 3px rgb(255 0 152 / 15%);
}

.site-footer__submit {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 1rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background-color: #ff0098;
  border: 1px solid #ff0098;
  border-radius: 4px;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.site-footer__submit:hover {
  background-color: #d90081;
  border-color: #d90081;
}

/* Texte im unteren Bereich */

.site-footer__description,
.site-footer__copyright,
.site-footer__follow,
.site-footer__language-label {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #9ca3af;
}

/* Untere Footer-Zeile */

.site-footer__bottom {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid #374151;
}

/* Social Media */

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__social-link:hover {
  color: #ff0098;
}

.site-footer__instagram-icon {
  display: block;
  width: 22px;
  height: 22px;
}
s
/* Zahlungsarten */

.site-footer__paymentopt {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  white-space: nowrap;
}

.site-footer__payments {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
}

.site-footer__payment-icon {
  display: block;
  width: 45px;
  height: 28px;
  flex: 0 0 auto;
  color: #9ca3af;
}

/* Sprachanzeige */

.site-footer__language {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #9ca3af;
  font-size: 0.875rem;
}

.site-footer__language-current {
  color: inherit;
}

.site-footer__language .language-switch-icon {
  display: block;
  width: 20px;
  height: 20px;
  color: inherit;
}

/* Desktop */

@media (min-width: 1100px) {
  .site-footer__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }

  .site-footer__bottom {
    position: relative;
    grid-template-columns: 1fr auto 1fr;
    column-gap: 3rem;
    align-items: center;
  }

  .site-footer__copyright {
    grid-column: 1;
    justify-self: start;
  }

  .site-footer__paymentopt {
    grid-column: 2;
    justify-self: center;
  }

  .site-footer__social {
    position: absolute;
    transform: translateY(74%);
    right: 11.5rem;
  }

  .site-footer__language {
    position: absolute;
    transform: translateY(81%);
    right: 0;
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1099px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 2rem;
  }

  .site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.25rem 2rem;
  }

  .site-footer__copyright {
    flex-basis: 100%;
  }

  .site-footer__social,
  .site-footer__paymentopt,
  .site-footer__language {
    position: static;
    transform: none;
  }

  .site-footer__follow,
  .site-footer__description,
  .site-footer__language-label {
    display: none;
  }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
  .site-footer__container {
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }

  .site-footer__grid {
    display: block;
  }

  /* Jeder Footer-Bereich wird zu einer kompakten Zeile */
  .site-footer__column {
    border-bottom: 1px solid #374151;
  }

  .site-footer__title {
    position: relative;

    margin: 0;
    padding: 0.9rem 2rem 0.9rem 0;

    font-size: 0.9rem;

    cursor: pointer;
  }

  /* kleiner Pfeil rechts */
  .site-footer__column .site-footer__title::after {
    content: "";

    position: absolute;
    top: 50%;
    right: 0;

    width: 7px;
    height: 7px;

    border-right: 1px solid #9ca3af;
    border-bottom: 1px solid #9ca3af;

    transform: translateY(-65%) rotate(45deg);

    transition: transform 0.2s ease;
  }

  /* Links standardmäßig einklappen */
  .site-footer__list {
    display: none;

    padding: 0 0 1rem;
  }

  /* Falls du per JS .is-open setzt */
  .site-footer__column.is-open .site-footer__list {
    display: block;
  }

  .site-footer__column.is-open .site-footer__title::after {
    transform: translateY(-30%) rotate(225deg);
  }

  .site-footer__list li + li {
    margin-top: 0.75rem;
  }

  .site-footer__list a {
    font-size: 0.85rem;
  }

  /* Newsletter lieber separat sichtbar lassen */
  .site-footer__newsletter {
    margin-top: 2rem;
    padding-top: 0;
  }

  .site-footer__newsletter-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .site-footer__submit {
    width: 100%;
  }

  /* Unterer Bereich kompakt */
  .site-footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 1rem;

    margin-top: 2rem;
    padding-top: 1.5rem;
  }

  .site-footer__copyright {
    order: 1;
  }

  .site-footer__paymentopt {
    order: 2;
  }

  .site-footer__social {
    order: 3;
  }

  .site-footer__language {
    order: 4;
  }

  .site-footer__follow,
  .site-footer__description,
  .site-footer__language-label {
    display: none;
  }

  .site-footer__language-current {
    display: inline;
  }

  .site-footer__payments {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .site-footer__payment-icon {
    width: 42px;
    height: 26px;
  }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 420px) {
  .site-footer__container {
    padding-inline: 0;
  }

  .site-footer__title {
    font-size: 0.875rem;
  }

  .site-footer__list a {
    font-size: 0.8125rem;
  }

  .site-footer__newsletter-text,
  .site-footer__copyright {
    font-size: 0.8125rem;
  }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .site-footer__title::after {
    transition: none;
  }
}