/* ── Site Footer ────────────────────────────────────── */
.site-footer {
  background: var(--primary-900);
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.65;
  position: relative;
}

/* Premium Top-Trenner: feiner Verlauf mit zentralem Akzent */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.10) 15%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0.10) 85%,
    transparent 100%
  );
}

.site-footer a {
  color: var(--primary-200);
  transition: color .2s ease;
}
.site-footer a:hover { color: var(--white); }

/* ── Column Headings ──────────────────────────────── */
.footer-heading {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0 0 var(--space-5);
  line-height: 1.4;
}

/* ── Main Grid ────────────────────────────────────── */
.footer-main {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-10);
}

.footer-col .footer-heading { margin-bottom: var(--space-5); }

/* ── Brand Column ─────────────────────────────────── */
.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: var(--space-5);
}
.footer-tagline {
  color: var(--primary-200);
  max-width: 300px;
  margin: 0 0 var(--space-6);
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.92;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid rgba(13, 46, 68, 0.12);
  border-left: 2px solid var(--primary-800);
}
.footer-badge-logo {
  height: 36px;
  width: auto;
  display: block;
}
.footer-badge span {
  display: block;
  color: var(--neutral-700);
  font-size: 12px;
  line-height: 1.35;
  max-width: 140px;
}

/* ── Link Lists ───────────────────────────────────── */
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-list li { margin-bottom: var(--space-3); }
.footer-list li:last-child { margin-bottom: 0; }
.footer-list a {
  color: var(--primary-200);
  font-size: 15px;
  position: relative;
  padding-bottom: 2px;
}
.footer-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width .25s ease;
}
.footer-list a:hover { color: var(--white); }
.footer-list a:hover::after { width: 100%; }

/* ── Contact Column ───────────────────────────────── */
.footer-phone {
  display: inline-block;
  color: var(--white) !important;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-4);
  transition: color .2s ease;
}
.footer-phone:hover { color: var(--white) !important; }

.footer-contact { font-style: normal; }
.footer-contact p {
  margin: 0 0 var(--space-2);
  color: var(--primary-200);
  font-size: 14px;
  line-height: 1.55;
}
.footer-contact a {
  color: var(--primary-200);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 1px;
  transition: border-color .2s ease, color .2s ease;
}
.footer-contact a:hover {
  color: var(--white);
  border-color: var(--white);
}
.footer-contact-meta {
  margin-top: var(--space-3) !important;
  color: var(--primary-200) !important;
  opacity: 0.72;
  font-size: 12px !important;
  letter-spacing: 0.04em;
}

/* ── Bottom Bar ───────────────────────────────────── */
.footer-bottom {
  position: relative;
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
}
.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--container-pad);
  right: var(--container-pad);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.16) 8%,
    rgba(255, 255, 255, 0.16) 92%,
    transparent 100%
  );
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.footer-bottom small {
  color: var(--primary-200);
  opacity: 0.75;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.footer-legal {
  display: flex;
  gap: var(--space-6);
}
.footer-legal a {
  font-size: 12px;
  color: var(--primary-200);
  opacity: 0.85;
  letter-spacing: 0.04em;
}
.footer-legal a:hover { color: var(--white); opacity: 1; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 900px) {
  .footer-main {
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .footer-phone { font-size: 22px; }
  .footer-bottom .container {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
  /* Tap-Flaeche der Links Richtung 44px vergroessern */
  .footer-legal a,
  .footer-list a {
    display: inline-block;
    padding-block: 6px;
  }
}
