/* =========================================================
   NDG Haupt-CMS 1.3.7
   Hervorgehobene Projekte auf der Startseite
   ========================================================= */

.featured-projects-section {
    min-width: 0;
}

.featured-projects-grid {
    display: grid;
    gap: 30px;
}

.featured-project-card {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 32px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.featured-project-image {
    min-width: 0;
    min-height: 390px;
    max-height: 520px;
    overflow: hidden;
    background: #0f2036;
}

.featured-project-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 390px;
    max-height: 520px;
    border-radius: 0;
    object-fit: cover;
    object-position: top center;
}

.featured-project-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 390px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(105, 178, 29, 0.35),
            transparent 35%
        ),
        linear-gradient(135deg, #006eb8, #07111f);
}

.featured-project-placeholder span {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
}

.featured-project-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(34px, 5vw, 58px);
}

.featured-project-content h3 {
    margin: 20px 0 18px;
    color: var(--text);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.featured-project-content p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.featured-project-actions {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 12px;
}

@media (max-width: 850px) {
    .featured-project-card {
        grid-template-columns: 1fr;
    }

    .featured-project-image,
    .featured-project-image img,
    .featured-project-placeholder {
        min-height: 250px;
        max-height: 320px;
    }
}

@media (max-width: 640px) {
    .featured-project-card {
        border-radius: 22px;
    }

    .featured-project-content {
        padding: 28px 22px;
    }

    .featured-project-actions,
    .featured-project-actions .btn {
        width: 100%;
    }
}
