/* Sunshine Pizza — gemeinsamer Footer */

.sp-footer {
  --sp-footer-bg: #111111;
  --sp-footer-elev: #191919;
  --sp-footer-text: rgba(255, 255, 255, 0.9);
  --sp-footer-muted: rgba(255, 255, 255, 0.58);
  --sp-footer-line: rgba(255, 255, 255, 0.08);
  --sp-footer-accent: #ff7a00;
  --sp-container: 1180px;
  position: relative;
  width: 100%;
  margin-top: 3rem;
  padding: 0;
  background: var(--sp-footer-bg);
  color: var(--sp-footer-muted);
  font-family: "Plus Jakarta Sans", "DM Sans", system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.55;
  box-sizing: border-box;
}

.sp-footer::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #ff7a00 0%, #ffb347 42%, #ff7a00 100%);
}

.sp-footer--dark {
  background: var(--sp-footer-bg);
}

.sp-footer .sp-container {
  width: min(var(--sp-container), 100%);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2rem);
  box-sizing: border-box;
}

.sp-footer__main {
  display: grid;
  grid-template-columns: minmax(16rem, 1.15fr) minmax(0, 1.85fr);
  gap: 2.75rem 3.5rem;
  padding: 2.85rem 0 2.15rem;
  align-items: start;
}

.sp-footer__brand {
  max-width: 22rem;
}

.sp-footer__name {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1.2;
}

.sp-footer__tag {
  margin: 0.4rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sp-footer-accent);
}

.sp-footer__lead {
  margin: 0.55rem 0 0;
  color: var(--sp-footer-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.sp-footer__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.sp-footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.65rem;
  padding: 0.55rem 1.05rem;
  border-radius: 12px;
  background: var(--sp-footer-accent);
  color: #fff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.sp-footer__btn:hover {
  background: #e56e00;
  color: #fff;
}

.sp-footer__btn--ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.sp-footer__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.sp-footer__address {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 1.25rem 0 0;
  font-style: normal;
  font-size: 0.86rem;
}

.sp-footer__address a,
.sp-footer__address span {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 160ms ease;
}

.sp-footer__address a:hover {
  color: #fff;
}

.sp-footer__address i {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--sp-footer-accent);
  font-size: 0.78rem;
  display: grid;
  place-items: center;
}

.sp-footer__navs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem 1.5rem;
}

.sp-footer__col h4,
.sp-footer h4 {
  margin: 0.15rem 0 0.95rem;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
}

.sp-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp-footer ul li {
  margin: 0;
}

.sp-footer ul a {
  display: inline-block;
  padding: 0.28rem 0;
  color: var(--sp-footer-muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.sp-footer ul a:hover {
  color: #fff;
}

.sp-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem 1.25rem;
  padding: 1.15rem 0 1.45rem;
  border-top: 1px solid var(--sp-footer-line);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.42);
}

.sp-footer__bottom p,
.sp-footer__copy {
  margin: 0;
}

.sp-footer__copy a,
.sp-footer__bottom a {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease;
}

.sp-footer__copy a:hover,
.sp-footer__bottom a:hover {
  color: #fff;
}

.sp-footer__credits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
}

.sp-footer__credits span {
  opacity: 0.4;
}

@media (max-width: 900px) {
  .sp-footer__main {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.35rem 0 1.85rem;
  }

  .sp-footer__brand {
    max-width: none;
    padding-bottom: 1.65rem;
    border-bottom: 1px solid var(--sp-footer-line);
  }

  .sp-footer__navs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sp-footer {
    margin-top: 2rem;
  }

  .sp-footer__main {
    padding-top: 2rem;
  }

  .sp-footer__cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .sp-footer__navs {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1.15rem;
  }

  .sp-footer__col:last-child {
    grid-column: 1 / -1;
  }

  .sp-footer__bottom {
    flex-direction: column;
    text-align: center;
    padding-bottom: 1.35rem;
  }

  .sp-footer__credits {
    justify-content: center;
  }
}
