/* excire.com — site footer
 * Structure from the live site: brand + link columns (Informationen, Rechtliches)
 * + social + copyright bar. Colors/spacing VERIFY against live.
 */

.site-footer {
    background: var(--color-footer-bg);   /* live: #3a3a3a */
    color: var(--color-footer-text);
}

.site-footer__inner {
    max-width: var(--container-max);
    margin-inline: auto;
    padding: var(--space-7) var(--container-pad) var(--space-6);
    display: grid;
    /* Live footer = 4 columns: Logo | Informationen | Rechtliches | Kontakt */
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: var(--space-6);
    align-items: start;
}

/* social sits under the last column (Kontakt) — VERIFY exact placement */
.site-footer__social { margin-top: var(--space-4); }

.site-footer__brand img { height: 40px; width: auto; }

.site-footer__heading {
    font-family: var(--font-base);      /* Maven Pro */
    font-size: 20px;                    /* measured */
    font-weight: var(--fw-medium);      /* 500 */
    margin: 0 0 var(--space-2);
    color: var(--color-footer-text);    /* white */
}

/* Thin white divider line under each footer heading (Elementor divider) */
.site-footer__divider {
    display: block;
    height: 0;
    border-top: 1px solid var(--color-footer-rule);
    margin: 0 0 var(--space-3);
}

.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { margin-bottom: var(--space-2); }
.site-footer__links a { color: var(--color-footer-link); font-size: 20px; }  /* white */
.site-footer__links a:hover { color: var(--color-footer-link-hover); }        /* blue on hover */

/* Social = round icons (circle #3a3a3a on black, white icon) */
.site-footer__social { display: flex; flex-direction: row; gap: var(--space-3); margin-top: var(--space-4); }
.site-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--color-footer-icon-bg);   /* #3a3a3a */
    color: var(--color-footer-icon);           /* white icon */
    transition: background-color .15s ease, color .15s ease;
}
.site-footer__social a:hover { background: var(--color-footer-link-hover); color: var(--color-white); }
.site-footer__social svg { width: 20px; height: 20px; }

.site-footer__bar {
    border-top: 1px solid rgba(255,255,255,.12);
}
.site-footer__bar p {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--space-3) var(--container-pad);
    font-size: .875rem;
    color: var(--color-footer-muted);
}

@media (max-width: 767px) {
    /* One column on phones (like live) — every footer group stacked. */
    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }
    .site-footer__social { flex-direction: row; gap: var(--space-4); }
}
