/* --------------------------------------------------------------
   FWGPress – Footer Styles
   Struktur:
   1) Variablen
   2) Grundlayout
   3) Footer Top (Logo · Kontakt · Social)
   4) Kontakt-Icons
   5) Divider
   6) Footer Bottom (Legal Links)
   7) Responsive
-------------------------------------------------------------- */


/* ==============================================================
   1) Variablen
   -------------------------------------------------------------- */
:root {
    --fwg-footer-bg:       #0b3169;   /* Dunkelblau */
    --fwg-footer-text:     #ffffff;   /* Weiß */
    --fwg-footer-heading:  #7fb3ff;   /* Hellblau */
}


/* ==============================================================
   2) Grundlayout
   -------------------------------------------------------------- */
.fwg-footer {
    background: var(--fwg-footer-bg);
    color: var(--fwg-footer-text);

    padding: 20px 20px 20px 20px;
    margin-top: 60px;

    font-size: 16px;
}

.fwg-footer a {
    color: var(--fwg-footer-text);
    text-decoration: none;
    transition: opacity .25s ease;
}

.fwg-footer a:hover {
    opacity: 0.7;
}


/* ==============================================================
   3) Footer Top (Logo · Kontakt · Social)
   -------------------------------------------------------------- */
.fwg-footer-top {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 20px;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

/* Spaltenbreiten */
.fwg-footer-col {
    flex: 1;
}

.fwg-footer-logo {
    display: flex;
    align-items: flex-start;
    flex: 0 0 25%;
}

.fwg-footer-contact {
    flex: 0 0 50%;
}

.fwg-footer-social {
    flex: 0 0 25%;
}

/* Logo */
.fwg-footer-logo-img {
    width: 120px;
    height: auto;
}

/* Überschriften */
.fwg-footer-col h4 {
    margin-top: 0;
    margin-bottom: 4px;
    color: var(--fwg-footer-heading);
    font-size: 18px;
    font-weight: 600;
}

/* Kontakt-Text kompakter */
.fwg-footer-contact p {
    font-size: 14px;
    line-height: 1.2;
    margin: 0 0 8px 0;
    padding: 0;
}

.fwg-footer-contact a {
    font-size: 15px;
}

/* Social Icons */
.fwg-footer-social-list {
    list-style: none;
    margin: 0;
    padding: 0;

    display: flex;
    gap: 16px;
}

.fwg-footer-social-list li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    border: 2px solid var(--fwg-footer-text);
    border-radius: 50%;
    padding: 4px;

    transition: background .25s ease, opacity .25s ease;
}

.fwg-footer-social-list li a:hover {
    background: rgba(255,255,255,0.15);
}


/* ==============================================================
   4) Kontakt-Icons (Telefon · Mail)
   -------------------------------------------------------------- */
.fwg-footer-contact-icons {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 4px;
}

.fwg-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    border: 1px solid var(--fwg-footer-text);
    border-radius: 50%;
    padding: 4px;

    transition: background .25s ease, opacity .25s ease;
}

.fwg-contact-icon:hover {
    background: rgba(255,255,255,0.15);
}

/* Feather Icons */
.fwg-contact-icon svg {
    width: 18px;
    height: 18px;
}


/* ==============================================================
   5) Divider
   -------------------------------------------------------------- */
.fwg-footer-divider {
    max-width: 1400px;
    margin: 4px auto 4px;
    height: 1px;
    background: var(--fwg-footer-text); /* komplett weiß */
}


/* ==============================================================
   6) Footer Bottom (Legal Links)
   -------------------------------------------------------------- */
.fwg-footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    justify-content: flex-end;
}

.fwg-footer-legal-links {
    list-style: none;
    margin: 0;
    padding: 0;

    display: flex;
    gap: 24px;
}

.fwg-footer-legal-links a {
    font-size: 15px;
    font-weight: 500;
}


/* ==============================================================
   7) Responsive
   -------------------------------------------------------------- */
@media (max-width: 768px) {

    .fwg-footer {
        padding: 40px 0 30px;
    }

    .fwg-footer-top {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    /* Kontakt linksbündig */
    .fwg-footer-contact {
        text-align: left;
        width: 100%;
    }

    .fwg-footer-contact p,
    .fwg-footer-contact a {
        text-align: left;
    }

    .fwg-footer-bottom {
        justify-content: center;
        margin-top: 20px;
    }

    .fwg-footer-legal-links {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
