/* Footer Stile */
.footer-custom {
    background-color: var(--footer-background);
    color: #ffffff;
    text-align: center;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.footer-custom > .container > .footer-nav .nav-link,
.footer-custom > .container > p {
    color: #ffffff !important;
    margin: 0;
    font-size: 0.95rem;
    text-decoration: none; /* Verhindert Unterstreichung in der mobilen Ansicht */
}

.footer-custom .footer-nav {
    margin-bottom: 0.5rem;
}

.footer-custom .card {
    background-color: #ffffff;
    color: var(--text-color);
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    max-height: 70vh;
}

.footer-custom .card p,
.footer-custom .card h1,
.footer-custom .card h2,
.footer-custom .card h3,
.footer-custom .card h4,
.footer-custom .card h5,
.footer-custom .card h6 {
    color: var(--text-color);
}

.footer-custom .card a {
    color: var(--link-color);
    text-decoration: none;
}

.footer-custom .card a:hover {
    color: #3a8db7;
    text-decoration: underline;
}

.footer-custom .card .btn {
    background-color: var(--button-bg);
    color: var(--button-text);
}

.footer-custom .card .btn:hover {
    background-color: #3a8db7;
}

/* Responsive Anpassungen für die Cards im Footer */
.footer-custom .card {
    max-width: 100%;
    margin: 10px auto;
    padding: 15px;
    overflow-y: auto;
    max-height: 70vh;
}

@media (max-width: 576px) {
    .footer-custom .card {
        padding: 10px;
    }

    .footer-custom .card h1,
    .footer-custom .card h2,
    .footer-custom .card h3,
    .footer-custom .card h4,
    .footer-custom .card h5,
    .footer-custom .card h6 {
        font-size: 1.2rem;
    }

    .footer-custom .card p {
        font-size: 0.9rem;
    }

    .footer-custom .card .btn {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    color: #3a8db7;
    text-decoration: underline;
}