/* =========================================================
   THINK3DDD – STARTSEITE
   Nur für index.html
   ========================================================= */

/* HERO */

#hero {
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

/* Hero-Foto: Blaulicht des Druckers in Richtung Markenfarben (Petrol/Türkis) verschoben */
#hero::before,
#hero::after {
    content: "";
    position: absolute;
    inset: 0;
}

#hero::before {
    z-index: -2;
    background: url("../assets/images/hero/3d-drucker-leapfrog-bolt-header.webp") center / cover;
    filter: hue-rotate(-45deg) saturate(.9);
}

#hero::after {
    z-index: -1;
    background: linear-gradient(90deg, rgba(255,255,255,.9), rgba(231,247,246,.35));
}

#hero .hero {
    max-width: 680px;
    padding: 40px;
    border-radius: 24px;
    background: rgba(255,255,255,.62);
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 50px rgba(0,0,0,.08);
}

#hero h1 {
    color: var(--dark);
    font-size: clamp(2.5rem, 6vw, 4.4rem);
    line-height: 1.08;
    letter-spacing: -.045em;
}

#hero p {
    margin-top: 18px;
    color: #334155;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 35px;
}


/* PRODUKTE / DIENSTLEISTUNGEN */

#services {
    background: #f8fafc;
}

#services .grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

#services .card {
    display: flex;
    flex-direction: column;
}

#services .service-image {
    width: 100%;
    height: 220px;
    margin-bottom: 24px;
    border-radius: 16px;
    object-fit: cover;
}

#services .card p {
    flex: 1;
    margin-bottom: 22px;
}


/* MEDTECH / 3D-MEDICO */

.medtech-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

.medtech-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.medtech-text > h3 {
    margin-bottom: 12px;
}

.medtech-text > p {
    color: #475569;
}

.medtech-features {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.medtech-features div {
    padding: 20px 14px;
    border-radius: 16px;
    background: #f8fafc;
    text-align: center;
}

.medtech-features strong {
    display: block;
    margin-bottom: 6px;
    color: #111827;
}

.medtech-features span {
    color: #64748b;
    font-size: .9rem;
}

.medtech-image img {
    width: 100%;
    min-height: 350px;
    border-radius: 22px;
    object-fit: cover;
}


/* AUSZEICHNUNGEN */

#auszeichnungen .grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

#services .card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px;
}

#auszeichnungen .card img {
    width: 88px;
    height: 88px;
    margin-bottom: 20px;
    object-fit: contain;
}


/* PRÄSENZEN */

#praesenzen {
    background: #f8fafc;
}


/* KONTAKT */

#contact .contact-box {
    max-width: 1050px;
    margin: 0 auto;
}


/* RESPONSIVE */

@media (max-width: 1000px) {
    #services .grid,
    #auszeichnungen .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .medtech-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #hero {
        min-height: auto;
        padding: 70px 0;
    }

    #hero .hero {
        width: 100%;
        padding: 30px 24px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions a {
        width: 100%;
    }

    #services .grid,
    #auszeichnungen .grid,
    .project-preview-grid {
        grid-template-columns: 1fr;
    }

    .medtech-features {
        grid-template-columns: 1fr;
    }

    .medtech-box {
        padding: 28px;
    }

    .medtech-image img {
        min-height: 0;
    }
}


/* PRÄSENZEN – kompakter Einstieg */
.praesenzen-action {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.hero-kicker {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
