/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HEADER HOVER STATES
   ============================================ */

.header {
    transition: all 0.3s ease;
}

.logo-wrapper {
    transition: transform 0.3s ease;
}

.navigation-container nav ul li a {
    position: relative;
    transition: color 0.3s ease, font-weight 0.3s ease;
    display: inline-block;
    text-decoration: none !important;
}


.navigation-container nav ul li a:hover {
    font-weight: 800;
}

/* ============================================
   HERO SECTION ANIMATIONS
   ============================================ */

.hero-section h1 {
    animation: fadeIn 1s ease 0.3s both;
}

.hero-section picture img {
    animation: fadeIn 0.8s ease both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.home-about-divider-wrapper svg {
    transition: transform 0.4s ease;
    width: 100%;
    height: auto;
    display: block;
}

.home-about-divider-wrapper:hover svg {
    transform: rotate(180deg) scale(1.1);
}

.home-about-numbers-wrapper {
    transition: transform 0.3s ease;
}

.home-about-numbers-wrapper:hover {
    transform: translateY(-5px);
}

.home-about-numbers-wrapper .home-about-number {
    transition: color 0.3s ease;
}

.home-about-numbers-wrapper:hover .home-about-number {
    color: #0066b3;
}

/* ============================================
   BUSINESS SECTION
   ============================================ */

.business-icon-wrapper {
    transition: transform 0.3s ease;
}

@media screen and (min-width: 748px) {
    .business-icon-wrapper:nth-child(1).animate-on-scroll { transition-delay: 0.1s; }
.business-icon-wrapper:nth-child(2).animate-on-scroll { transition-delay: 0.2s; }
.business-icon-wrapper:nth-child(3).animate-on-scroll { transition-delay: 0.3s; }
.business-icon-wrapper:nth-child(4).animate-on-scroll { transition-delay: 0.4s; }
.business-icon-wrapper:nth-child(5).animate-on-scroll { transition-delay: 0.5s; }
.business-icon-wrapper:nth-child(6).animate-on-scroll { transition-delay: 0.6s; }
}



.business-icon-wrapper svg {
    transition: all 0.3s ease;
    width: 100%;
    height: auto;
    display: block;
}

.business-icon-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
}

.business-icon-wrapper:hover img {
    -webkit-filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6)) 
            drop-shadow(0 0 12px rgba(255, 255, 255, 0.3));
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6)) 
            drop-shadow(0 0 12px rgba(255, 255, 255, 0.3));
}

.business-icon-wrapper:hover span.business-icon {
    -webkit-filter: none;
    filter: none;
}

.business-icon-title {
    transition: all 0.3s ease;
}

.business-icon-wrapper:hover .business-icon-title {
    color: #e0e0e0;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.05);
        -webkit-filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6)) 
            drop-shadow(0 0 12px rgba(255, 255, 255, 0.3));
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6)) 
            drop-shadow(0 0 12px rgba(255, 255, 255, 0.3));
}


/* ============================================
   GEOGRAPHICAL SCOPE
   ============================================ */

.geograhical-scope-image-wrapper img {
    transition: transform 0.5s ease, filter 0.5s ease;
}

.geograhical-scope-image-wrapper:hover img {
    transform: scale(1.02);
    -webkit-filter: brightness(1.05);
    filter: brightness(1.05);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.service-wrapper {
    transition: transform 0.3s ease;
}

.service-image-wrapper {
    overflow: hidden;
}

.service-image-wrapper img {
    transition: transform 0.5s ease;
    display: block;
    width: 100%;
    height: auto;
}

.service-wrapper:hover .service-image-wrapper img {
    transform: scale(1.1);
}

.service-wrapper h4 {
    transition: color 0.3s ease;
}

.service-wrapper:hover h4 {
    color: #e0e0e0;
}

.service-cta-wrapper a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease, color 0.3s ease;
}

.service-cta-wrapper a:hover {
    gap: 12px;
    color: #e0e0e0;
}

.service-cta-wrapper a span:last-child {
    transition: transform 0.3s ease;
}

.service-cta-wrapper a:hover span:last-child {
    transform: translateX(4px);
}

/* ============================================
   FOOTER
   ============================================ */

.footer-links ul li a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease, font-weight 0.3s ease;
}

.footer-links ul li a:hover, .footer-links ul li a.active {
    text-decoration: underline !important;
}

/* ============================================
   IMPRESSUM PAGE
   ============================================ */

.impressum-info-container a {
    transition: color 0.3s ease;
}

.impressum-info-container a:hover {
    color: #0066b3;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}