/* ============================= */
/* PREMIUM FOOTER FINAL */
/* ============================= */

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;

  background: rgba(15, 76, 92, 0.95);
  backdrop-filter: blur(8px);

  color: #ffffff;
  padding: 10px 100px 6px;

  font-family: 'Cormorant Garamond', serif;
}

/* ============================= */
/* LAYOUT */
/* ============================= */

.footer-inner {
  display: flex;
  height: 40px;
  justify-content: space-between;
  align-items: center;

  transform: translateY(-8px);
}

.footer-right {
  display: flex;
  align-items: center;
}

/* ============================= */
/* TYPOGRAPHY */
/* ============================= */
.footer-left a,
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;

  color: inherit;
  text-decoration: none;
}


.footer-left h3,
.footer-contact {
  font-size: 14px;
  letter-spacing: 0.08em;
  opacity: 0.7;

  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================= */
/* ICON BASE */
/* ============================= */

.footer i {
  position: relative;
  font-size: 20px;

  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s ease;

  animation: footerIconFade 0.8s ease forwards;
}

/* ============================= */
/* ICON POSITIONING */
/* ============================= */

.footer-contact i {
  margin-right: 10px;
}

.footer-left h3 i {
  margin-left: 10px;
}

/* ============================= */
/* DIVIDER SYSTEM */
/* ============================= */

.footer i::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.3);

  transition: all 0.3s ease;
}

.footer-contact i::after {
  right: -10px;
}

.footer-left h3 i::after {
  left: -10px;
}

/* ============================= */
/* NAVIGATION */
/* ============================= */

.footer-nav {
  display: flex;
  gap: 60px;
  width: 600px;
}

.footer-nav a {
  position: relative;
  font-size: 14px;
  letter-spacing: 0.1em;
  opacity: 0.7;

  transform: translateZ(0);
  transition: opacity 0.3s ease;
}

/* Hauptlinie */

.footer-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;

  width: 0%;
  height: 1px;
  background: currentColor;

  transform: translateX(-50%);
  opacity: 0.6;

  transition:
    width 0.4s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.25s ease;
}

/* weiche Linie */

.footer-nav a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;

  width: 0%;
  height: 1px;
  background: currentColor;

  transform: translateX(-50%);
  opacity: 0.18;

  filter: blur(0.5px);

  transition:
    width 0.55s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 0.35s ease;
}

/* Hover */

.footer-nav a:hover {
  opacity: 1;
}

.footer-nav a:hover::after {
  width: 100%;
  transition-delay: 0.03s;
}

.footer-nav a:hover::before {
  width: 100%;
  opacity: 0.25;
  transition-delay: 0.08s;
}

/* Exit */

.footer-nav a:not(:hover)::after,
.footer-nav a:not(:hover)::before {
  width: 0%;
  opacity: 0;
}

/* ============================= */
/* ICON ANIMATION */
/* ============================= */

.footer-left i {
  animation-delay: 0.2s;
}

.footer-right i {
  animation-delay: 0.4s;
}

/* Hover */

.footer-left h3:hover,
.footer-contact:hover {
  opacity: 0.9;
}

.footer-left h3:hover i,
.footer-contact:hover i {
  opacity: 1;
  transform: translateY(-2px) scale(1.15);
  mix-blend-mode: screen;

  color: #ffffff;

  filter: brightness(1.25);

text-shadow:
  0 0 3px rgba(255,255,255,1),
  0 0 8px rgba(255,255,255,1),
  0 0 18px rgba(255,255,255,0.9),
  0 0 32px rgba(255,255,255,0.7);
}

.footer-left h3:hover i::after,
.footer-contact:hover i::after {
  background: rgba(255,255,255,0.5);
  height: 16px;
}

/* ============================= */
/* COPYRIGHT */
/* ============================= */

.footer::after {
  content: "© 2026 Flensburger Fischkate by J. Stein";

  position: absolute;
  left: 50%;
  bottom: 3px;
  transform: translateX(-50%);

  font-size: 11px;
  opacity: 0.4;
  letter-spacing: 0.08em;
}

/* ============================= */
/* ANIMATIONS */
/* ============================= */

@keyframes footerIconFade {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }
  60% {
    opacity: 1;
    transform: translateY(-2px) scale(1.08);
  }
	100% {
	  opacity: 1;
	  transform: translateY(0);
}
}
}

/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 900px) {

  .footer {
    padding: 12px 20px 10px;
  }

  .footer-inner {
    flex-direction: column;
    height: auto;
    gap: 6px;
    transform: none;
  }

  .footer-nav {
    gap: 20px;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-left h3,
  .footer-contact {
    font-size: 12px;
    gap: 6px;
  }

  .footer-nav a {
    font-size: 12px;
  }

  .footer::after {
    position: relative;
    display: block;
    margin-top: 6px;
    transform: none;
    text-align: center;
  }
}