/* =================================================================
   ANIMATIONS - Used for decorative elements throughout the page
   ================================================================= */

/* Morphing blob shape for the "Über Uns" section background */
.blob-shape {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 8s ease-in-out infinite;
}
@keyframes morph {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

/* Animated logo seal in the welcome section */
.logo-seal {
    border-radius: 50%;
    background: white;
    box-shadow: 0 0 50px rgba(101, 163, 13, 0.15);
    animation: seal-pulse 6s ease-in-out infinite;
    border: 8px solid white;
}
@keyframes seal-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(101, 163, 13, 0.15); }
    50% { transform: scale(1.03); box-shadow: 0 0 60px rgba(101, 163, 13, 0.3); }
}

/* Text shadow for readable text on dark background images */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
}

/* Fade-in animation for cards when they become visible */
.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Floating animation for background icons (deco-elemente) */
.floating {
    animation: float 6s ease-in-out infinite;
}
.floating-delayed {
    animation: float 8s ease-in-out infinite;
    animation-delay: 2s;
}
.floating-slow {
    animation: float 12s ease-in-out infinite;
    animation-delay: 1s;
}
@keyframes float {
    0%, 100% { transform: translate(0,0) rotate(0); }
    33% { transform: translate(10px,-25px) rotate(3deg); }
    66% { transform: translate(-10px,-15px) rotate(-3deg); }
}

/* =================================================================
   LAYOUT - Horizontal scrolling sections (Projects, Actions, Testimonials)
   ================================================================= */

/* Container for horizontally scrollable sections */
.scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}
.scroll-container::-webkit-scrollbar {
    display: none;
}

/* Scroll snap items - each card in the scroll area */
.scroll-item {
    scroll-snap-align: start;
    flex-shrink: 0;
}

/* =================================================================
   GALLERY - Image gallery for Kita rooms
   ================================================================= */

/* Scale up image on hover */
.gallery-card:hover img {
    transform: scale(1.05);
}

/* Placeholder styling for images that are not yet available */
.image-placeholder {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* "In Arbeit" badge overlay on placeholder images */
.image-placeholder::after {
    content: "In Arbeit";
    position: absolute;
    top: 1.2rem;
    right: -2.5rem;
    background: #D97706;
    color: white;
    padding: 0.25rem 3rem;
    transform: rotate(45deg);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 10;
}

/* =================================================================
   FOOTPRINT ANIMATION - Decorative footprints in the Kita gallery
   ================================================================= */

/* Footprint walking animation for visual path effect */
@keyframes footprint-walk {
    0%, 100% { transform: scale(1) translateY(0); opacity: var(--tw-opacity); }
    50% { transform: scale(1.15) translateY(-3px); opacity: 0.8; }
}

/* Guided walk - fadeIn and pulse for sequential footprint appearance */
@keyframes guided-walk {
    0% { opacity: 0; transform: scale(0.8) translateY(5px); }
    10%, 30% { opacity: 0.6; transform: scale(1.1) translateY(0); }
    40%, 100% { opacity: 0.2; transform: scale(1) translateY(0); }
}
.footprint-step {
    animation: footprint-walk 3s ease-in-out infinite;
}
.footprint-step-delayed {
    animation: footprint-walk 3s ease-in-out infinite;
    animation-delay: 1.5s;
}
.guided-step {
    animation: guided-walk 8s infinite;
    opacity: 0;
}

/* =================================================================
   SCROLLBAR - Custom scrollbar for modals and content areas
   ================================================================= */

/* Custom scrollbar styling for webkit browsers (Chrome, Safari) */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #E5E7EB;
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: content-box;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #D1D5DB;
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: content-box;
}