/* Logo Styles */

.header-logo-link {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-logo-image {
    width: 200px;
    height: 60px;
    display: block;
    flex-shrink: 0;
}

.header-logo-image text {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Logo Hover-Animationen für einzelne Buchstaben */

.header-logo-image .logo-letter {
    display: inline-block;
    will-change: transform, filter;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center bottom;
    pointer-events: auto;
    cursor: pointer;
}

/* Hover-Effekt auf einzelnen Buchstaben: Vergrößerung und Glow */
.header-logo-image .logo-letter:hover {
    transform: scale(1.25);
    filter: drop-shadow(0 0 12px rgba(37, 99, 235, 0.8)) drop-shadow(0 0 6px rgba(37, 99, 235, 0.6)) drop-shadow(0 0 3px rgba(37, 99, 235, 0.5));
}

/* Accessibility: Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .header-logo-image .logo-letter {
        transition: none !important;
    }
    
    .header-logo-image .logo-letter:hover {
        transform: none !important;
        filter: none !important;
    }
}

/* Responsive Design - Regel 022: 4 Breakpoints */
/* Mobile (max-width: 576px) - Logo 150px Breite laut Logo-Briefing */
@media (max-width: 576px) {
    .header-logo-image {
        width: 150px;
        height: 45px;
    }
    
    .header-logo-image text {
        font-size: 20px !important;
    }
    
    .header-logo-image text:last-of-type {
        font-size: 11px !important;
    }
}

/* Tablet/iPad (600px–768px) - Logo 180px Breite laut Logo-Briefing */
@media (min-width: 600px) and (max-width: 768px) {
    .header-logo-image {
        width: 180px;
        height: 54px;
    }
    
    .header-logo-image text {
        font-size: 24px !important;
    }
    
    .header-logo-image text:last-of-type {
        font-size: 13px !important;
    }
}

/* Kleiner Desktop/13-Zoll (1024px–1366px) - Logo 200px Breite laut Logo-Briefing */
@media (min-width: 1024px) and (max-width: 1366px) {
    .header-logo-image {
        width: 200px;
        height: 60px;
    }
}

/* Großer Desktop/Widescreen (min-width: 1440px) - Logo 200px Breite laut Logo-Briefing */
@media (min-width: 1440px) {
    .header-logo-image {
        width: 200px;
        height: 60px;
    }
}

