/* Footer Styles */
.footer {
    padding: 40px 20px;
    background-color: rgb(61 85 109 / 25%);
    border-top: 1px solid #eee;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: start;
}

/* Logo Styles */
.footer-logo {
    text-align: center;
    margin-bottom: 40px;
    margin-top: -20px;
}

.logo-with-lines {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
    width: 100%;
}

.horizontal-line {
    display: inline-block;
    width: 150px;
    height: 1px;
    background-color: #000;
}

.footer-logo a {
    text-decoration: none;
    color: #000;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: nowrap;
}

.logo-subtext {
    font-size: 14px;
    margin-top: 2px;
}

/* Links Styles */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links.left {
    align-items: flex-start;
}

.footer-links.right {
    align-items: flex-end;
}

.footer-links a {
    color: #000;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s ease;

}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .horizontal-line {
        width: 60px;
    }

    .footer-links.left,
    .footer-links.right {
        align-items: center;
    }

    .footer-section {
        order: 2;
    }

    .footer-section:nth-child(2) {
        order: 1;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 15px;
    }
    
    .horizontal-line {
        width: 40px;
    }

    .footer-logo a {
        font-size: 20px;
    }

    .logo-subtext {
        font-size: 12px;
    }

    .footer-links a {
        font-size: 11px;
    }

    .footer-social {
        gap: 15px;
    }

    .social-icon {
        width: 18px;
        height: 18px;
    }
}

/* Grundstil für alle Footer-Links */
.footer-links a {
  position: relative;
  text-decoration: none;
  color: inherit;
  padding-bottom: 3px;
}

/* animierter Unterstrich */
.footer-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 2px;
  background: #4a90e2; /* navy blue Unterstrich */
  transition: width 0.3s ease, left 0.3s ease, right 0.3s ease;
  width: 0;
  color: #4a90e2;
}

/* -------- LINKER BEREICH: Strich von links nach rechts -------- */
.footer-links.left a::after {
  left: 0;
  right: auto;
      color: #4a90e2;
}

.footer-links.left a:hover::after {
    color: #4a90e2;
  width: 100%;
}

/* -------- RECHTER BEREICH: Strich von rechts nach links -------- */
.footer-links.right a::after {
  right: 0;
  left: auto;
}

.footer-links.right a:hover::after {
  width: 100%;
      color: #4a90e2;
}


.footer-image img {
    width: 120px;
    height: auto;
    object-fit: contain;
}

a:hover{
    color: #4a90e2;
}