/* ================= HERO (Kompetenzen) ================= */

.kompetenzen-hero {
    position: relative;
    height: 70vh;
    background: url("../Bilder/adgsdg.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.hero-content {
    position: relative;
    color: #ffffff;
    max-width: 800px;
    padding: 0 24px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
}


/* ================= DETAIL SEKTIONEN ================= */

.kompetenz-detail {
    padding: 120px 24px;
    background: #ffffff;
}

.kompetenz-detail.alt {
    background: #f6f6f6;
}

.kompetenz-detail .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}


/* ================= BILD ================= */

.kompetenz-bild {
    flex: 1;
}

.kompetenz-bild img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 8px;
}


/* ================= TEXT ================= */

.kompetenz-text {
    flex: 1;
}

.kompetenz-text h2 {
    font-size: 34px;
    margin-bottom: 28px;
    position: relative;
}

.kompetenz-text h2::after {
    content: "";
    width: 60px;
    height: 3px;
    background: var(--accent);
    display: block;
    margin-top: 18px;
}

.kompetenz-text p {
    font-size: 18px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 24px;
}


/* ================= LISTE ================= */

.kompetenz-text ul {
    list-style: none;
    margin-top: 24px;
}

.kompetenz-text li {
    font-size: 16px;
    margin-bottom: 14px;
    padding-left: 24px;
    position: relative;
    color: #333;
}

.kompetenz-text li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}


/* ================= CTA SECTION ================= */

.cta-offerte {
    padding: 120px 24px;
    background: var(--accent);
    color: #ffffff;
    text-align: center;
}

.cta-offerte .cta-container {
    max-width: 900px;
    margin: 0 auto;
}

.cta-offerte h2 {
    font-size: 34px;
    margin-bottom: 24px;
}

.cta-offerte p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #ffffff;
    color: var(--accent);
    padding: 14px 34px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button {
    display: inline-block;
    background: #ffffff;
    color: var(--accent);
    padding: 14px 34px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #e6e6e6;
}

.kompetenz-detail {
    scroll-margin-top: 120px;
}

.cta-offerte p {
    color: #ffffff;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {

    .kompetenz-detail .container {
        flex-direction: column;
        gap: 48px;
    }

    .kompetenz-bild img {
        height: 360px;
    }

    .hero-content h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {

    .kompetenz-detail {
        padding: 80px 20px;
    }

    .kompetenz-text h2 {
        font-size: 26px;
    }

    .kompetenz-text p {
        font-size: 16px;
    }

    .hero {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .cta-offerte {
        padding: 80px 20px;
    }

    .cta-offerte h2 {
        font-size: 26px;
    }
}