.footer {
    background-color: var(--color-main);
    padding: var(--space-xl) 0;
    font-family: 'Montserrat-Regular';
    width: 100%;
    overflow: hidden;
}

footer.footer-with-gradient {
    background-image: linear-gradient(to bottom, white 50%, var(--color-main) 50%);
    background-color: transparent; 
}

.footer .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--space-l);
}

.footer-content-wrapper {
    background: #1a554c;
    border-radius: var(--border-radius);
    padding: var(--space-l) var(--space-xl);
    color: white;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-xl);
    align-items: start;
    position: relative;
    overflow: hidden;
}

.footer-circle-svg {
    position: absolute;
    right: -50px;
    bottom: -150px;
    width: 300px;
    height: auto;
    z-index: 1;
}

.footer-content-wrapper > .footer-section {
    position: relative;
    z-index: 2;
}

.footer-section {
    padding: 0;
}

.footer-section h3 {
    margin-top: var(--space-xs);
    margin-bottom: var(--space-xs);
}

.footer-section p {
    margin-bottom: 8px;
}

.footer-section p a:hover {
    color: var(--color-white);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section ul li a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--color-white);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    margin-top: var(--space-l);
    justify-content: flex-start;
}

.social-icon-link {
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--color-main);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icon-link svg {
    width: 24px;
    height: 24px;
    fill: var(--color-accent);
}

.social-icon-link svg:hover {
    fill: var(--color-white);
}

.opening-hours p {
    margin: 0;
    margin-bottom: 8px;
    line-height: 1.5;
    color: white;
}

.opening-hours strong {
    font-family: 'Montserrat-Bold';
    margin-right: 8px;
    color: white;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: var(--space-s);
    align-items: center;
    justify-content: flex-start;
}

.payment-methods img {
    height: 60px;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: var(--space-l);
    margin-top: var(--space-xl);
    text-align: center;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom p {
    font-size: 1rem;
}

.footer-bottom-link {
    color: var(--color-accent);
}

.footer-bottom-link:hover {
    color: var(--color-white);
    text-decoration: underline;
}

/* Responsive Anpassungen */
@media (max-width: 900px) {
    
    .footer-content-wrapper {
        gap: var(--space-l);
    }

    .footer-circle-svg {
        width: 250px;
        right: -70px;
        bottom: -100px;
    }
}

@media (max-width: 768px) {
    .footer-content-wrapper {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }

    .social-icons {
        justify-content: flex-start;
    }

    .payment-methods {
        justify-content: flex-start;
    }

    .footer-bottom {
        margin-top: var(--space-l);
    }

    .footer-circle-svg {
        width: 200px;
        right: -60px;
        bottom: 140px;
        opacity: 0.1;
    }
}

@media (max-width: 480px) {
    .footer-content-wrapper {
        padding: var(--space-s);
        grid-template-columns: 1fr;
        gap: var(--space-s);
        text-align: center;
    }

    .footer-section ul li {
        margin-bottom: 8px;
    }

    .social-icons, .payment-methods {
        justify-content: center;
    }

    .footer-circle-svg {
        display: none;
    }
}