/* ============================================
   FOOTER - KOMPLETT ISOLIERT
   Alle Klassen beginnen mit .footer- um Konflikte zu vermeiden
   ============================================ */

/* ===== Footer Haupt-Container ===== */
.footer-modern {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 4rem 0 0;
    color: #1a202c;
    margin: 0;
}

/* ===== Feedback CTA Section ===== */
.footer-cta {
    text-align: center;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.05) 0%, rgba(0, 150, 255, 0.02) 100%);
    border-radius: 16px;
    border: 1px solid rgba(0, 150, 255, 0.1);
}

.footer-cta-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 0.75rem 0;
    padding: 0;
    line-height: 1.3;
}

.footer-cta-text {
    font-size: 1rem;
    color: #718096;
    margin: 0 auto 1.5rem auto;
    padding: 0;
    max-width: 600px;
    line-height: 1.6;
}

/* ===== Navigation Grid ===== */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
    margin: 0 0 3rem 0;
    padding: 0 0 3rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
    .footer-nav {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.footer-column-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0096ff;
    margin: 0 0 0.5rem 0;
    padding: 0;
    line-height: 1.3;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links li {
    margin: 0;
    padding: 0;
}

.footer-links a {
    font-size: 0.938rem;
    color: #4a5568;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

.footer-links a:hover {
    color: #0096ff;
    text-decoration: none;
}

/* ===== Praxisbuch Highlight ===== */
.footer-highlight {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: #1a202c;
    color: #ffffff;
    border-radius: 12px;
    margin: 0 0 3rem 0;
    flex-wrap: wrap;
}

.footer-highlight-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 150, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0096ff;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.footer-highlight-icon i {
    margin: 0;
    padding: 0;
}

.footer-highlight-content {
    flex: 1;
    font-size: 0.938rem;
    line-height: 1.6;
    min-width: 200px;
    margin: 0;
    padding: 0;
    color: #ffffff;
}

.footer-highlight-content strong {
    font-weight: 600;
    color: #ffffff;
}

.footer-highlight .footer-btn {
    flex-shrink: 0;
    margin: 0;
}

.footer-highlight .footer-btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-highlight .footer-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
}

/* ===== Social Links ===== */
.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
    margin: 0;
}

.footer-social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.2s ease;
    margin: 0;
    padding: 0;
}

.footer-social-link i {
    margin: 0;
    padding: 0;
}

.footer-social-link:hover {
    background: #0096ff;
    color: #ffffff;
    border-color: #0096ff;
    transform: translateY(-2px);
    text-decoration: none;
}

/* ===== Bottom Section ===== */
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
    margin: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    flex-wrap: wrap;
    text-align: center;
}

.footer-copyright {
    font-size: 0.875rem;
    color: #718096;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

.footer-version {
    font-size: 0.813rem;
    color: #a0aec0;
    font-weight: 500;
    padding: 0.25rem 0.625rem;
    margin: 0;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 6px;
    line-height: 1.5;
}

/* ===== Button Styles - Footer Specific ===== */
.footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    margin: 0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.938rem;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    cursor: pointer;
    line-height: 1.5;
}

.footer-btn i {
    font-size: 0.875rem;
    margin: 0;
    padding: 0;
}

.footer-btn-primary {
    background: #0096ff;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 150, 255, 0.25);
}

.footer-btn-primary:hover {
    background: #0077cc;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 150, 255, 0.35);
    text-decoration: none;
}

.footer-btn-ghost {
    background: rgba(0, 0, 0, 0.04);
    color: #1a202c !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-btn-ghost:hover {
    background: rgba(0, 0, 0, 0.08);
    color: #1a202c !important;
    text-decoration: none;
}

.footer-btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ===== CTA Banner Minimal ===== */
.footer-cta-banner-minimal {
    background: #f8fafc;
    padding: 3rem 0;
    margin: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-cta-banner-minimal-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}

.footer-cta-banner-minimal-content {
    flex: 1;
    margin: 0;
    padding: 0;
}

.footer-cta-banner-minimal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 0.5rem 0;
    padding: 0;
    line-height: 1.3;
}

.footer-cta-banner-minimal-text {
    font-size: 0.938rem;
    color: #718096;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

/* ===== Responsive Design ===== */
@media (max-width: 991.98px) {
    .footer-modern {
        padding: 3rem 0 0;
    }

    .footer-cta {
        padding: 2.5rem 2rem;
        margin-bottom: 2.5rem;
    }

    .footer-nav {
        gap: 2rem 1.5rem;
        margin-bottom: 2.5rem;
        padding-bottom: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .footer-modern {
        padding: 3rem 0 0;
    }

    .footer-cta {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }

    .footer-cta-title {
        font-size: 1.5rem;
    }

    .footer-cta-text {
        font-size: 0.938rem;
    }

    .footer-nav {
        gap: 2rem 1.5rem;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

    .footer-highlight {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem 1.5rem;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .footer-highlight .footer-btn {
        width: 100%;
    }

    .footer-social {
        padding: 1.5rem 0;
    }

    .footer-bottom {
        flex-direction: column;
        padding: 1.5rem 0;
        gap: 0.75rem;
    }

    .footer-cta-banner-minimal {
        padding: 2rem 0;
    }

    .footer-cta-banner-minimal-inner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-cta-banner-minimal .footer-btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .footer-modern {
        padding: 2rem 0 0;
    }

    .footer-cta {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .footer-cta-title {
        font-size: 1.25rem;
    }

    .footer-cta-text {
        font-size: 0.875rem;
    }

    .footer-nav {
        gap: 1.5rem 1rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .footer-column {
        gap: 0.75rem;
    }

    .footer-column-title {
        font-size: 0.813rem;
        margin-bottom: 0.375rem;
    }

    .footer-links {
        gap: 0.5rem;
    }

    .footer-links a {
        font-size: 0.875rem;
    }

    .footer-highlight {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .footer-highlight-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .footer-highlight-content {
        font-size: 0.875rem;
    }

    .footer-social {
        padding: 1.25rem 0;
        gap: 0.75rem;
    }

    .footer-social-link {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
    }

    .footer-bottom {
        padding: 1.25rem 0;
        gap: 0.5rem;
    }

    .footer-copyright {
        font-size: 0.813rem;
    }

    .footer-version {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }

    .footer-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .footer-btn-sm {
        padding: 0.5rem 0.875rem;
        font-size: 0.813rem;
    }
}

/* ===== Reset für Footer-spezifische Elemente ===== */
.footer-modern * {
    box-sizing: border-box;
}

.footer-modern a {
    outline: none;
}

.footer-modern button {
    font-family: inherit;
}

/* ===== Wichtige Überschreibungen mit !important nur wenn nötig ===== */
.footer-btn-primary,
.footer-btn-primary:hover,
.footer-btn-primary:focus,
.footer-btn-primary:active {
    text-decoration: none !important;
}

.footer-btn-ghost,
.footer-btn-ghost:hover,
.footer-btn-ghost:focus,
.footer-btn-ghost:active {
    text-decoration: none !important;
}

.footer-links a,
.footer-links a:hover,
.footer-links a:focus,
.footer-links a:active {
    background: transparent !important;
}

.footer-social-link,
.footer-social-link:hover,
.footer-social-link:focus,
.footer-social-link:active {
    text-decoration: none !important;
}