/* ══════════════════════════════════════════════════════════════════
   wert5 · STILE DES ZENTRALEN FOOTERS
   Gehört zu /partials/footer.php · Ablage: /css/wert5-footer.css

   Alle Farben mit Rückfallwert, damit die Datei auch eigenständig
   funktioniert und nie die Variablen der Seite überschreibt.
   ══════════════════════════════════════════════════════════════════ */

.w5-footer {
    background: var(--ink, #1F3F2E);
    color: rgba(245, 241, 232, 0.8);
    padding: 60px 40px 32px;
}

.w5-footer .footer-content {
    max-width: 1400px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 50px;
}

.w5-footer .footer-logo {
    height: 34px;
    width: auto;
    display: block;
    margin-bottom: 20px;
}

.w5-footer .footer-section h4 {
    font-family: var(--serif, "Cormorant Garamond", Garamond, serif);
    color: var(--paper, #FBF9F4);
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 20px;
    letter-spacing: -0.01em;
}

.w5-footer .footer-section p {
    font-family: var(--sans, "Inter", sans-serif);
    font-size: 12px;
    line-height: 1.6;
    margin: 0 0 12px;
}

.w5-footer .footer-note {
    color: rgba(245, 241, 232, 0.5);
    border-left: 2px solid var(--accent, #B8924A);
    padding-left: 12px;
    margin-top: 18px;
}

.w5-footer .footer-adr {
    color: rgba(245, 241, 232, 0.7);
    margin-top: 4px;
}

.w5-footer .footer-section a {
    display: block;
    color: rgba(245, 241, 232, 0.8);
    text-decoration: none;
    margin-bottom: 12px;
    font-family: var(--sans, "Inter", sans-serif);
    font-size: 12px;
    transition: color 0.3s ease;
}

.w5-footer .footer-section a:hover { color: var(--accent, #B8924A); }

/* ─── SOCIAL ─────────────────────────────────────────────────── */

.w5-footer .footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.w5-footer .footer-social a {
    width: 36px;
    height: 36px;
    margin: 0;
    border-radius: 50%;
    border: 1px solid rgba(245, 241, 232, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(245, 241, 232, 0.85);
    transition: all 0.3s ease;
}

.w5-footer .footer-social a:hover {
    background: var(--accent, #B8924A);
    border-color: var(--accent, #B8924A);
    color: var(--ink, #1F3F2E);
    transform: translateY(-2px);
}

.w5-footer .footer-social svg { width: 17px; height: 17px; }

/* ─── UNTERE LEISTE ──────────────────────────────────────────── */

.w5-footer .footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 28px;
    border-top: 1px solid rgba(245, 241, 232, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: rgba(245, 241, 232, 0.5);
    font-family: var(--sans, "Inter", sans-serif);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.w5-footer .footer-legal {
    display: flex;
    gap: 22px;
}

.w5-footer .footer-legal a {
    color: rgba(245, 241, 232, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.w5-footer .footer-legal a:hover { color: var(--accent, #B8924A); }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */

@media (max-width: 768px) {
    .w5-footer { padding: 48px 20px 28px; }
    .w5-footer .footer-content { gap: 34px; margin-bottom: 30px; }
    .w5-footer .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        letter-spacing: 0.12em;
    }
}
