/* -------------------------------------------------------------
   #1 FOOTER BASIS
   ------------------------------------------------------------- */

.tg-footer {
    background: linear-gradient(180deg, #13273a 0%, #102334 100%);
    color: #dbe7f3;
    margin-top: 80px;
    padding-top: 70px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tg-footer a {
    color: #06b6d4;
    text-decoration: none;
}

.tg-footer a:hover {
    color: #ffffff;
}

/* -------------------------------------------------------------
   #2 FOOTER GRID
   ------------------------------------------------------------- */

.tg-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr 1fr;
    gap: 36px;
    align-items: start;
}

.tg-footer__col {
    min-width: 0;
}

.tg-footer__title {
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 1.30rem;
    font-weight: 800;
}

/* -------------------------------------------------------------
   #3 LISTEN
   ------------------------------------------------------------- */

.tg-footer__list,
.tg-footer__links {
    list-style: none;
}

.tg-footer__list li,
.tg-footer__links li {
    margin-bottom: 14px;
    font-size: 1.1rem;
    color: #d6e0ea;
}

.tg-footer__links a {
    color: #d6e0ea;
}

.tg-footer__links a:hover {
    color: #22c55e;
}

/* -------------------------------------------------------------
   #4 SOCIALS
   ------------------------------------------------------------- */

.tg-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 26px;
}

.tg-footer__socials a {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.tg-footer__socials a:hover {
    background: rgba(255, 255, 255, 0.10);
    transform: translateY(-1px);
}

.tg-footer__visited {
    color: #c7d6e5;
    font-size: 1rem;
    margin: 0;
}

/* -------------------------------------------------------------
   #5 BRANDS
   ------------------------------------------------------------- */

.tg-footer__brands {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.tg-footer__brand {
    min-height: 64px;
    border-radius: 12px;
    background: #ffffff;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    font-weight: 800;
    font-size: 0.95rem;
}

/* -------------------------------------------------------------
   #6 LOGO
   ------------------------------------------------------------- */

.tg-footer__col--logo {
    text-align: center;
}

.tg-footer__logo {
    max-width: 240px;
    margin-inline: auto;
    object-fit: contain;
}

/* -------------------------------------------------------------
   #7 BOTTOM
   ------------------------------------------------------------- */

.tg-footer__bottom {
    margin-top: 56px;
    padding: 26px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tg-footer__bottom p {
    margin: 0;
    color: #d6e0ea;
    font-size: 1rem;
}

/* -------------------------------------------------------------
   #8 TABLET
   ------------------------------------------------------------- */

@media (max-width: 1100px) {
    .tg-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* -------------------------------------------------------------
   #9 MOBILE
   ------------------------------------------------------------- */

@media (max-width: 768px) {
    .tg-footer {
        margin-top: 60px;
        padding-top: 56px;
    }

    .tg-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .tg-footer__title {
        font-size: 1.35rem;
        margin-bottom: 16px;
    }

    .tg-footer__list li,
    .tg-footer__links li {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .tg-footer__brands {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tg-footer__brand {
        min-height: 58px;
        font-size: 0.9rem;
    }

    .tg-footer__bottom {
        margin-top: 40px;
        padding: 20px 0 26px;
        flex-direction: column;
        align-items: flex-start;
    }

    .tg-footer__col--logo {
        text-align: left;
    }

    .tg-footer__logo {
        margin-inline: 0;
        max-width: 200px;
    }
}

/* -------------------------------------------------------------
   #10 KLEINE HANDYS
   ------------------------------------------------------------- */

@media (max-width: 420px) {
    .tg-footer__brands {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .tg-footer__socials a {
        width: 40px;
        height: 40px;
    }

    .tg-footer__bottom p {
        font-size: 0.94rem;
    }
}

.tg-footer .tg-container {
    max-width: 1800px;
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}


/* -------------------------------------------------------------
   # SOCIAL BRAND HOVER COLORS
------------------------------------------------------------- */


/* -------------------------------------------------------------
   # FOOTER SOCIAL ICONS
------------------------------------------------------------- */

.tg-footer__socials {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.tg-footer__socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    color: #ffffff;
    font-size: 16px;
    transition: all 0.25s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Hover */
.tg-footer__socials a:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #0d89ff, #18d0d0);
    color: #fff;
    box-shadow: 0 10px 25px rgba(13,137,255,0.25);
}

/* WhatsApp */
.tg-footer__socials a[aria-label="WhatsApp"]:hover {
    background: #25D366;
}

/* Instagram (Gradient Style) */
.tg-footer__socials a[aria-label="Instagram"]:hover {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

/* Facebook */
.tg-footer__socials a[aria-label="Facebook"]:hover {
    background: #1877f2;
}

/* LinkedIn */
.tg-footer__socials a[aria-label="LinkedIn"]:hover {
    background: #0a66c2;
}

/* Twitter / X */
.tg-footer__socials a[aria-label="Twitter"]:hover {
    background: #000000;
}

/* YouTube */
.tg-footer__socials a[aria-label="YouTube"]:hover {
    background: #ff0000;
}

.tg-footer__socials a:hover svg {
    color: #ffffff;
}

@media (max-width: 420px) {
    .tg-footer__brands {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .tg-footer__socials a {
        width: 40px;
        height: 40px;
    }

    .tg-footer__bottom p {
        font-size: 0.94rem;
    }
}


/* //Kommentar: FIXES 4x3 Grid */
.tg-footer__brands {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 4 Spalten */
    gap: 20px;
    margin-top: 20px;
}

/* //Kommentar: Logo Box */
.tg-footer__brands img {
    width: 100%;
    height: 45px;              /* gleiche Höhe */
    object-fit: contain;       /* Logo nicht verzerren */
    background: #ffffff;       /* weiße Box */
    padding: 0px;
    border-radius: 8px;
}

/* //Kommentar: Tablet */
@media (max-width: 900px) {
    .tg-footer__brands {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* //Kommentar: Mobile */
@media (max-width: 500px) {
    .tg-footer__brands {
        grid-template-columns: repeat(2, 1fr);
    }
}