/* ============================================================
   WERBEAUF CUSTOM FOOTER STYLES
   Fully Responsive - Optimized for all screen sizes
   ============================================================ */

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

.werbeauf-footer {
    width: 100%;
    background: #f8f8f8;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0;
}

.werbeauf-footer__inner {
    max-width: 1400px;
    width: 92%;
    margin: 0 auto;
}

/* ============================================================
   ROW 1: LOGO
   ============================================================ */

.werbeauf-footer__logo-row {
    padding: 32px 0 24px;
    text-align: center;
}

.werbeauf-footer__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #333333;
    font-weight: 700;
    font-size: 1.25rem;
}

.werbeauf-footer__logo img {
    max-height: 50px;
    width: auto;
    height: auto;
    display: block;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.werbeauf-footer__logo:hover img {
    opacity: 1;
}

.werbeauf-footer__logo img[src$=".svg"] {
    width: auto;
    height: 50px;
}

/* ============================================================
   ROW 2: CONTACT INFO
   ============================================================ */

.werbeauf-footer__contact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    padding: 0 0 24px;
}

.werbeauf-footer__contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #555555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.werbeauf-footer__contact-item:hover {
    color: #000000;
}

.werbeauf-footer__contact-item svg {
    flex-shrink: 0;
    opacity: 0.7;
}

/* ============================================================
   ROW 3: FOOTER MENU
   ============================================================ */

.werbeauf-footer__menu-row {
    padding: 24px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.werbeauf-footer__menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.werbeauf-footer__menu li {
    margin: 0;
    padding: 0;
}

.werbeauf-footer__menu li a {
    display: block;
    color: #333333;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.werbeauf-footer__menu li a:hover {
    color: #000000;
}

/* ============================================================
   ROW 4: COPYRIGHT + SOCIAL ICONS
   ============================================================ */

.werbeauf-footer__bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 20px;
}

/* Copyright */
.werbeauf-footer__copyright {
    color: #666666;
    font-size: 13px;
    font-weight: 400;
}

/* Social Icons */
.werbeauf-footer__social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.werbeauf-footer__social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    color: #333333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.werbeauf-footer__social-icon:hover {
    background: #333333;
    color: #ffffff;
}

.werbeauf-footer__social-icon svg {
    width: 16px;
    height: 16px;
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */

.werbeauf-back-to-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: #333333;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.werbeauf-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.werbeauf-back-to-top:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.werbeauf-back-to-top svg {
    width: 22px;
    height: 22px;
}

/* ============================================================
   RESPONSIVE: Large Desktop (max-width: 1400px)
   ============================================================ */

@media (max-width: 1400px) {
    .werbeauf-footer__menu {
        gap: 20px;
    }
}

/* ============================================================
   RESPONSIVE: Desktop (max-width: 1200px)
   ============================================================ */

@media (max-width: 1200px) {
    .werbeauf-footer__inner {
        width: 94%;
    }
    
    .werbeauf-footer__logo img {
        max-height: 45px;
    }
    
    .werbeauf-footer__logo img[src$=".svg"] {
        height: 45px;
    }
}

/* ============================================================
   RESPONSIVE: Tablet (max-width: 1100px)
   ============================================================ */

@media (max-width: 1100px) {
    .werbeauf-footer__inner {
        width: 100%;
        padding: 0 24px;
    }
    
    .werbeauf-footer__logo-row {
        padding: 28px 0 20px;
    }
    
    .werbeauf-footer__contact-row {
        gap: 20px;
        padding: 0 0 20px;
    }
    
    .werbeauf-footer__menu-row {
        padding: 20px 0;
    }
    
    .werbeauf-footer__bottom-row {
        padding: 16px 0;
    }
}

/* ============================================================
   RESPONSIVE: Large Mobile (max-width: 900px)
   ============================================================ */

@media (max-width: 900px) {
    .werbeauf-footer__inner {
        padding: 0 20px;
    }
    
    .werbeauf-footer__logo img {
        max-height: 42px;
    }
    
    .werbeauf-footer__logo img[src$=".svg"] {
        height: 42px;
    }
    
    .werbeauf-footer__contact-item {
        font-size: 13px;
    }
    
    .werbeauf-footer__menu {
        gap: 18px;
    }
    
    .werbeauf-footer__menu li a {
        font-size: 13px;
    }
    
    .werbeauf-footer__copyright {
        font-size: 12px;
    }
    
    .werbeauf-footer__social-icon {
        width: 34px;
        height: 34px;
    }
    
    .werbeauf-footer__social-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .werbeauf-back-to-top {
        width: 44px;
        height: 44px;
        bottom: 90px;
        right: 20px;
    }
    
    .werbeauf-back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* ============================================================
   RESPONSIVE: Mobile (max-width: 767px)
   ============================================================ */

@media (max-width: 767px) {
    .werbeauf-footer__inner {
        padding: 0 16px;
    }
    
    .werbeauf-footer__logo-row {
        padding: 24px 0 18px;
    }
    
    .werbeauf-footer__logo img {
        max-height: 38px;
    }
    
    .werbeauf-footer__logo img[src$=".svg"] {
        height: 38px;
    }
    
    .werbeauf-footer__contact-row {
        flex-direction: column;
        gap: 12px;
        padding: 0 0 18px;
    }
    
    .werbeauf-footer__contact-item {
        font-size: 14px;
    }
    
    .werbeauf-footer__menu-row {
        padding: 24px 0;
    }
    
    /* Switch to vertical layout */
    .werbeauf-footer__menu {
        flex-direction: column;
        gap: 6px;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .werbeauf-footer__menu li {
        width: 100%;
        text-align: center;
    }
    
    .werbeauf-footer__menu li a {
        font-size: 16px;
        padding: 8px 0;
    }
    
    .werbeauf-footer__bottom-row {
        flex-direction: column;
        gap: 14px;
        padding: 16px 0;
        text-align: center;
    }
    
    .werbeauf-footer__copyright {
        order: 2;
        font-size: 11px;
    }
    
    .werbeauf-footer__social {
        order: 1;
        gap: 10px;
    }
    
    .werbeauf-footer__social-icon {
        width: 38px;
        height: 38px;
    }
    
    .werbeauf-footer__social-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .werbeauf-back-to-top {
        width: 42px;
        height: 42px;
        bottom: 80px;
        right: 16px;
    }
    
    .werbeauf-back-to-top svg {
        width: 18px;
        height: 18px;
    }
}

/* ============================================================
   RESPONSIVE: Small Mobile (max-width: 480px)
   ============================================================ */

@media (max-width: 480px) {
    .werbeauf-footer__inner {
        padding: 0 12px;
    }
    
    .werbeauf-footer__logo-row {
        padding: 20px 0 16px;
    }
    
    .werbeauf-footer__logo img {
        max-height: 34px;
    }
    
    .werbeauf-footer__logo img[src$=".svg"] {
        height: 34px;
    }
    
    .werbeauf-footer__contact-row {
        gap: 10px;
        padding: 0 0 16px;
    }
    
    .werbeauf-footer__contact-item {
        font-size: 13px;
    }
    
    .werbeauf-footer__menu-row {
        padding: 20px 0;
    }
    
    .werbeauf-footer__menu {
        max-width: 280px;
    }
    
    .werbeauf-footer__menu li a {
        font-size: 15px;
        padding: 7px 0;
    }
    
    .werbeauf-footer__bottom-row {
        padding: 14px 0;
        gap: 12px;
    }
    
    .werbeauf-footer__copyright {
        font-size: 10px;
    }
    
    .werbeauf-footer__social-icon {
        width: 34px;
        height: 34px;
    }
    
    .werbeauf-footer__social-icon svg {
        width: 14px;
        height: 14px;
    }
}

/* ============================================================
   RESPONSIVE: Extra Small Mobile (max-width: 360px)
   ============================================================ */

@media (max-width: 360px) {
    .werbeauf-footer__inner {
        padding: 0 10px;
    }
    
    .werbeauf-footer__logo img {
        max-height: 30px;
    }
    
    .werbeauf-footer__logo img[src$=".svg"] {
        height: 30px;
    }
    
    .werbeauf-footer__contact-item {
        font-size: 12px;
    }
    
    .werbeauf-footer__menu {
        max-width: 260px;
    }
    
    .werbeauf-footer__menu li a {
        font-size: 14px;
    }
    
    .werbeauf-footer__copyright {
        font-size: 9px;
    }
    
    .werbeauf-footer__social-icon {
        width: 30px;
        height: 30px;
    }
    
    .werbeauf-footer__social-icon svg {
        width: 12px;
        height: 12px;
    }
}
