

/* --- CSS AUS DER INDEX.PHP --- */


        :root {
            --bg-page: #FFFCF7; 
            --bg-hero: #EBF4F6; 
            --text-main: #2C3E50; 
            --text-light: #546E7A;
            --primary: #FF8A65; 
            --primary-hover: #FF7043;
            --secondary: #13D7D3; 
            --card-bg: #FFFFFF;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth;  }

        body {
            font-family: 'Quicksand', sans-serif;
            background-color: var(--bg-page);
            color: var(--text-main);
            line-height: 1.6;
            font-size: 18px;
            
        }

        h1, h2, h3 { font-weight: 700; color: var(--text-main); }
        .text-center { text-align: center; }

        /* --- ANIMATIONS-KLASSEN --- */
        .reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
        .reveal.active { opacity: 1; transform: translateY(0); }
        .delay-1 { transition-delay: 0.1s; }
        .delay-2 { transition-delay: 0.2s; }
        .delay-3 { transition-delay: 0.3s; }

        /* --- HEADER --- */
        header {
            display: flex; justify-content: space-between; align-items: center;
            padding: 1.2rem 5%; background-color: var(--bg-hero);
            position: sticky; top: 0; z-index: 1000;
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
            animation: slideDown 0.8s ease-out forwards;
        }
        @keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

        .logo { font-size: 1.6rem; font-weight: 700; color: var(--text-main); text-decoration: none; display: flex; align-items: center; gap: 10px; }
        .logo i { color: var(--primary); font-size: 1.8rem; animation: heartbeat 2s infinite; }
        @keyframes heartbeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }

        nav { display: flex; gap: 2rem; align-items: center; }
        nav a { text-decoration: none; color: var(--text-main); font-weight: 600; transition: color 0.2s; font-size: 1.1rem; }
        nav a:hover { color: var(--primary); }

        /* --- BUTTONS --- */
        .btn {
            display: inline-flex; align-items: center; justify-content: center; gap: 10px;
            padding: 0.8rem 2rem; border-radius: 50px;
            font-weight: 700; font-size: 1.1rem; cursor: pointer;
            text-decoration: none; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); border: none;
            box-shadow: 0 4px 10px rgba(0,0,0,0.08);
        }
        .btn-primary { background-color: var(--primary); color: #fff; }
        .btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-5px) scale(1.05); box-shadow: 0 10px 20px rgba(255, 138, 101, 0.4); }
        .btn-secondary { background-color: #fff; color: var(--text-main); }
        .btn-secondary:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 10px 20px rgba(0,0,0,0.1); color: var(--primary); }

        /* --- HERO BEREICH --- */
        .hero {
            background-color: var(--bg-hero); padding: 4rem 5% 4rem; text-align: center;
            position: relative; overflow: hidden;
            background-image: linear-gradient(rgba(77, 182, 172, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(77, 182, 172, 0.12) 1px, transparent 1px);
            background-size: 40px 40px; animation: gridScroll 20s linear infinite;
        }
        @keyframes gridScroll { 0% { background-position: 0 0; } 100% { background-position: 40px 40px; } }

        .tech-icon { position: absolute; color: var(--secondary); opacity: 0.15; font-size: 4rem; z-index: 1; font-family: monospace; font-weight: bold; animation: floatTech 8s ease-in-out infinite; pointer-events: none; }
        .tech-icon:nth-child(1) { top: 15%; left: 8%; animation-delay: 0s; font-size: 5rem; }
        .tech-icon:nth-child(2) { top: 45%; right: 8%; animation-delay: -2s; font-size: 4.5rem; color: var(--primary); opacity: 0.1;}
        .tech-icon:nth-child(3) { bottom: 25%; left: 20%; animation-delay: -4s; font-size: 4rem; }
        @keyframes floatTech { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-25px) rotate(10deg); } }

        .hero-content { position: relative; z-index: 2; }
        .welcome-badge { display: inline-block; background-color: #fff; color: var(--secondary); padding: 8px 24px; border-radius: 50px; font-weight: 700; font-size: 1rem; margin-bottom: 2rem; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
        .hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.2; margin-bottom: 1.5rem; }
        .hero p { font-size: 1.3rem; color: var(--text-light); margin-bottom: 2rem; max-width: 700px; margin-inline: auto; font-weight: 500; background: rgba(235, 244, 246, 0.7); border-radius: 20px; padding: 10px; }
        .hero-actions { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }

        .wave-bottom { position: absolute; bottom: -2px; left: 0; width: 100%; overflow: hidden; line-height: 0; transform: rotate(180deg); z-index: 2; }
        .wave-bottom svg { display: block; width: calc(100% + 1.3px); height: 80px; }
        .wave-bottom .shape-fill { fill: var(--bg-page); }

        /* --- SCHNELLZUGRIFF IM HERO-BEREICH --- */
        .hero-quicklinks {
            display: flex; justify-content: center; align-items: center;
            gap: 1rem; flex-wrap: wrap; font-weight: 600; font-size: 1rem;
        }
        .hero-quicklinks span {
            color: var(--text-light); font-size: 0.9rem; font-weight: 700;
            text-transform: uppercase; letter-spacing: 1px; margin-right: 10px;
            background: #fff; padding: 5px 15px; border-radius: 20px;
        }
        .hero-quicklinks a {
            color: var(--text-main); text-decoration: none; display: flex; align-items: center; gap: 8px;
            background: #fff; padding: 0.6rem 1.2rem; border-radius: 50px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.04); transition: all 0.3s; border: 2px solid transparent;
        }
        .hero-quicklinks a i { color: var(--secondary); font-size: 1.1rem; }
        .hero-quicklinks a:hover {
            transform: translateY(-3px); box-shadow: 0 8px 15px rgba(0,0,0,0.08);
            border-color: var(--secondary); color: var(--secondary);
        }

        /* --- STATISTIK --- */
        .stats-section { 
            max-width: 1200px; margin: 2rem auto 4rem; padding: 3rem 2%; 
            background: #fff; border-radius: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); 
            border: 2px solid var(--bg-hero); text-align: center;
        }
        .stat-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 2rem; }
        .stat-item { flex: 1; min-width: 150px; }
        .stat-item i { font-size: 2.5rem; color: var(--secondary); margin-bottom: 1rem; }
        .stat-number-wrapper { font-size: 3.5rem; font-weight: 700; color: var(--text-main); line-height: 1; margin-bottom: 0.5rem; display: flex; justify-content: center; align-items: baseline; }
        .stat-suffix { color: var(--primary); font-size: 2.5rem; margin-left: 5px; }
        .stat-label { font-size: 1.1rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

        /* --- LEISTUNGEN --- */
        .services-wrapper {
            background-color: #FFFFFF; border-radius: 50px; padding: 5rem 0 3rem; width: 92%;
            max-width: 1300px; margin: 0 auto 8rem; box-shadow: 0 15px 40px rgba(0,0,0,0.03); border: 2px solid var(--bg-hero);
        }
        .services-wrapper .section-header { text-align: center; margin-bottom: 3rem; padding: 0 5%; }
        .services-wrapper .section-header h2 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--text-main); }
        .services-wrapper .section-header p { font-size: 1.2rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }
        .services { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; max-width: 1200px; margin: 0 auto; padding: 0 5%; position: relative; z-index: 5; }
        .service-card { background: var(--bg-page); padding: 3rem 2rem; border-radius: 30px; text-align: center; color: var(--text-main); box-shadow: 0 10px 30px rgba(0,0,0,0.02); border: 2px solid transparent; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: flex; flex-direction: column; align-items: center;}
        .service-card, .service-card:hover, .service-card * { text-decoration: none !important; }
        .service-card:hover { transform: translateY(-15px) scale(1.03); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--secondary); }
        .icon-bubble { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 1.5rem; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; background-color: var(--bg-hero); color: var(--secondary); transition: transform 0.5s; }
        .service-card:nth-child(1) .icon-bubble { background-color: #FFF0E6; color: var(--primary); }
        .service-card:nth-child(3) .icon-bubble { background-color: #E8F5E9; color: #26A69A; }
        .service-card:hover .icon-bubble { transform: scale(1.2) rotate(15deg); }
        .service-card h3 { font-size: 1.6rem; margin-bottom: 1rem; }
        .service-card p { font-size: 1.1rem; color: var(--text-light); flex-grow: 1; }
        .card-action { display: inline-block; margin-top: 1.5rem; font-weight: 700; color: var(--primary); transition: transform 0.3s ease; }
        .service-card:hover .card-action { transform: translateX(8px); }

        /* --- ÜBER MICH BEREICH --- */
        .about-section { display: flex; flex-wrap: wrap; align-items: center; gap: 5rem; max-width: 1100px; margin: 0 auto 8rem; padding: 0 5%; }
        .about-img-wrapper { flex: 1; min-width: 320px; position: relative; z-index: 1; }
        .about-img-wrapper img { width: 100%; border-radius: 40px; border: 8px solid #fff; box-shadow: 0 20px 40px rgba(0,0,0,0.08); position: relative; z-index: 2; }
        .about-img-wrapper::before { content: ''; position: absolute; top: -30px; left: -30px; right: 20px; bottom: 20px; background-color: var(--bg-hero); z-index: 0; border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; animation: morphBlob 8s ease-in-out infinite alternate; }
        @keyframes morphBlob { 0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; } 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; } }
        .experience-badge { position: absolute; bottom: 30px; right: -30px; background: var(--card-bg); padding: 1.5rem; border-radius: 25px; box-shadow: 0 15px 35px rgba(0,0,0,0.1); z-index: 3; display: flex; align-items: center; gap: 15px; border-left: 6px solid var(--primary); }
        .experience-badge .number { font-size: 2.5rem; font-weight: 700; color: var(--primary); line-height: 1; }
        .experience-badge .text { font-size: 1rem; color: var(--text-light); font-weight: 600; line-height: 1.2; }
        .about-text { flex: 1.2; min-width: 320px; }
        .eyebrow { display: inline-block; color: var(--secondary); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; font-size: 0.9rem; }
        .about-text h2 { font-size: 2.5rem; margin-bottom: 1rem; line-height: 1.2; }
        .about-text > p { font-size: 1.15rem; color: var(--text-light); margin-bottom: 2.5rem; }
        .about-feature { display: flex; align-items: flex-start; gap: 15px; background: #fff; padding: 20px; border-radius: 20px; margin-bottom: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.02); transition: all 0.3s ease; border: 2px solid transparent; }
        .about-feature:hover { transform: translateX(10px); border-color: var(--bg-hero); box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
        .feature-icon { width: 50px; height: 50px; border-radius: 50%; background: var(--bg-hero); color: var(--secondary); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
        .feature-text h4 { font-size: 1.1rem; margin-bottom: 5px; color: var(--text-main); }
        .feature-text p { font-size: 1rem; color: var(--text-light); margin: 0; }
        .about-actions { margin-top: 2.5rem; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
        .signature { font-family: Georgia, serif; font-style: italic; font-size: 1.4rem; color: var(--text-light); }

        /* --- FAQ --- */
        .faq-section { max-width: 800px; margin: 0 auto 6rem; padding: 0 5%; }
        .faq-section h2 { text-align: center; font-size: 2.2rem; margin-bottom: 3rem; }
        .faq-item { background: #fff; border-radius: 20px; margin-bottom: 1rem; box-shadow: 0 4px 10px rgba(0,0,0,0.03); overflow: hidden; }
        .faq-question { width: 100%; text-align: left; padding: 1.5rem 2rem; background: none; border: none; font-family: 'Quicksand'; font-size: 1.2rem; font-weight: 700; color: var(--text-main); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
        .faq-question i { transition: transform 0.3s; color: var(--secondary); }
        .faq-question.active i { transform: rotate(180deg); }
        .faq-answer { padding: 0 2rem; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: var(--text-light); font-size: 1.1rem; }
        .faq-answer.active { padding-bottom: 1.5rem; max-height: 300px; }

        /* --- INSTAGRAM FEED --- */
        .instagram-section { max-width: 1200px; margin: 0 auto 6rem; padding: 0 5%; }
        .insta-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
        .insta-info { display: flex; align-items: center; gap: 15px; }
        .insta-icon { font-size: 2.5rem; background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .insta-info h2 { font-size: 2rem; margin: 0; line-height: 1.2; }
        .insta-info p { color: var(--text-light); margin: 0; font-weight: 600; }
        .insta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; }
        .insta-item { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 1 / 1; display: block; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
        .insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
        .insta-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; gap: 20px; color: #fff; font-size: 1.3rem; font-weight: 700; opacity: 0; transition: opacity 0.3s ease; }
        .insta-overlay span { display: flex; align-items: center; gap: 8px; }
        .insta-item:hover img { transform: scale(1.1); }
        .insta-item:hover .insta-overlay { opacity: 1; }

        /* --- KONTAKTFORMULAR --- */
        .contact-section { max-width: 1100px; margin: 0 auto 6rem; padding: 0 5%; }
        .contact-box { background: var(--bg-hero); padding: 3rem; border-radius: 40px; text-align: center; position: relative; }
        .contact-box h2 { font-size: 2.2rem; margin-bottom: 1rem; }
        .contact-box p { color: var(--text-light); margin-bottom: 2rem; }
        .contact-form input { width: 100%; padding: 1.2rem 1.5rem; margin-bottom: 1rem; border: 2px solid #fff; border-radius: 20px; font-family: 'Quicksand'; font-size: 1.1rem; outline: none; transition: border-color 0.3s; }
        .contact-form input:focus { border-color: var(--secondary); }
        .badge-fly { position: absolute; top: -20px; right: -10px; background: var(--primary); color: #fff; padding: 10px 20px; border-radius: 50px; font-weight: 700; transform: rotate(10deg); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

        /* --- FOOTER --- */
        footer { background-color: var(--text-main); color: #fff; padding: 5rem 5% 3rem; text-align: center; border-radius: 50px 50px 0 0; }
        .footer-logo { font-size: 1.8rem; font-weight: 700; margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 10px; }
        .footer-logo i { color: var(--primary); }
        .social-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 2rem; }
        .social-links a { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: #fff; transition: all 0.3s; font-size: 1.2rem; }
        .social-links a:hover { background: var(--primary); transform: translateY(-5px); }
        
        .legal-links { display: flex; justify-content: center; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
        .legal-links a { color: #90A4AE; text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
        .legal-links a:hover { color: #fff; }
        .footer-bottom { color: #546E7A; font-size: 0.9rem; margin-top: 2rem; }
		/* Verhindert Unterstreichungen bei den Footer-Icons */
		.social-links a, 
		.footer-logo {
			text-decoration: none !important;
		}
        /* --- WHATSAPP BUTTON (SCHWEBEND) --- */
        .whatsapp-float {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background-color: #25D366; /* Original WhatsApp Grün */
            color: white;
            width: 65px;
            height: 65px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 35px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            z-index: 9999; /* Bleibt immer ganz vorne */
            transition: all 0.3s ease;
            text-decoration: none;
            animation: pulse-wa 2s infinite;
        }
        .whatsapp-float:hover {
            background-color: #1ebe5d;
            transform: scale(1.1) rotate(-5deg);
            color: white;
            animation: none; /* Stoppt das Pulsieren beim Darüberfahren */
            box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
        }
        @keyframes pulse-wa {
            0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
            70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
            100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
        }

/* --- 3D KUNDENBEWERTUNGEN --- */
.reviews-section {
    padding: 4rem 5% 6rem;
    background-color: var(--bg-hero);
    border-radius: 50px;
    max-width: 1300px;
    margin: 0 auto 6rem;
    text-align: center;
    overflow: hidden; 
}

.reviews-carousel {
    position: relative;
    perspective: 1000px; 
    margin-top: 3rem;
    height: 380px; 
    max-width: 1000px; /* Bietet genug Platz für alle 3 Karten */
    margin-left: auto;
    margin-right: auto;
    transform-style: preserve-3d; /* Wichtig für echte 3D-Tiefe */
}

.review-card {
    position: absolute;
    top: 50%;
    left: 50%;
    
    background: #fff;
    padding: 2.5rem;
    border-radius: 30px;
    text-align: left;
    width: 100%;
    max-width: 450px; /* Nicht zu breit, damit 3 nebeneinander passen */
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    
    /* Weiche Übergänge für alle Bewegungen */
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
    opacity: 0;
    pointer-events: none;
}

/* --- DIE 3D ZUSTÄNDE (Jetzt mit exakten Pixel-Abständen!) --- */

/* 1. Die Karte im Fokus (Exakt in der Mitte!) */
.review-card.active {
    opacity: 1;
    z-index: 3;
    transform: translate(-50%, -50%) scale(1) rotateY(0deg);
    pointer-events: auto;
}

/* 2. Vorherige Karte: Exakt 250 Pixel nach links geschoben */
.review-card.prev {
    opacity: 0.4; /* Etwas abgedunkelt */
    z-index: 2;
    transform: translate(calc(-50% - 250px), -50%) scale(0.8) rotateY(25deg);
}

/* 3. Nächste Karte: Exakt 250 Pixel nach rechts geschoben */
.review-card.next {
    opacity: 0.4; /* Etwas abgedunkelt */
    z-index: 2;
    transform: translate(calc(-50% + 250px), -50%) scale(0.8) rotateY(-25deg);
}

/* Alle restlichen Karten in der Mitte verstecken */
.review-card.hidden {
    opacity: 0;
    z-index: 1;
    transform: translate(-50%, -50%) scale(0.5) rotateY(0deg);
}

/* --- INNERE ELEMENTE --- */
.review-card i.fa-quote-left {
    font-size: 2rem;
    color: var(--bg-hero);
    position: absolute;
    top: 20px;
    right: 20px;
}

.stars {
    color: #FFCA28;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.review-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.reviewer {
    font-weight: 700;
    color: var(--text-main);
}

/* Auf dem Handy rücken wir sie enger zusammen */
@media (max-width: 768px) {
    .reviews-carousel { height: 420px; }
    .review-card.prev { transform: translate(calc(-50% - 100px), -50%) scale(0.7); opacity: 0.2; }
    .review-card.next { transform: translate(calc(-50% + 100px), -50%) scale(0.7); opacity: 0.2; }
}

/* --- MOBILE ANPASSUNGEN --- */
        @media (max-width: 768px) {
            
            .hero { padding: 3rem 5% 4rem; }
            .hero-quicklinks span { display: block; width: 100%; text-align: center; margin-right: 0; margin-bottom: 5px; }
            .services-wrapper { border-radius: 30px; padding: 4rem 0 2rem; margin: 0 5% 6rem; width: 90%; }
            .about-section { flex-direction: column; text-align: center; }
            .experience-badge { right: 0; bottom: 0; transform: translateY(50%); }
            .insta-top { justify-content: center; text-align: center; flex-direction: column; }
            .insta-grid { grid-template-columns: repeat(2, 1fr); }
            .contact-box { padding: 2rem; border-radius: 25px; }
            footer { border-radius: 30px 30px 0 0; }
            
            /* WhatsApp Button auf dem Handy etwas kleiner und weiter am Rand */
            .whatsapp-float { width: 55px; height: 55px; font-size: 30px; bottom: 20px; right: 20px; }
        }
    
                /* --- H1 ANIMATION --- */
                @keyframes superTitleAnim {
                    0% { opacity: 0; transform: translateY(40px) scale(0.95); }
                    60% { opacity: 1; transform: translateY(-5px) scale(1.02); }
                    100% { opacity: 1; transform: translateY(0) scale(1); }
                }
                .hero h1, .sub-hero h1 {
                    animation: superTitleAnim 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
                    animation-delay: 0.1s;
                    opacity: 0;
                    display: block;
                }
                

/* --- MOBILE NAVIGATION FIX --- */
@media (max-width: 768px) {
    
}


/* --- DAUERHAFTE H1 ANIMATION (WIE HERZ) --- */
@keyframes heartbeatText {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}
.hero h1 {
    animation: heartbeatText 2.5s infinite ease-in-out !important;
    display: block;
    opacity: 1 !important;
}


a[href*="elfsight.com"], .eapps-link {
    opacity: 0.001 !important;
    pointer-events: none !important;
    transform: translateY(200px) !important;
}


/* --- BURGER MENU CSS --- */
.mobile-menu-btn {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-main);
}
@media (max-width: 768px) {
    .mobile-menu-btn { display: block !important; }
    .header-phone-btn { display: none !important; }
    nav {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out, padding 0.4s ease;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
        gap: 1.5rem;
        padding: 0;
        z-index: 999;
    }
    nav.open {
        max-height: 400px;
        padding: 2rem 0;
    }
    nav a { text-align: center; font-size: 1.2rem; display: block; width: 100%; }
}


/* --- WACKEL-FIX FÜR HANDYS (HORIZONTAL SCROLLING) --- */



/* --- BILD-LOGO ANIMATION --- */
.logo-icon {
    animation: heartbeat 2s infinite;
}
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}


/* --- SOCIALS IN NAV --- */
.nav-socials a:hover i {
    transform: scale(1.2);
}
@media (max-width: 768px) {
    .nav-socials {
        justify-content: center;
        margin-left: 0 !important;
        padding-left: 0 !important;
        margin-top: 0.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid #eee;
        border-left: none !important;
    }
    .nav-socials a {
        display: inline-flex !important;
        width: auto !important;
        justify-content: center;
    }
}


/* --- FLOATING SOCIALS (SIDEBAR) --- */
.floating-socials {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 4px 4px 15px rgba(0,0,0,0.08);
    border-radius: 0 20px 20px 0;
    z-index: 1000;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    border-left: none;
}
.floating-socials a {
    padding: 15px 18px;
    color: var(--text-light);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.floating-socials a:last-child { border-bottom: none; }
.floating-socials a:hover.social-ig { color: #E1306C; background: #fff4f7; padding-left: 25px; }
.floating-socials a:hover.social-tt { color: #000; background: #f2f2f2; padding-left: 25px; }
.floating-socials a:hover.social-fb { color: #1877F2; background: #f0f5ff; padding-left: 25px; }

.mobile-only-socials { display: none; }

@media (max-width: 768px) {
    .floating-socials { display: none !important; }
    .mobile-only-socials {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 30px;
        margin-top: 1rem;
        padding-top: 1.5rem;
        border-top: 1px solid #eee;
        width: 100%;
        flex-direction: row;
    }
    .mobile-only-socials a { font-size: 2rem; display: inline-block; width: auto; }
}



                .contact-card:hover { 
                    transform: translateY(-10px); 
                    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important; 
                    border-color: var(--secondary) !important; 
                }
            
/* --- BURGER MENU CSS --- */
.mobile-menu-btn {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-main);
}
@media (max-width: 768px) {
    .mobile-menu-btn { display: block !important; }
    .header-phone-btn { display: none !important; }
    nav {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out, padding 0.4s ease;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
        gap: 1.5rem;
        padding: 0;
        z-index: 999;
    }
    nav.open {
        max-height: 400px;
        padding: 2rem 0;
    }
    nav a { text-align: center; font-size: 1.2rem; display: block; width: 100%; }
}


/* --- WACKEL-FIX FÜR HANDYS (HORIZONTAL SCROLLING) --- */



/* --- BILD-LOGO ANIMATION --- */
.logo-icon {
    animation: heartbeat 2s infinite;
}
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}


/* --- SOCIALS IN NAV --- */
.nav-socials a:hover i {
    transform: scale(1.2);
}
@media (max-width: 768px) {
    .nav-socials {
        justify-content: center;
        margin-left: 0 !important;
        padding-left: 0 !important;
        margin-top: 0.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid #eee;
        border-left: none !important;
    }
    .nav-socials a {
        display: inline-flex !important;
        width: auto !important;
        justify-content: center;
    }
}


/* --- FLOATING SOCIALS (SIDEBAR) --- */
.floating-socials {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 4px 4px 15px rgba(0,0,0,0.08);
    border-radius: 0 20px 20px 0;
    z-index: 1000;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    border-left: none;
}
.floating-socials a {
    padding: 15px 18px;
    color: var(--text-light);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.floating-socials a:last-child { border-bottom: none; }
.floating-socials a:hover.social-ig { color: #E1306C; background: #fff4f7; padding-left: 25px; }
.floating-socials a:hover.social-tt { color: #000; background: #f2f2f2; padding-left: 25px; }
.floating-socials a:hover.social-fb { color: #1877F2; background: #f0f5ff; padding-left: 25px; }

.mobile-only-socials { display: none; }

@media (max-width: 768px) {
    .floating-socials { display: none !important; }
    .mobile-only-socials {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 30px;
        margin-top: 1rem;
        padding-top: 1.5rem;
        border-top: 1px solid #eee;
        width: 100%;
        flex-direction: row;
    }
    .mobile-only-socials a { font-size: 2rem; display: inline-block; width: auto; }
}




/* ========================================= */
/* --- SEITEN-SPEZIFISCHE FARB-THEMES --- */
/* ========================================= */
body.theme-default { --primary: #FF8A65 !important; --primary-hover: #FF7043 !important; --secondary: #4DB6AC !important; --bg-hero: #EBF4F6 !important; --bg-page: #FFFCF7 !important; }
body.theme-reparatur { --primary: #E63946 !important; --primary-hover: #D90429 !important; --secondary: #1D3557 !important; --bg-hero: #FFF0F2 !important; --bg-page: #FFFFFF !important; }
body.theme-webhosting { --primary: #6C63FF !important; --primary-hover: #5A52D5 !important; --secondary: #3F37C9 !important; --bg-hero: #F3F2FF !important; --bg-page: #FDFDFF !important; }
body.theme-senioren { --primary: #2A9D8F !important; --primary-hover: #21867A !important; --secondary: #E76F51 !important; --bg-hero: #E9F5F3 !important; --bg-page: #FFFCF7 !important; }
body.theme-firmen { --primary: #264653 !important; --primary-hover: #1A303A !important; --secondary: #E9C46A !important; --bg-hero: #EBF0F3 !important; --bg-page: #FFFFFF !important; }
body.theme-hilfe { --primary: #F4A261 !important; --primary-hover: #E76F51 !important; --secondary: #264653 !important; --bg-hero: #FEF7F0 !important; --bg-page: #FFFCF7 !important; }
body.theme-vorort { --primary: #0077B6 !important; --primary-hover: #023E8A !important; --secondary: #F4A261 !important; --bg-hero: #F0F8FF !important; --bg-page: #FFFFFF !important; }

/* ========================================= */
/* --- UNIVERSAL CARD HOVER EFFECTS --- */
/* ========================================= */
.service-card, .device-card, .problem-card, .host-card, .price-card {
    transition: all 0.2s ease-out !important; border: 2px solid transparent;
}
.service-card:hover, .device-card:hover, .problem-card:hover, .host-card:hover, .price-card:hover {
    transform: translateY(-15px) scale(1.03) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
    border-color: var(--secondary) !important;
    transition-delay: 0s !important;
}
.icon-bubble, .device-icon, .problem-icon, .host-icon { transition: transform 0.2s ease-out !important; }
.service-card:hover .icon-bubble, .device-card:hover .device-icon, .problem-card:hover .problem-icon, .host-card:hover .host-icon {
    transform: scale(1.1) rotate(5deg) !important;
}

/* ========================================= */
/* --- 1. VORHER/NACHHER SLIDER --- */
/* ========================================= */
.before-after-wrapper { max-width: 900px; margin: 4rem auto; padding: 0 5%; text-align: center; }
.before-after-container { position: relative; width: 100%; aspect-ratio: 16/9; background: #eee; border-radius: 30px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); margin-top: 2rem; --position: 50%; }
.image-before, .image-after { position: absolute; inset: 0; width: 100%; height: 100%; background-size: cover; background-position: center; pointer-events: none; }
.image-before { background-image: url('https://images.unsplash.com/photo-1592839719941-8e2651039d01?auto=format&fit=crop&w=1200&q=80'); }
.image-after { background-image: url('https://images.unsplash.com/photo-1574342332616-529a67cb1e5b?auto=format&fit=crop&w=1200&q=80'); clip-path: polygon(0 0, var(--position) 0, var(--position) 100%, 0 100%); }
.slider-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 10; }
.slider-line { position: absolute; top: 0; bottom: 0; left: var(--position); width: 4px; background: #fff; z-index: 5; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 10px rgba(0,0,0,0.3); }
.slider-button { position: absolute; top: 50%; left: var(--position); transform: translate(-50%, -50%); width: 46px; height: 46px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 5; pointer-events: none; color: var(--primary); box-shadow: 0 4px 15px rgba(0,0,0,0.2); font-size: 1.2rem; }
.before-label, .after-label { position: absolute; top: 20px; padding: 8px 15px; background: rgba(0,0,0,0.6); color: #fff; border-radius: 20px; font-size: 0.9rem; font-weight: bold; backdrop-filter: blur(5px); z-index: 4; }
.before-label { left: 20px; }
.after-label { right: 20px; }

/* ========================================= */
/* --- 2. BENTO-BOX DASHBOARD --- */
/* ========================================= */
.bento-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 1200px; margin: 0 auto; padding: 0 5%; }
@media (min-width: 768px) { .bento-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; } .bento-span-2 { grid-column: span 2; } .bento-row-2 { grid-row: span 2; } }
.bento-item { background: #fff; border-radius: 30px; padding: 2.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.03); border: 2px solid transparent; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); display: flex; flex-direction: column; justify-content: center; text-decoration: none; color: var(--text-main); position: relative; overflow: hidden; }
.bento-item:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--primary); text-decoration: none !important; }
.bento-icon { width: 60px; height: 60px; border-radius: 20px; background: var(--bg-hero); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 1.5rem; transition: transform 0.3s; }
.bento-item:hover .bento-icon { transform: scale(1.1) rotate(5deg); }
.bento-item h3 { font-size: 1.5rem; margin-bottom: 0.5rem; z-index: 2; position: relative;}
.bento-item p { color: var(--text-light); z-index: 2; position: relative;}
.bento-bg-icon { position: absolute; right: -20px; bottom: -20px; font-size: 8rem; opacity: 0.04; color: var(--text-main); z-index: 1; transition: transform 0.5s; }
.bento-item:hover .bento-bg-icon { transform: scale(1.1); }

/* ========================================= */
/* --- ACTIVE NAV LINK UNTERSTRICH ---       */
/* ========================================= */
nav a {
    position: relative;
    padding-bottom: 5px; /* Abstand zwischen Text und Strich */
}

/* Der Strich wird unsichtbar vorbereitet */
nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Hover-Effekt: Strich fährt aus der Mitte aus */
nav a:hover::after {
    width: 100%;
}

/* Aktive Seite: Text wird farbig und fett */
nav a.active-nav-link {
    color: var(--primary); 
    font-weight: 700;
}

/* Aktive Seite: Strich ist dauerhaft voll sichtbar */
nav a.active-nav-link::after {
    width: 100%;
}

