/* Sunshine Pizza — gemeinsamer Footer (Startseite, Bestellung, …) */

:root {
  --sp-container: 1180px;
  --sp-sun: #ff9f1c;
  --sp-sun-light: #ffc857;
  --sp-dark: #1a1208;
  --sp-radius-sm: 4px;
}

.sp-footer {
  width: 100%;
  margin-top: 2.5rem;
  padding: 3rem 0 0;
  background: #1a1208;
  color: rgba(255, 255, 255, 0.68);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.88rem;
  line-height: 1.55;
  box-sizing: border-box;
}

.sp-footer .sp-container {
  width: min(var(--sp-container), 100%);
  margin-inline: auto;
  padding-inline: clamp(1.125rem, 4vw, 2rem);
  box-sizing: border-box;
}

.sp-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem 2.25rem;
  padding-bottom: 2.25rem;
}

.sp-footer__brand {
  max-width: 18rem;
}

.sp-footer__name {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.2rem;
  letter-spacing: -0.02em;
}

.sp-footer__region {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin: 0 0 1.1rem;
}

.sp-footer__address {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-style: normal;
  font-size: 0.86rem;
}

.sp-footer__address span,
.sp-footer__address a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 200ms ease;
}

.sp-footer__address a:hover {
  color: #fff;
}

.sp-footer__address i {
  width: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.38);
  flex-shrink: 0;
  font-size: 0.82rem;
}

.sp-footer h4 {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sp-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp-footer ul li {
  margin-bottom: 0.5rem;
}

.sp-footer ul li:last-child {
  margin-bottom: 0;
}

.sp-footer ul a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 200ms ease;
}

.sp-footer ul a:hover {
  color: #fff;
}

.sp-footer__social a {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--sp-radius-sm);
  background: rgba(255, 255, 255, 0.08);
  margin-right: 0.5rem;
  transition: background 200ms ease;
}

.sp-footer__social a:hover {
  background: var(--sp-sun);
  color: var(--sp-dark);
}

.sp-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem 1.25rem;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.38);
}

.sp-footer__bottom p {
  margin: 0;
}

.sp-footer__bottom p:last-child {
  font-size: 0.84rem;
}

.sp-footer__bottom a {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  text-decoration: none;
  transition: color 200ms ease;
}

.sp-footer__bottom a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.sp-footer--dark {
  background: #1a1208;
}

@media (max-width: 900px) {
  .sp-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1.5rem;
  }
}

@media (max-width: 560px) {
  .sp-footer {
    padding-top: 2.5rem;
  }

  .sp-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .sp-footer__brand {
    max-width: none;
    padding-bottom: 1.35rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .sp-footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}
