.site-footer {
  padding: 5.5rem 0 4.75rem;
  margin-top: 24px;
  border-top: 2px solid rgb(255 255 255 / 8%);
  background: linear-gradient(340deg, #1c7fa1 0%, #10002b 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.9fr 1.05fr;
  gap: 3.25rem;
  align-items: start;
}

.footer-col {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-col:nth-child(2),
.footer-col:nth-child(3),
.footer-col:nth-child(4) {
  padding-left: 2rem;
}

.footer-col:nth-child(2)::before,
.footer-col:nth-child(3)::before,
.footer-col:nth-child(4)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  bottom: 0.15rem;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(244, 231, 186, 0),
    rgba(244, 231, 186, 0.45),
    rgba(244, 231, 186, 0)
  );
}

.footer-brand {
  margin-bottom: 0.2rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.65rem, 2vw, 2rem);
  letter-spacing: 0.045em;
}

.footer-heading {
  margin: 0 0 0.35rem;
  color: #f4e7ba;
  font-size: 0.94rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  color: var(--muted);
}

.footer-col a {
  width: fit-content;
  color: #e5eaf5;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-col a:hover {
  opacity: 0.8;
}

.footer-col--booking .small {
  max-width: 15rem;
}

.footer-booking-btn,
.footer-col .footer-booking-btn {
  display: inline-flex;
  color: #08121f;
}

/* 641px – 900px */
@media (min-width: 641px) and (max-width: 900px) {
  .site-footer {
    padding: 4.75rem 0 4.25rem;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
    grid-template-areas:
      "brand kontakt"
      "recht booking";
    gap: 2.2rem 2rem;
  }

  .footer-col {
    gap: 0.9rem;
  }

  .footer-col:nth-child(1) {
    grid-area: brand;
    padding-right: 1rem;
  }

  .footer-col:nth-child(2) {
    grid-area: kontakt;
    padding-left: 1.4rem;
  }

  .footer-col:nth-child(3) {
    grid-area: recht;
    padding-left: 1.4rem;
  }

  .footer-col:nth-child(4) {
    grid-area: booking;
    padding-left: 1.4rem;
  }

  .footer-col:nth-child(2)::before,
  .footer-col:nth-child(3)::before,
  .footer-col:nth-child(4)::before {
    top: 0.2rem;
    bottom: 0.2rem;
    background: linear-gradient(
      180deg,
      rgba(244, 231, 186, 0),
      rgba(244, 231, 186, 0.55),
      rgba(244, 231, 186, 0)
    );
  }

  .footer-brand {
    font-size: 1.7rem;
  }

  .footer-heading {
    margin-bottom: 0.15rem;
    font-size: 0.96rem;
    letter-spacing: 0.2em;
  }

  .footer-links {
    gap: 0.7rem;
  }
}

/* 640px and below */
@media (max-width: 640px) {
  .site-footer {
    padding: 4.5rem 0 4rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0;
  }

  .footer-col {
    width: min(100%, 24rem);
    align-items: center;
    gap: 0.85rem;
    padding: 1.4rem 0;
    text-align: center;
  }

  .footer-col:nth-child(2),
  .footer-col:nth-child(3),
  .footer-col:nth-child(4) {
    padding-left: 0;
  }

  .footer-col:nth-child(2)::before,
  .footer-col:nth-child(3)::before,
  .footer-col:nth-child(4)::before {
    display: none;
  }

  .footer-col + .footer-col::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    width: min(7rem, 28vw);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(
      90deg,
      rgba(244, 231, 186, 0),
      rgba(244, 231, 186, 0.65),
      rgba(244, 231, 186, 0)
    );
  }

  .footer-brand {
    font-size: 1.85rem;
    letter-spacing: 0.04em;
  }

  .footer-heading {
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
    letter-spacing: 0.22em;
  }

  .footer-links {
    align-items: center;
    gap: 0.8rem;
  }

  .footer-col a {
    width: auto;
    display: inline-block;
    padding: 0.1rem 0;
  }

  .footer-col--booking {
    align-items: center;
  }

  .footer-booking-btn,
  .footer-col .footer-booking-btn {
    padding-inline: 1.2rem;
    width: fit-content;
    max-width: 100%;
    white-space: nowrap;
  }

  .footer-col a:hover {
    transform: none;
  }
}