/* Footer Container - Basis Mobile */
.site-footer {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: calc(var(--para-offset) + var(--block-margin)) var(--block-margin) var(--block-margin);
    text-align: right; /* Logo links */
    display: flex;
    justify-content: center;
    margin-top: calc(-1 * var(--para-offset) - 5px);
    clip-path: polygon(
        0 var(--para-offset),
        100% 0,
        100% 100%,
        0 100%
    );
}

/* Innerer Container für Footer Inhalt */
.footer-container {
    display: flex;
    flex-direction: column-reverse; /* Mobile: vertikal */
    align-items: flex-end;
    justify-content: space-between; /* Logo oben, rest unten */
    gap: var(--block-margin);
    margin: 0 auto;
    height: 100%;
    box-sizing: border-box;
    max-width: var(--content-max-width);
    width: 100%;
}

.footer-right{
    gap: var(--block-margin);
    display: flex;
    flex-direction: column-reverse;

hyphens: auto;




}

/* Logo */
.footer-logo {
    display: flex;
    align-items: flex-end;
    justify-content: end;
    height: 100px;
    width:auto;
}

/* Logo-Größe */
.footer-logo a {
    width: 100%;
    height: 100%;
}

/* Logo-Größe */
.footer-logo img {
    width: auto;
    height: 100%;
    object-fit: cover;
}


/* Footer Navigation & Socials - Mobile */
.footer-nav ul,
.socials-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column; /* vertikal auf Mobile */
    align-items: flex-end; /* rechtsbündig */
    gap: 10px;
    min-width: 120px;
}

.footer-container .menu-item,
.footer-container a,
.footer-logo a,
.footer-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.footer-container .menu-item:hover,
.footer-container a:hover,
.footer-logo a:hover,
.footer-info a:hover {
    opacity: 0.8;
    transform: rotate(calc(-1*var(--rotation)));
}

/* Footer Info */
.footer-info {
    color: var(--primary-color);
    text-align: right; /* rechtsbündig */
}

/* Desktop Styles */
@media (min-width: 768px) {
    .site-footer{
        padding: calc(var(--para-offset)) var(--block-margin) var(--block-margin);
    }
    
    .footer-container {
        flex-direction: row; /* Horizontal auf Desktop */
        justify-content: space-between; /* Logo links, rest rechts */
    }

    .footer-right{
        flex-direction: row;
        align-items: flex-end;
    }


    .footer-nav ul,
    .socials-nav ul {
        flex-direction: column; /* horizontal auf Desktop */
        align-items: flex-end;
    }
}


