/* Site footer redesign — mifa.dinbo.de */

.mifa-footer {
  --mf-bg: #0b0f16;
  --mf-panel: rgba(255, 255, 255, 0.035);
  --mf-line: rgba(255, 184, 77, 0.22);
  --mf-gold: #ffb347;
  --mf-gold-2: #ff9914;
  --mf-muted: rgba(232, 238, 248, 0.62);
  --mf-text: #eef2f8;
  position: relative;
  margin-top: 3.5rem;
  padding: 2.75rem 0 1.25rem;
  background:
    radial-gradient(1200px 280px at 80% -10%, rgba(255, 153, 20, 0.14), transparent 60%),
    radial-gradient(900px 260px at 10% 0%, rgba(53, 172, 252, 0.08), transparent 55%),
    linear-gradient(180deg, #101722 0%, var(--mf-bg) 42%, #07090e 100%);
  color: var(--mf-text);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 2;
}

.mifa-footer__glow {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mf-gold), transparent);
  opacity: 0.75;
  pointer-events: none;
}

.mifa-footer__inner {
  position: relative;
  z-index: 1;
}

.mifa-footer__grid {
  margin-left: -12px;
  margin-right: -12px;
}

.mifa-footer__col {
  padding-left: 12px;
  padding-right: 12px;
  margin-bottom: 1.75rem;
}

.mifa-footer__brand,
.mifa-footer__panel {
  background: var(--mf-panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  height: 100%;
}

.mifa-footer__logo {
  display: inline-block;
  margin-bottom: 0.85rem;
  line-height: 0;
}

.mifa-footer__logo img {
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(255, 153, 20, 0.18));
}

.mifa-footer__about {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  line-height: 1.95;
  color: var(--mf-muted);
  text-align: justify;
}

.mifa-footer__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 179, 71, 0.28);
  background: rgba(255, 153, 20, 0.08);
  color: var(--mf-gold);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mifa-footer__phone:hover {
  background: rgba(255, 153, 20, 0.16);
  border-color: rgba(255, 179, 71, 0.5);
  color: #ffd28a;
  text-decoration: none;
}

.mifa-footer__heading {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.mifa-footer__heading-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--mf-gold), var(--mf-gold-2));
  color: #1a1208;
  font-size: 0.85rem;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(255, 153, 20, 0.28);
}

.mifa-footer__tracks {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 280px;
  overflow: auto;
}

.mifa-footer__track {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.35rem;
  border-radius: 10px;
  color: var(--mf-text);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.mifa-footer__track:hover {
  background: rgba(255, 153, 20, 0.08);
  color: #fff;
  text-decoration: none;
  transform: translateX(-2px);
}

.mifa-footer__track-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--mf-gold), var(--mf-gold-2));
  box-shadow: 0 0 0 3px rgba(255, 153, 20, 0.15);
}

.mifa-footer__track-title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mifa-footer__socials {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0;
}

.mifa-footer__social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.18);
  color: var(--mf-text);
  text-decoration: none;
  font-size: 0.82rem;
  line-height: 1.3;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.mifa-footer__social-ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.08);
  line-height: 0;
}

.mifa-footer__social-ico svg {
  display: block;
  width: 16px;
  height: 16px;
}

.mifa-footer__social > span:not(.mifa-footer__social-ico) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mifa-footer__social:hover {
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
  border-color: rgba(255, 179, 71, 0.35);
  background: rgba(255, 153, 20, 0.08);
}

.mifa-footer__social--ig .mifa-footer__social-ico { color: #fff; background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); }
.mifa-footer__social--tg .mifa-footer__social-ico { color: #fff; background: #2aa3d9; }
.mifa-footer__social--fb .mifa-footer__social-ico { color: #fff; background: #1877f2; }
.mifa-footer__social--tt .mifa-footer__social-ico { color: #fff; background: #111; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); }
.mifa-footer__social--pin .mifa-footer__social-ico { color: #fff; background: #e60023; }
.mifa-footer__social--wg .mifa-footer__social-ico { color: #0d2a1a; background: linear-gradient(145deg, #9aefc0, #3ecf8e); }
.mifa-footer__social--yt .mifa-footer__social-ico { color: #fff; background: #ff0000; }

.mifa-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 0.25rem 0 1rem;
  padding-top: 0.35rem;
}

.mifa-footer__legal a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--mf-text);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.mifa-footer__legal a:hover {
  border-color: rgba(255, 179, 71, 0.45);
  background: rgba(255, 153, 20, 0.12);
  color: #ffd28a;
  text-decoration: none;
}

.mifa-footer__copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem 0.65rem;
  padding: 0.85rem 0 0.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(232, 238, 248, 0.55);
  font-size: 0.82rem;
  text-align: center;
}

.mifa-footer__copy strong {
  color: var(--mf-gold);
  font-weight: 800;
}

.mifa-footer__copy a {
  color: #6ec3f5;
  font-weight: 700;
  text-decoration: none;
}

.mifa-footer__copy a:hover {
  color: #9ad7ff;
  text-decoration: underline;
}

.mifa-footer__copy-sep {
  opacity: 0.4;
}

/* Kill old footer card chrome if residual classes appear */
.mifa-footer .card.card-custom {
  background: transparent;
  border: 0;
  box-shadow: none;
}

@media (max-width: 767.98px) {
  .mifa-footer {
    margin-top: 2.25rem;
    padding-top: 2rem;
  }

  .mifa-footer__about {
    text-align: right;
    font-size: 0.9rem;
  }

  .mifa-footer__legal a {
    min-width: 0;
    flex: 1 1 auto;
  }
}
