/******************************************************************************
 *
 * Kuczinski FineArt 2026
 * Datei   : footer.css
 * Aufgabe : Footer Layout
 * Version : 1.0
 *
 * Änderungen:
 *     260809 Dreiteiliger Footer
 *     260914 Angleichen an 102
 ******************************************************************************/


/* ==========================================================
    FOOTER

    Aufgabe:
        Grundfläche des späteren dunklen Footerbereichs.

    Noch NICHT enthalten:
        Background-Transition in WORK s. FOOTER TRANSITION
        Flying Images
========================================================== */

/* ==========================================================
    FOOTER TRANSITION

    Aufgabe:
        Übergang vom hellen Seitenbereich
        in den schwarzen Footer.

    Später:
        Startbereich für Flying Images.
========================================================== */

.footer-transition
{
    position: relative;
    overflow: hidden;

    width:
        100%;

    height:
        768px;

    margin:
        0;

    /* Prozentwerte beziehen sich auf die Height des Bereichs! */
    background:
        linear-gradient(
            to bottom,
            var(--footer-transition-start) 0%,
            var(--footer-transition-end) 90%
        );

}


.site-footer
{
    width: 100%;

    margin-top:
        0;

    padding:
        24px 0;

    background:
        #111111;

    border-top:
        1px solid var(--color-border);

    box-sizing:
        border-box;
}

/* ==========================================================
    FOOTER FLYING IMAGE

    TEST 01:
        ein Bild
        feste Parameter

    Start:
        oberhalb der Transition

    Ende:
        unterer Bereich der Transition

    Bewegung:
        Fall
        seitlicher Drift
        leichtes Taumeln
        Endwinkel ca. 80 Grad
========================================================== */

.footer-flying-image
{
    position: absolute;

    left: 48%;
    top: 70px;

    width: 260px;
    height: auto;

    display: block;

    z-index: 5;

    opacity: 0;

    transform-origin:
        center center;

    pointer-events:
        none;

    will-change:
        transform,
        opacity;
}


/* ==========================================================
    FLYING START

    Wird durch footer_flying.js gesetzt.
========================================================== */



/* ==========================================================
    FOOTER GRID

    Desktop:
        3 horizontale Bereiche

    Mobil:
        Bereiche untereinander
========================================================== */

.footer-grid
{
    display: grid;

    /* BLEIBT 4 spaltig - 2 Zeilem mit minmax(0, 1.35fr)  260910 */
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(0, 1.35fr)
        minmax(0, .65fr)
        minmax(0, .90fr);

    gap:
        20px;

    width:
        calc(100% - 48px);

    max-width:
        1440px;

    margin:
        0 auto;
}

/* ==========================================================
    FOOTER BOX
========================================================== */

.footer-box
{
    min-width: 0;

    padding:
        20px;

    box-sizing:
        border-box;

    border-left:
        1px solid var(--color-border);

    color:
        #eeeeee;
}


.footer-box h3
{
    margin:
        0 0 10px 0;

    font-family:
        Helvetica,
        Arial,
        sans-serif;

    font-size:
        14px;

    font-weight:
        400;

    letter-spacing:
        .12em;

    color:
        #aaaaaa;
}


.footer-box p
{
    margin:
        4px 0;

    color:
        #eeeeee;
}


/* ==========================================================
    SWISS POSTER BOX

    Aufgabe:
        Typografischer Bereich für
        Poster- / Kalenderinformation.
========================================================== */

.footer-poster
{
    font-family:
        Helvetica,
        Arial,
        sans-serif;
}


.footer-poster-label
{
    margin-bottom:
        12px;

    font-size:
        12px;

    font-weight:
        400;

    letter-spacing:
        .16em;

    color:
        #999999;
}


.footer-poster-title
{
    margin-bottom:
        24px;

    /* war 32px 4vw 64px */        
    font-size:
        clamp(
            32px,
            4vw,
            56px
        );

    font-weight:
        700;

    line-height:
        .88;

    letter-spacing:
        -.04em;

    color:
        #f3f3f3;
}


.footer-poster p
{
    /* bleibt 200 260910 */
    max-width:
        280px;

    font-size:
        15px;

    line-height:
        1.45;
}

.footer-kalender p
{
    /* bleibt 280 260910 */
    max-width:
        280px;

    font-size:
        15px;

    line-height:
        1.45;
}

/* neu ab 260914 */
.footer-kalender-copyright
{
    font-size:
        15px;

    line-height:
        1.45;
}


/* ==========================================================
    LINKS
========================================================== */

.footer-links
{
    display: flex;
    flex-direction: column;

    align-items:
        flex-start;
}


.footer-links a
{
    display: inline-block;

    margin:
        0 0 4px 0;

    color:
        #eeeeee;

    text-decoration:
        none;
}


.footer-links a
{
    color:
        #99EEFF;
}

.footer-links a:hover
{
    color:
        #FF6633;
}

.footer-poster a, .footer-kalender a
{
    color:
        #FFFF00;
}

.footer-poster a:hover, .footer-kalender a:hover
{
    color:
        #33FFaa;
}    

/* ==========================================================
    CONTACT
========================================================== */

.footer-contact
{
    text-align:
        left;
}


/* ==========================================================
    FOOTER TABLET / SMALL DESKTOP

    Aufgabe:
        Zwischen Desktop und Smartphone:
        3 Spalten oben
        Contact darunter über volle Breite.
        260910 1180px > 1000        
========================================================== */

@media (max-width: 1000px)
{
    .footer-grid
    {
        /* war 3 260910, 260914 optimiert zu 2 */
        grid-template-columns:
            minmax(0, 2.20fr)
            minmax(0, 1.00fr);

        gap:
            12px;

        width:
            calc(100% - 32px);
    }

    .footer-contact
    {
        grid-column:
            1 / -1;
    }

    .footer-box
    {
        padding:
            12px;
    }
}

/* ==========================================================
    FOOTER TABLET SMALL

    Aufgabe:
        Zwischen 600px und 800px:
        klassisches 2 x 2 Grid.
========================================================== */

@media (max-width: 770px) and (min-width: 601px)
{
    .footer-grid
    {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap:
            12px;
    }

    .footer-contact
    {
        grid-column:
            auto;
    }
}

@media (max-width: 600px)
{
    .site-footer
    {
        padding:
            32px 0;
    }


    .footer-grid
    {
        grid-template-columns:
            1fr;

        width:
            calc(100% - 24px);

        gap:
            12px;
    }


    .footer-box
    {
        width:
            100%;

        padding:
            12px;
    }

    .footer-poster-title
    {
        font-size:
            clamp(
                32px,
                12vw,
                52px
            );
    }

    .footer-flying-image
    {
        width:
            198px !important;
    }
}

