/* ===== LEISTUNGEN.CSS - SIMPLE VERSION ===== */

/* HERO SECTION */
.leistung-hero {
    height: 70vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 80px;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

/* Nur für Desktop Parallax */
@media (min-width: 769px) {
    .leistung-hero {
        background-attachment: fixed;
    }
}

.leistung-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(232, 92, 0, 0.2), transparent);
}

.leistung-hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.7);
    position: relative;
    animation: fadeInDown 1s ease;
}

.leistung-hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    position: relative;
    animation: fadeInUp 1s ease 0.3s both;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* CONTENT SECTION */
.leistung-content {
    padding: 100px 0;
    background: white;
}

.leistung-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.leistung-intro {
    text-align: center;
    margin-bottom: 60px;
}

.leistung-intro h2 {
    font-size: 2.8rem;
    color: var(--schwarz);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.leistung-intro h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--orange);
    border-radius: 2px;
}

.leistung-text {
    max-width: 800px;
    margin: 0 auto;
}

.leistung-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #444;
    text-align: center;
}

/* VORTEILE GRID */
.vorteile-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.vorteile-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--schwarz);
    margin-bottom: 50px;
}

.vorteile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.vorteil-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 5px solid var(--orange);
}

.vorteil-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(232, 92, 0, 0.15);
}

.vorteil-icon {
    width: 80px;
    height: 80px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
    transition: transform 0.3s ease;
}

.vorteil-card:hover .vorteil-icon {
    transform: rotate(15deg) scale(1.1);
}

.vorteil-card h3 {
    font-size: 1.5rem;
    color: var(--schwarz);
    margin-bottom: 15px;
}

.vorteil-card p {
    color: #666;
    line-height: 1.6;
}

/* GALLERY SECTION - SIMPLE */
.gallery-section {
    padding: 100px 0;
    background: white;
}

.gallery-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--schwarz);
    margin-bottom: 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(232, 92, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-hinweis {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-top: 20px;
    padding: 0 20px;
}

/* CTA SECTION */
.cta-leistung {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--orange), #ff7b2c);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-leistung::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h60v60H0z" fill="none"/><path d="M30 5L5 30l25 25 25-25z" fill="white" opacity="0.05"/></svg>');
}

.cta-leistung h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    position: relative;
}

.cta-leistung p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.95;
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.btn-cta-primary {
    background: white;
    color: var(--orange);
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-cta-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-cta-secondary:hover {
    background: white;
    color: var(--orange);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* ===== LIGHTBOX - SUPER SIMPLE ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    width: 95%;
    max-width: 1400px;
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* BILD - MAXIMAL GROß */
.lightbox-image {
    max-width: 95%;
    max-height: 85vh;
    object-fit: contain;
}

/* BUTTONS - X & PFEILE */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: var(--orange);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 10001;
    transition: transform 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    transform: scale(1.1);
}

.lightbox-close {
    top: 25px;
    right: 25px;
}

.lightbox-prev {
    left: 25px;
    top: 50%;
}

.lightbox-next {
    right: 25px;
    top: 50%;
}

/* MOBILE */
@media (max-width: 768px) {
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-image {
        max-width: 98%;
        max-height: 75vh;
    }
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .leistung-hero h1 {
        font-size: 3rem;
    }

    .leistung-hero p {
        font-size: 1.3rem;
    }

    .leistung-intro h2 {
        font-size: 2.3rem;
    }

    .vorteile-title,
    .gallery-title {
        font-size: 2rem;
    }

    .cta-leistung h2 {
        font-size: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .leistung-hero {
        height: 60vh;
        background-attachment: scroll;
    }

    .leistung-hero h1 {
        font-size: 2.5rem;
    }

    .leistung-hero p {
        font-size: 1.1rem;
    }

    .vorteile-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .leistung-hero h1 {
        font-size: 2rem;
    }

    .leistung-intro h2 {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .leistung-content,
    .vorteile-section,
    .gallery-section,
    .cta-leistung {
        padding: 60px 0;
    }
}