/* ========================================
   FOOTER – HOLZBAU GROBEL
======================================== */


/* ========================================
   DESKTOP – GRUNDGESTALTUNG
======================================== */

/* ---------- Footer allgemein ---------- */

.site-footer {
    background-color: var(--color-ink);
    color: var(--color-white);
}


/* ========================================
   FOOTER HAUPTBEREICH
======================================== */

.footer-main {
    padding-block: 4.5rem;
}

/* ---------- Footer Grid ---------- */

.footer-grid {
    display: grid;

    grid-template-columns: 1.5fr 0.75fr 1fr;

    gap: 4rem;
    align-items: start;
}


/* ========================================
   UNTERNEHMENSBEREICH
======================================== */

/* ---------- Logo ---------- */

.footer-logo {
    display: inline-flex;

    padding: 0.75rem;

    background-color: var(--color-cream);

    margin-bottom: 1.75rem;
}

.footer-logo img {
    width: 125px;
    height: auto;
}

/* ---------- Unternehmensname ---------- */

.footer-about h2 {
    margin-bottom: 0.75rem;

    color: var(--color-white);

    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
}

/* ---------- Unternehmensbeschreibung ---------- */

.footer-about p {
    max-width: 390px;

    color: var(--color-stone);

    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.7;
}


/* ========================================
   FOOTER ÜBERSCHRIFTEN
======================================== */

.footer-navigation h2,
.footer-contact h2 {
    margin-bottom: 1.5rem;

    color: var(--color-copper);

    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.4;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}


/* ========================================
   FOOTERNAVIGATION
======================================== */

/* ---------- Liste ---------- */

.footer-navigation ul {
    display: flex;
    flex-direction: column;

    gap: 0.75rem;

    margin: 0;
    padding: 0;

    list-style: none;
}

/* ---------- Links ---------- */

.footer-navigation a {
    color: var(--color-stone);

    font-size: 0.8rem;
    font-weight: 400;

    text-decoration: none;

    transition: color 200ms ease;
}

.footer-navigation a:hover {
    color: var(--color-copper);
}


/* ========================================
   KONTAKTBEREICH
======================================== */

/* ---------- Kontaktinformationen ---------- */

.footer-contact address {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    font-style: normal;

    color: var(--color-stone);

    font-size: 0.8rem;
    line-height: 1.7;
}

/* ---------- Adresse ---------- */

.footer-contact-address {
    margin-bottom: 1rem;

    font-size: 0.8rem;
    line-height: 1.7;
}

/* ---------- Telefon und E-Mail ---------- */

.footer-contact a {
    color: var(--color-stone);

    font-size: 0.8rem;
    text-decoration: none;

    overflow-wrap: anywhere;

    transition: color 200ms ease;
}

.footer-contact a:hover {
    color: var(--color-copper);
}


/* ========================================
   SOCIAL MEDIA – VORBEREITUNG
======================================== */

.footer-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 1rem;

    margin-top: 1.5rem;
}

/* ---------- Ohne Links ausblenden ---------- */

.footer-social[hidden] {
    display: none;
}

/* ---------- Social-Media-Links ---------- */

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    color: var(--color-white);

    border: 1px solid rgba(255, 255, 255, 0.25);

    text-decoration: none;

    transition:
        color 250ms ease,
        background-color 250ms ease,
        border-color 250ms ease;
}

/* ---------- Hover ---------- */

.footer-social a:hover {
    color: var(--color-white);

    background-color: var(--color-wood);
    border-color: var(--color-wood);
}

/* ---------- SVG-Icons ---------- */

.footer-social svg {
    display: block;

    width: 20px;
    height: 20px;
}

/* ---------- Tastaturfokus ---------- */

.footer-social a:focus-visible {
    outline: 3px solid var(--color-copper);
    outline-offset: 4px;
}

/* ---------- Reduzierte Animationen ---------- */

@media (prefers-reduced-motion: reduce) {

    .footer-social a {
        transition: none;
    }

}


/* ========================================
   FOOTER UNTERER BEREICH
======================================== */

/* ---------- Trennlinie ---------- */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- Footer Bottom Layout ---------- */

.footer-bottom-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    gap: 2rem;

    padding-block: 1.5rem;
}

/* ---------- Copyright ---------- */

.footer-bottom p {
    color: var(--color-stone);

    font-size: 0.75rem;
    line-height: 1.5;
}

/* ---------- Rechtliche Links ---------- */

.footer-bottom nav {
    display: flex;
    align-items: center;
    justify-self: end;

    gap: 1.75rem;
}

.footer-bottom nav a {
    color: var(--color-stone);

    font-size: 0.75rem;
    text-decoration: none;

    transition: color 200ms ease;
}

.footer-bottom nav a:hover {
    color: var(--color-copper);
}

/* ========================================
   WEBDESIGN CREDIT – JÄNICKE WEBDESIGN
======================================== */

/* ---------- Credit Link ---------- */

.footer-credit {
    display: inline-flex;
    align-items: center;
    justify-self: center;

    gap: 0.75rem;

    color: var(--color-stone);

    font-size: 0.7rem;
    font-weight: 400;
    text-decoration: none;

    transition: color 200ms ease;
}

/* ---------- Hover ---------- */

.footer-credit:hover {
    color: var(--color-copper);
}

/* ---------- Logo Hintergrund ---------- */

.footer-credit-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.3rem 0.5rem;
}

/* ---------- SVG Logo ---------- */

.footer-credit-logo img {
    display: block;

    width: 200px;
    height: auto;

    max-height: 42px;
    object-fit: contain;
}


/* ========================================
   BARRIEREFREIHEIT
======================================== */

/* ---------- Tastaturfokus ---------- */

.site-footer a:focus-visible {
    outline: 3px solid var(--color-copper);
    outline-offset: 4px;
}


/* ========================================
   TABLET – BIS 1023 PX
======================================== */

@media (max-width: 1023px) {

    /* ---------- Hauptbereich ---------- */

    .footer-main {
        padding-block: 3.5rem;
    }

    /* ---------- Grid ---------- */

    .footer-grid {
        grid-template-columns: 1.5fr 1fr;

        gap: 3rem;
    }

    /* ---------- Kontaktbereich ---------- */

    .footer-contact {
        grid-column: 1 / -1;
    }

    /* ---------- Beschreibung ---------- */

    .footer-about p {
        max-width: 420px;
    }

}


/* ========================================
   SMARTPHONE – BIS 767 PX
======================================== */

@media (max-width: 767px) {

    /* ---------- Hauptbereich ---------- */

    .footer-main {
        padding-block: 3rem;
    }

    /* ---------- Grid ---------- */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 2.75rem;
    }

    /* ---------- Kontaktbereich ---------- */

    .footer-contact {
        grid-column: auto;
    }

    /* ---------- Logo ---------- */

    .footer-logo {
        margin-bottom: 1.5rem;
    }

    .footer-logo img {
        width: 115px;
    }

    /* ---------- Unternehmensbeschreibung ---------- */

    .footer-about p {
        max-width: 100%;

        font-size: 0.85rem;
    }

    /* ---------- Überschriften ---------- */

    .footer-navigation h2,
    .footer-contact h2 {
        margin-bottom: 1.25rem;
    }

    /* ---------- Links ---------- */

    .footer-navigation a,
    .footer-contact a,
    .footer-contact-address {
        font-size: 0.85rem;
    }

 /* ---------- Footer Bottom – Smartphone ---------- */

.footer-bottom-inner {
    grid-template-columns: 1fr;
    justify-items: start;
    align-items: start;

    gap: 1rem;

    padding-block: 1.5rem;
}

/* ---------- Copyright ---------- */

.footer-bottom-inner > p {
    order: 1;
}

/* ---------- Rechtliche Links ---------- */

.footer-bottom nav {
    order: 2;
    justify-self: start;
}

/* ---------- Webdesign Credit ---------- */

.footer-credit {
    order: 3;
    justify-self: start;

    margin-top: 0.5rem;
}

/* ---------- Webdesign Logo ---------- */

.footer-credit-logo img {
    width: 180px;
}

}

/* ========================================
   KLEINE SMARTPHONES – BIS 359 PX
======================================== */

@media (max-width: 359px) {

    /* ---------- Footer Grid ---------- */

    .footer-grid {
        gap: 2.25rem;
    }

    /* ---------- Rechtliche Links ---------- */

    .footer-bottom nav {
        gap: 1rem;
    }

}


/* ========================================
   REDUZIERTE ANIMATIONEN
======================================== */

@media (prefers-reduced-motion: reduce) {

    .footer-navigation a,
    .footer-contact a,
    .footer-bottom nav a {
        transition: none;
    }

}