/*
Theme Name: Textilveredelung
Description: Modernes WordPress-Theme für Textilveredelungsunternehmen
Author: Custom Development
Version: 1.0
Text Domain: textilveredelung
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

/* Reset und Basis-Styles */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    line-height: 1.6; 
    color: #333; 
    background-color: #fff; 
    font-size: 16px;
    font-weight: 400;
    overflow-x: hidden;
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* Header mit Glassmorphism-Effekt */
.site-header { 
    background: #f1f0ec; 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #333; 
    padding: 2rem 0; 
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.header-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
}

/* Hamburger Menu Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger Animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive Logo Styles */
.site-branding {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.custom-logo-link {
    display: block;
    transition: all 0.3s ease;
}

.custom-logo-link:hover {
    transform: scale(1.05);
}

.custom-logo {
    max-height: 80px;
    width: auto;
    height: auto;
    transition: all 0.3s ease;
}

.site-title { 
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 2rem; 
    font-weight: 700; 
    color: #333; 
    text-decoration: none; 
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.site-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #00d4ff);
    transition: left 0.5s ease;
}

.site-title:hover::before {
    left: 0;
}

.site-title:hover { 
    color: #007bff; 
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Navigation - Einfach und sauber */
.main-navigation { 
    display: flex; 
    gap: 3rem; 
    align-items: center;
}

.main-navigation ul {
    display: flex;
    gap: 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin: 0;
    padding: 0;
}

.main-navigation a { 
    font-family: 'Inter', sans-serif;
    color: #333; 
    text-decoration: none; 
    font-weight: 500; 
    font-size: 1.1rem;
    padding: 0.5rem 0; 
    transition: color 0.3s ease;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #007bff;
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

.main-navigation a:hover { 
    color: #007bff; 
}

.main-navigation .current-menu-item a,
.main-navigation .current_page_item a {
    color: #007bff;
}

.main-navigation .current-menu-item a::after,
.main-navigation .current_page_item a::after {
    width: 100%;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    /* Show hamburger button on mobile */
    .mobile-menu-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Ensure header content is properly structured for mobile */
    .header-content {
        position: relative;
        z-index: 1002;
    }
    
    /* Hide navigation by default on mobile */
    .main-navigation { 
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(241, 240, 236, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        z-index: 1000;
    }
    
    /* Show navigation when active */
    .main-navigation.active {
        left: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        text-align: center;
        padding: 2rem;
    }
    
    .main-navigation li {
        margin: 0;
        width: 100%;
    }
    
    .main-navigation a {
        text-align: center;
        padding: 1.5rem 2rem;
        width: 100%;
        font-size: 1.5rem;
        font-weight: 600;
        color: #333;
        text-decoration: none;
        border-radius: 10px;
        transition: all 0.3s ease;
        display: block;
    }
    
    .main-navigation a:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .main-navigation a::after {
        display: none;
    }
}

/* Hero Section mit Parallax und animierten Elementen */
.hero-section { 
    background: linear-gradient(135deg, #007bff 0%, #0056b3 50%, #00d4ff 100%); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white; 
    padding: 10rem 0; 
    text-align: center; 
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Overlay für das Hintergrundbild - macht es leicht sichtbar */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.85) 0%, rgba(0, 86, 179, 0.85) 50%, rgba(0, 212, 255, 0.85) 100%);
    z-index: 1;
}

/* Zusätzliches Pattern-Overlay für mehr Tiefe */
.hero-section .pattern-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.hero-content { 
    position: relative;
    z-index: 3;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 { 
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 4.5rem; 
    font-weight: 800; 
    margin-bottom: 1.5rem; 
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
    background: linear-gradient(45deg, #fff, #f0f8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
    /* Ensure only one instance is visible */
    position: relative;
    z-index: 10;
}

/* Hide any potential duplicate content */
.hero-content h1::before,
.hero-content h1::after {
    display: none !important;
    content: none !important;
}

/* Ensure no text duplication */
#hero-title {
    display: block;
    position: relative;
}

#hero-title span {
    display: none !important;
}


@keyframes glow {
    from { filter: drop-shadow(0 0 20px rgba(255,255,255,0.5)); }
    to { filter: drop-shadow(0 0 30px rgba(255,255,255,0.8)); }
}

.hero-content p { 
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem; 
    margin-bottom: 3rem; 
    opacity: 0.95; 
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.8;
}

.cta-button { 
    font-family: 'Inter', sans-serif;
    display: inline-block; 
    background: linear-gradient(45deg, #fff, #f8f9fa);
    color: #007bff; 
    padding: 1.5rem 3rem; 
    text-decoration: none; 
    border-radius: 50px; 
    font-weight: 700; 
    font-size: 1.2rem; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase; 
    letter-spacing: 2px; 
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #007bff, #00d4ff);
    transition: left 0.4s ease;
    z-index: -1;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover { 
    color: white;
    transform: translateY(-5px) scale(1.05); 
    box-shadow: 0 15px 35px rgba(0,0,0,0.3); 
}

/* Services Section mit 3D-Karten */
.services-section { 
    padding: 8rem 0; 
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent);
    z-index: 1;
}

.section-title { 
    font-family: 'Poppins', 'Inter', sans-serif;
    text-align: center; 
    font-size: 3.5rem; 
    font-weight: 800; 
    margin-bottom: 5rem; 
    color: #333; 
    position: relative;
    letter-spacing: -0.02em;
    z-index: 2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #007bff, #00d4ff);
    border-radius: 3px;
    animation: expand 2s ease-out;
}

@keyframes expand {
    from { width: 0; }
    to { width: 100px; }
}

.services-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); 
    gap: 3rem; 
    margin-top: 4rem; 
    z-index: 2;
    position: relative;
}

.service-card { 
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    padding: 3.5rem; 
    border-radius: 20px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); 
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #007bff, #00d4ff, #007bff);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.service-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0,123,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.service-card:hover::after {
    width: 300px;
    height: 300px;
}

.service-card:hover { 
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg); 
    box-shadow: 0 25px 50px rgba(0,0,0,0.2); 
    border-color: rgba(0,123,255,0.3);
}

.service-card h3 { 
    font-family: 'Poppins', 'Inter', sans-serif;
    color: #333; 
    font-size: 1.8rem; 
    font-weight: 700; 
    margin-bottom: 2rem; 
    position: relative;
    letter-spacing: -0.01em;
    transform: translateZ(20px);
}

.service-card p { 
    font-family: 'Inter', sans-serif;
    color: #666; 
    line-height: 1.9; 
    font-size: 1.15rem;
    font-weight: 400;
    transform: translateZ(10px);
}

/* About Section mit Parallax */
.about-section { 
    padding: 8rem 0; 
    background: white; 
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23f0f0f0"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100px); }
}

.about-content { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 6rem; 
    align-items: center; 
    position: relative;
    z-index: 2;
}

.about-text h2 { 
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 3.5rem; 
    font-weight: 800; 
    margin-bottom: 2.5rem; 
    color: #333; 
    letter-spacing: -0.02em;
    background: linear-gradient(45deg, #333, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p { 
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem; 
    line-height: 1.9; 
    color: #666; 
    margin-bottom: 2.5rem; 
    font-weight: 400;
}

.btn { 
    font-family: 'Inter', sans-serif;
    display: inline-block; 
    padding: 1.2rem 2.5rem; 
    background: linear-gradient(45deg, #007bff, #00d4ff);
    color: white; 
    text-decoration: none; 
    border-radius: 50px; 
    font-weight: 700; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    box-shadow: 0 8px 25px rgba(0,123,255,0.4);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #00d4ff, #007bff);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover { 
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,123,255,0.5);
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: all 0.5s ease;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.about-image img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

/* Neue About Images und Social Media Badges */
.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.about-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: all 0.5s ease;
}

.about-image-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.about-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.5s ease;
}

.about-image-container:hover .about-image img {
    transform: scale(1.05);
}

/* Social Media Badges */
.social-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.social-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.social-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.instagram-badge {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.instagram-badge:hover {
    background: linear-gradient(45deg, #e6683c 0%, #dc2743 25%, #cc2366 50%, #bc1888 75%, #f09433 100%);
}

.whatsapp-badge {
    background: #25D366;
    color: white;
}

.whatsapp-badge:hover {
    background: #128C7E;
}

.social-badge svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.social-badge:hover svg {
    transform: scale(1.2);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.contact-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #007bff, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-content p {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.contact-item h3 {
    font-size: 1.8rem;
    color: #007bff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-item p {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
    line-height: 1.5;
}

/* Gallery Section */
.gallery-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 6rem 0;
    position: relative;
}

.gallery-content {
    text-align: center;
    margin-bottom: 4rem;
}

.gallery-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #007bff, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gallery-content p {
    font-size: 1.3rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: #fff;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-content h2 {
        font-size: 2.8rem;
    }
    
    .gallery-content p {
        font-size: 1.1rem;
    }
    
    .gallery-overlay {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0,0,0,0.9));
    }
    
    .gallery-overlay h4 {
        font-size: 1.1rem;
    }
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-caption {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

/* Responsive Lightbox */
@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* Footer mit modernem Design */
.site-footer { 
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); 
    color: white; 
    padding: 4rem 0; 
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #00d4ff, #007bff);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.footer-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 2rem; 
    position: relative;
    z-index: 2;
}

.footer-links { 
    display: flex; 
    gap: 2rem; 
}

.footer-links a { 
    font-family: 'Inter', sans-serif;
    color: white; 
    text-decoration: none; 
    transition: all 0.3s ease; 
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.footer-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #00d4ff);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-links a:hover { 
    color: #00d4ff; 
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .custom-logo {
        max-height: 75px;
    }
    
    .site-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .custom-logo {
        max-height: 70px;
    }
    
    .site-title {
        font-size: 1.6rem;
    }
    
    .main-navigation {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container { 
        padding: 0 15px; 
    }
    
    .header-content { 
        flex-direction: row; 
        justify-content: space-between;
        align-items: center;
        gap: 1rem; 
    }
    
    /* Ensure mobile menu toggle is visible */
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .custom-logo {
        max-height: 65px;
    }
    
    .site-title {
        font-size: 1.4rem;
    }
    
    /* Mobile Hero Section Optimierungen */
    .hero-section {
        padding: 6rem 0;
        min-height: 80vh;
        background-position: center center;
        background-size: cover;
    }
    
    .hero-section::before {
        background: linear-gradient(135deg, rgba(0, 123, 255, 0.6) 0%, rgba(0, 86, 179, 0.6) 50%, rgba(0, 212, 255, 0.6) 100%);
    }
    
    .hero-content h1 { 
        font-size: 3rem; 
        margin-bottom: 1rem;
    }
    
    .hero-content p { 
        font-size: 1.2rem; 
        margin-bottom: 2rem;
    }
    
    .section-title { 
        font-size: 2.8rem; 
    }
    
    .about-content { 
        grid-template-columns: 1fr; 
        gap: 3rem; 
    }
    
    .about-images {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .social-badges {
        top: 10px;
        right: 10px;
        gap: 8px;
    }
    
    .social-badge {
        width: 35px;
        height: 35px;
    }
    
    .social-badge svg {
        width: 18px;
        height: 18px;
    }
    
    .contact-info { 
        grid-template-columns: 1fr; 
    }
    
    .footer-content { 
        flex-direction: column; 
        text-align: center; 
    }
    
    .footer-links { 
        justify-content: center; 
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .custom-logo {
        max-height: 60px;
    }
    
    .site-title {
        font-size: 1.2rem;
    }
    
    /* Kleine Mobile Hero Optimierungen */
    .hero-section {
        padding: 5rem 0;
        min-height: 70vh;
    }
    
    .hero-section::before {
        background: linear-gradient(135deg, rgba(0, 123, 255, 0.7) 0%, rgba(0, 86, 179, 0.7) 50%, rgba(0, 212, 255, 0.7) 100%);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .cta-button {
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 2.5rem;
    }
    
    .service-card h3 {
        font-size: 1.5rem;
    }
    
    .service-card p {
        font-size: 1rem;
    }
    
    .contact-item {
        padding: 2rem;
    }
    
    .contact-item h3 {
        font-size: 1.4rem;
    }
    
    .contact-item p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .custom-logo {
        max-height: 55px;
    }
    
    .site-title {
        font-size: 1.1rem;
    }
    
    /* Sehr kleine Mobile Hero Optimierungen */
    .hero-section {
        padding: 4rem 0;
        min-height: 60vh;
    }
    
    .hero-section::before {
        background: linear-gradient(135deg, rgba(0, 123, 255, 0.8) 0%, rgba(0, 86, 179, 0.8) 50%, rgba(0, 212, 255, 0.8) 100%);
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.6rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-text h2 {
        font-size: 2.5rem;
    }
    
    .about-text p {
        font-size: 1.1rem;
    }
    
    .contact-content h2 {
        font-size: 2.5rem;
    }
    
    .contact-content p {
        font-size: 1.1rem;
    }
    
    .about-images {
        gap: 0.8rem;
        margin-top: 0.8rem;
    }
    
    .social-badges {
        top: 6px;
        right: 6px;
        gap: 4px;
    }
    
    .social-badge {
        width: 28px;
        height: 28px;
    }
    
    .social-badge svg {
        width: 14px;
        height: 14px;
    }
}

/* WordPress-spezifische Styles */
.wp-block-image { 
    margin: 2rem 0; 
}

.entry-content { 
    max-width: 800px; 
    margin: 0 auto; 
    padding: 2rem 0; 
}

/* Page Header */
.page-header { 
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); 
    color: white; 
    padding: 6rem 0; 
    margin-bottom: 2rem; 
    text-align: center; 
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.page-title { 
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 3.5rem; 
    font-weight: 800; 
    margin: 0; 
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
}

/* Featured Images */
.featured-image { 
    margin: 2rem 0; 
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transition: all 0.5s ease;
}

.featured-image:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

/* Posts Grid */
.posts-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); 
    gap: 3rem; 
    margin: 2rem 0; 
}

.post-card { 
    background: white; 
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); 
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,123,255,0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.post-card:hover::before {
    left: 100%;
}

.post-card:hover { 
    transform: translateY(-10px) scale(1.02); 
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.post-thumbnail img { 
    width: 100%; 
    height: 250px; 
    object-fit: cover; 
    transition: all 0.5s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.1);
}

.post-content { 
    padding: 2.5rem; 
    position: relative;
    z-index: 2;
}

.entry-title a { 
    font-family: 'Poppins', 'Inter', sans-serif;
    color: #333; 
    text-decoration: none; 
    font-weight: 700; 
    font-size: 1.4rem;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.entry-title a:hover { 
    color: #007bff; 
}

.entry-meta { 
    font-family: 'Inter', sans-serif;
    color: #666; 
    font-size: 0.9rem; 
    margin: 1rem 0; 
    font-weight: 400;
}

.read-more { 
    font-family: 'Inter', sans-serif;
    color: #007bff; 
    text-decoration: none; 
    font-weight: 600; 
    transition: all 0.3s ease;
}

.read-more:hover { 
    color: #0056b3;
    transform: translateX(5px);
}

/* Search Results */
.search-result { 
    background: white; 
    padding: 3rem; 
    margin-bottom: 2rem; 
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
    transition: all 0.3s ease;
}

.search-result:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* 404 Error Page */
.error-404 { 
    text-align: center; 
    padding: 6rem 0; 
}

.error-content { 
    max-width: 700px; 
    margin: 0 auto; 
}

.error-message h2 { 
    font-family: 'Poppins', 'Inter', sans-serif;
    color: #333; 
    font-size: 3rem; 
    margin-bottom: 2rem; 
    letter-spacing: -0.01em;
    background: linear-gradient(45deg, #333, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-actions { 
    margin: 4rem 0; 
}

.search-section { 
    margin: 3rem 0; 
}

.helpful-links ul { 
    list-style: none; 
    margin-top: 2rem; 
}

.helpful-links li { 
    margin: 1rem 0; 
}

.helpful-links a { 
    font-family: 'Inter', sans-serif;
    color: #007bff; 
    text-decoration: none; 
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.helpful-links a:hover { 
    background: rgba(0,123,255,0.1);
    transform: translateX(5px);
}

/* Post Navigation */
.post-navigation { 
    margin: 4rem 0; 
    padding: 3rem 0; 
    border-top: 2px solid #eee; 
    border-bottom: 2px solid #eee; 
}

.nav-links { 
    display: flex; 
    justify-content: space-between; 
}

.nav-previous, .nav-next { 
    flex: 1; 
}

.nav-next { 
    text-align: right; 
}

/* Pagination */
.navigation.pagination { 
    margin: 4rem 0; 
    text-align: center; 
}

.page-numbers { 
    font-family: 'Inter', sans-serif;
    display: inline-block; 
    padding: 0.8rem 1.5rem; 
    margin: 0 0.3rem; 
    background: #f8f9fa; 
    color: #333; 
    text-decoration: none; 
    border-radius: 25px; 
    transition: all 0.3s ease; 
    font-weight: 500;
    border: 2px solid transparent;
}

.page-numbers.current { 
    background: linear-gradient(45deg, #007bff, #00d4ff);
    color: white; 
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

.page-numbers:hover { 
    background: linear-gradient(45deg, #007bff, #00d4ff);
    color: white; 
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,123,255,0.3);
}

/* Entry Footer */
.entry-footer { 
    margin-top: 3rem; 
    padding-top: 2rem; 
    border-top: 2px solid #eee; 
}

.tags-links { 
    margin-bottom: 1.5rem; 
}

.tags-links a { 
    font-family: 'Inter', sans-serif;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    color: #666; 
    padding: 0.5rem 1rem; 
    border-radius: 20px; 
    text-decoration: none; 
    font-size: 0.9rem; 
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0.2rem;
    display: inline-block;
}

.tags-links a:hover { 
    background: linear-gradient(45deg, #007bff, #00d4ff);
    color: white; 
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

/* No Posts/Results */
.no-posts, .no-results { 
    text-align: center; 
    padding: 6rem 0; 
}

.no-posts h2, .no-results h2 { 
    font-family: 'Poppins', 'Inter', sans-serif;
    color: #333; 
    font-size: 2.5rem; 
    margin-bottom: 2rem; 
    letter-spacing: -0.01em;
    background: linear-gradient(45deg, #333, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Archive Description */
.archive-description { 
    font-family: 'Inter', sans-serif;
    color: #666; 
    margin-top: 2rem; 
    font-style: italic; 
    font-weight: 400;
    padding: 2rem;
    background: rgba(248,249,250,0.8);
    border-radius: 15px;
    border-left: 4px solid #007bff;
}

/* Suggestions */
.suggestions { 
    margin: 3rem 0; 
    text-align: left; 
}

.suggestions h3 { 
    font-family: 'Poppins', 'Inter', sans-serif;
    color: #333; 
    margin-bottom: 1.5rem; 
    letter-spacing: -0.01em;
}

.suggestions ul { 
    list-style: none; 
}

.suggestions li { 
    margin: 1rem 0; 
}

.suggestions a { 
    font-family: 'Inter', sans-serif;
    color: #007bff; 
    text-decoration: none; 
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.suggestions a:hover { 
    background: rgba(0,123,255,0.1);
    transform: translateX(5px);
}

/* Comments */
.comments-area { 
    margin-top: 4rem; 
}

.comment-list { 
    list-style: none; 
}

.comment { 
    margin-bottom: 2.5rem; 
    padding: 2rem; 
    background: rgba(248,249,250,0.8);
    border-radius: 15px; 
    border-left: 4px solid #007bff;
    transition: all 0.3s ease;
}

.comment:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.comment-author { 
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 700; 
    color: #333; 
}

.comment-meta { 
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem; 
    color: #666; 
    margin-bottom: 1.5rem; 
    font-weight: 400;
}

.comment-form { 
    margin-top: 3rem; 
}

.comment-form input, .comment-form textarea { 
    font-family: 'Inter', sans-serif;
    width: 100%; 
    padding: 1rem; 
    border: 2px solid #e9ecef; 
    border-radius: 10px; 
    margin-bottom: 1.5rem; 
    font-weight: 400;
    transition: all 0.3s ease;
}

.comment-form input:focus, .comment-form textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.comment-form input[type="submit"] { 
    font-family: 'Inter', sans-serif;
    background: linear-gradient(45deg, #007bff, #00d4ff);
    color: white; 
    border: none; 
    padding: 1.2rem 2.5rem; 
    border-radius: 25px; 
    cursor: pointer; 
    font-weight: 600; 
    transition: all 0.3s ease;
}

.comment-form input[type="submit"]:hover { 
    background: linear-gradient(45deg, #0056b3, #007bff);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,123,255,0.3);
}

/* Smooth Scrolling für Sections */
html {
    scroll-behavior: smooth;
}

/* Section IDs für Navigation */
#services,
#about,
#gallery,
#contact {
    scroll-margin-top: 100px; /* Abstand für sticky header */
} 