/* ================================================
   FOOTER LINKS - VERSION 3: ARCHITECT'S CHOICE
   Zaha Hadid, Norman Foster Style
   ================================================ */

/* Footer Container */
.footer-content {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Footer Spalten */
.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 6px;
  flex: 0 0 auto;
}

/* Footer Subcolumns - für Qualitätsmanagement */
.footer-subcolumns {
  display: flex;
  gap: 12px;
}

.footer-subcolumn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 0 0 auto;
}

.footer-column-title {
  margin: 0 0 12px 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  color: var(--color-fg-default);
  text-transform: uppercase;
  font-family: 'Futura', 'Century Gothic', sans-serif;
  position: relative;
  padding-left: 12px;
}

/* Asymmetrische Akzent-Linie (Architektur-Signatur) */
.footer-column-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
}

/* Footer Resource Links - Architect Style */
.footer-resource-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 180px;
  padding: 8px 12px;
  position: relative;
  overflow: hidden;

  /* Monolithisches Design */
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.01) 100%
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  /* Asymmetrischer Border */
  border-left: 1.5px solid rgba(255, 255, 255, 0.15);
  border-top: 0.5px solid rgba(255, 255, 255, 0.08);
  border-right: 0.5px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 0; /* Streng geometrisch */

  /* Architektur-Schatten */
  box-shadow:
    2px 2px 8px rgba(0, 0, 0, 0.1),
    -1px -1px 2px rgba(255, 255, 255, 0.01);

  /* Typography */
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  font-weight: 400;
  text-decoration: none;
  text-align: left;
  letter-spacing: 0.2px;
  font-family: 'Futura', 'Century Gothic', sans-serif;

  /* Smooth Architectural Motion */
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Licht-Wanderungs-Effekt (wie Sonne über Gebäude) */
.footer-resource-link::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 100%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  transition: left 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.footer-resource-link:hover::before {
  left: 150%;
}

/* Material-Depth Overlay */
.footer-resource-link::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
  mix-blend-mode: overlay;
}

.footer-resource-link:hover::after {
  opacity: 1;
}

.footer-resource-link:hover {
  transform: translateX(6px) translateY(-3px);
  border-left-color: rgba(255, 255, 255, 0.4);

  box-shadow:
    12px 12px 36px rgba(0, 0, 0, 0.25),
    -3px -3px 12px rgba(255, 255, 255, 0.03);

  color: #ffffff;

  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
}

.footer-resource-link:active {
  transform: translateX(3px) translateY(-1px);
}

/* Negative Space Indicator - Blau statt Grün */
.footer-column:first-child .footer-resource-link {
  border-left-color: rgba(100, 150, 255, 0.3);
}

.footer-column:first-child .footer-resource-link:hover {
  border-left-color: rgba(100, 150, 255, 0.6);
}

.footer-column:last-child .footer-resource-link {
  border-left-color: rgba(80, 120, 255, 0.3);
}

.footer-column:last-child .footer-resource-link:hover {
  border-left-color: rgba(80, 120, 255, 0.6);
}

/* Glassmorphism Theme Support */
:root[data-theme="glass"] .footer-resource-link {
  background: linear-gradient(
    125deg,
    rgba(0, 10, 25, 0.3) 0%,
    rgba(0, 10, 25, 0.1) 100%
  );
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

:root[data-theme="glass"] .footer-resource-link:hover {
  background: linear-gradient(
    125deg,
    rgba(26, 95, 180, 0.25) 0%,
    rgba(0, 10, 25, 0.2) 100%
  );
}

/* Footer Bottom - Copyright & Legal */
.footer-bottom {
  text-align: center;
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 120px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 100%
  );
}

.footer-bottom p {
  margin: 0;
  margin-bottom: 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
  font-weight: 300;
}

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

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
  }

  .footer-column {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .footer-column-title {
    padding-left: 0;
    padding-top: 20px;
  }

  .footer-column-title::before {
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 60px;
    height: 2px;
  }

  .footer-subcolumns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .footer-subcolumn {
    align-items: center;
    width: 100%;
  }

  .footer-resource-link {
    max-width: 100%;
    font-size: 14px;
    min-height: 56px;
    justify-content: center;
    border-left-width: 1px;
    border-top-width: 3px;
  }

  .footer-resource-link:hover {
    transform: translateY(-3px);
  }

  .footer-bottom {
    padding-top: 48px;
  }

  .footer-bottom::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .footer-content {
    gap: 48px;
  }

  .footer-column-title {
    font-size: 15px;
    margin-bottom: 22px;
  }

  .footer-resource-link {
    font-size: 13px;
    padding: 16px 24px;
  }

  .footer-bottom p {
    font-size: 11px;
    line-height: 1.6;
  }
}
