/*###############################
###
###     FOOTER STYLES
###     BASED ON: HTML, JS, CSS 
###     AUTHOR: Benjamin Benenwitz
###
###
###       ██████╗  ▀█
###       ██╔══██╗ █▄
###       ██████╦╝
###       ██╔══██╗
###       ██████╦╝
###       ╚═════╝
###
###
#################################*/

/* Inhaltsverzeichnis
    12. FOOTER
        12.1 Layout-Basis & Variablen
        12.2 Top-Section (Headline & CTA)
        12.3 Footer-Blocks (Sitemap, Kontakt, Formular)
        12.4 Separator
        12.5 Footer-Bottom (Legal & Copyright)
        12.6 Scroll-To-Top & Responsive
*/

/* ==============================
    12.1 Layout-Basis & Variablen
   ============================== */
:root {
    --f-bg: #0f172a;
    --f-text: #f8fafc;
    --f-text-rgb: 248, 250, 252;
    --f-accent: var(--color-primary);
    --f-border: rgba(255, 255, 255, 0.08);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-footer {
    background-color: var(--f-bg);
    color: var(--f-text);
    padding: 80px 32px;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

/* ==============================
    12.2 Top-Section (Headline & CTA)
   ============================== */
.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 50px;
}

.footer-eyebrow {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.footer-headline {
    color:var(--f-text);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
}

.footer-cta-group {
    display: flex;
    gap: 15px;
}

.btn-modern {
    display: flex;
    flex-direction: column;
    padding: 16px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--f-accent);
    color: var(--f-text);
}

.btn-outline {
    border: 1px solid var(--f-border);
    color: var(--color-light);
    background: rgba(255, 255, 255, 0.03);
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.btn-value {
    font-size: 1.1rem;
    font-weight: 700;
}

/* ==============================
    12.3 Footer-Blocks (Sitemap, Kontakt, Formular)
   ============================== */
.footer-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 80px;
}

.footer-col-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    color: var(--f-text);
}

/* Sitemap & Listen */
.footer-nav-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 12px;
}

.footer-nav-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav-list a:hover {
    color: var(--color-light);
    padding-left: 5px;
}

/* Kontakt & Socials */
.footer-address-info {
    font-style: normal;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.footer-social-links {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}

.footer-social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--color-light);
    border: 1px solid var(--f-border);
}

.footer-social-links a:hover {
    background: var(--f-accent);
    color: #000;
    transform: scale(1.1);
}

/* Formular */
.modern-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-row {
    display: flex;
    gap: 12px;
}

.modern-form input,
.modern-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--f-border);
    border-radius: 8px;
    padding: 12px;
    color: var(--color-light);
    font-family: inherit;
    transition: var(--transition);
}

.modern-form input:focus,
.modern-form textarea:focus {
    border-color: var(--f-accent);
    background: rgba(255, 255, 255, 0.07);
    outline: none;
}

.footer-submit-btn {
    background: var(--color-light);
    color: #000;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.footer-submit-btn:hover {
    background: var(--f-accent);
    color: var(--f-text);
}

/* ==============================
    12.4 Separator
   ============================== */
.footer-divider {
    border: 0;
    border-top: 1px solid var(--f-border);
    margin-bottom: 60px;
}

/* ==============================
    12.5 Footer-Bottom (Legal & Copyright)
   ============================== */
.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--f-border);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal-nav {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.footer-legal-nav a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal-nav a:hover {
    color: var(--f-text);
}

/* ==============================
    12.6 Scroll-To-Top & Responsive
   ============================== */
.scroll-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: var(--f-accent);
    color: var(--f-text);
    border: 1px solid rgba(var(--f-text-rgb), 0.7);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    z-index: 100;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .footer-top-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-col-form {
        grid-column: span 2;
    }

    .site-footer {
        padding: 80px 16px;
    }

    .footer-headline,
    .footer-col-title {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .footer-bottom-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
    }

    .footer-col-form {
        grid-column: span 1;
    }

    .form-row {
        flex-direction: column;
    }

    .footer-cta-group {
        flex-direction: column;
        width: 100%;
    }
}