/* =========================================================
   FOOTER – RESPONSIVE, ISOLIERT, MOBILE FIRST
========================================================= */

.footer {
  background: linear-gradient(to top, var(--surface-muted), var(--surface));
  border-top: 1px solid var(--border);
  padding: var(--space-lg) 0;
}

/* -------------------------
   GRID
------------------------- */

.footer-grid {
  display: grid;
  grid-template-columns: 1fr; /* Mobile */
  gap: 28px;
  align-items: start;
}

/* Tablet */
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

/* -------------------------
   TYPO & CONTENT
------------------------- */

.footer strong {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
}

.footer p,
.footer address {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.footer address {
  font-style: normal;
}

/* Zusatztext */
.footer-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* -------------------------
   LINKS
------------------------- */

.footer a {
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 500;
  border-radius: 6px;
  padding: 2px 4px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}

.footer-links {
  display: grid;
  gap: 6px;
}

/* -------------------------
   SOCIAL
------------------------- */

.footer-social-text {
  max-width: 28ch;
  font-size: 0.9rem;
  color: var(--muted);
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.social-icons a {
  width: 44px;
  height: 44px;
  border-radius: 14px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: color-mix(in srgb, var(--brand) 8%, transparent);
  border: 1px solid var(--border);
  color: var(--brand-dark);

  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.social-icons svg {
  width: 20px;
  height: 20px;
}

.social-icons a:hover,
.social-icons a:focus-visible {
  background: var(--brand);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* -------------------------
   FOOTER META
------------------------- */

.footer-meta {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-credits {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.footer-demo-note {
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.8;
}

/* ---------------------------------------------------------
   GOOGLE REVIEWS – FINAL (wie Vorlage)
--------------------------------------------------------- */

.footer-reviews {
  margin-top: var(--space-md);
}

/* Card */
.footer-reviews__link {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;

  padding: 1rem 1.25rem;
  border-radius: 20px;

  background: radial-gradient(
    120% 120% at 0% 0%,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.02)
  );

  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);

  text-decoration: none;
  color: var(--text);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

/* Hover */
.footer-reviews__link:hover,
.footer-reviews__link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* Sterne */
.footer-reviews__stars {
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  line-height: 1;
  margin-top: -2px;
}

/* Textblock */
.footer-reviews__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--muted);
}

.footer-reviews__text strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
