/* ==========================================================================
   exateq GmbH - Modern Corporate Homepage Styles
   ========================================================================== */

.homeMainContainer {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 10px 60px 10px;
}

.sectionHeader {
    margin-bottom: 45px;
}

.sectionHeader.textCenter {
    text-align: center;
}

.sectionHeader.textCenter h2,
.sectionHeader.textCenter h3,
.sectionHeader.textCenter p {
    text-align: center;
}

.sectionBadge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(85, 100, 170, 0.12);
    color: var(--blue);
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.sectionTitle {
    color: var(--blue) !important;
    font-size: clamp(1.8rem, 2.6vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
}

.sectionSubtitle {
    color: #333333 !important;
    font-size: clamp(1.2rem, 1.6vw, 1.5rem);
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 12px;
}

.sectionDescription {
    color: #555555;
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 780px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   4. Stats / Value Highlights Bar
   -------------------------------------------------------------------------- */
.statsSection {
    margin-top: -45px;
    position: relative;
    z-index: 10;
    margin-bottom: 70px;
}

.statsGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.statCard {
    padding: 26px 20px;
    text-align: center;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(85, 100, 170, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.statCard:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(85, 100, 170, 0.15);
}

.statNumber {
    font-size: clamp(2.2rem, 3.2vw, 3rem);
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 8px;
}

.statLabel {
    font-size: 0.98rem;
    font-weight: 600;
    color: #4b5563;
    line-height: 1.35;
}

/* --------------------------------------------------------------------------
   5. Company Intro Section
   -------------------------------------------------------------------------- */
.introSection {
    margin-bottom: 85px;
}

.introGrid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.introTextCard {
    padding: 40px;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.introLead {
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 16px;
    line-height: 1.45;
}

.introBody {
    font-size: 1.05rem;
    color: #555555;
    line-height: 1.65;
    margin-bottom: 26px;
}

.introCta {
    display: flex;
    align-items: center;
}

.introVisualCard {
    position: relative;
}

.imageStack {
    position: relative;
    padding: 15px;
}

.imageWrapper {
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

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

.imageWrapper:hover img {
    transform: scale(1.03);
}

.primaryImage {
    width: 88%;
    height: 380px;
    margin-left: auto;
}

.secondaryImage {
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 60%;
    height: 220px;
    border: 4px solid #ffffff;
    z-index: 2;
}

.experienceBadge {
    position: absolute;
    top: 20px;
    left: 10px;
    z-index: 3;
    background: #ffffff;
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 4px solid var(--blue);
}

.badgeYears {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
}

.badgeText {
    font-size: 0.8rem;
    font-weight: 700;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-top: 4px;
}

/* --------------------------------------------------------------------------
   6. Core Competencies Section
   -------------------------------------------------------------------------- */
.competenciesSection {
    margin-bottom: 85px;
}

.competenciesGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.competencyCard {
    padding: 32px 24px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(85, 100, 170, 0.08);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.competencyCard:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(85, 100, 170, 0.14);
    border-color: rgba(85, 100, 170, 0.3);
}

.cardIconWrapper {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: rgba(85, 100, 170, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.cardIconWrapper img {
    width: 50px;
    height: 50px;
}

.competencyCard h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 12px;
    line-height: 1.3;
}

.competencyCard p {
    font-size: 0.98rem;
    color: #555555;
    line-height: 1.55;
}

/* --------------------------------------------------------------------------
   7. Products Showcase Section
   -------------------------------------------------------------------------- */
.productsSection {
    margin-bottom: 85px;
}

.productsGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.productShowcaseCard {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.productShowcaseCard:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(85, 100, 170, 0.18);
    border-color: rgba(85, 100, 170, 0.35);
}

.productImageWrapper {
    position: relative;
    width: 100%;
    height: 220px;
    background-color: #f8f9fc;
    overflow: hidden;
}

.productImageWrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.productShowcaseCard:hover .productImageWrapper img {
    transform: scale(1.06);
}

.productPill {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(4px);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.productContent {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.productContent .productTitle {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 10px;
    line-height: 1.25;

    padding-bottom: 10px;
}

.productContent .productDesc {
    font-size: 0.96rem;
    color: #555555;
    line-height: 1.55;
    margin-bottom: 20px;
    flex-grow: 1;
}

.productContent .productLink {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.productShowcaseCard:hover .productContent .productLink {
    transform: translateX(5px);
}

.productsOverviewAction {
    margin-top: 20px;
}

/* --------------------------------------------------------------------------
   8. Target Industries Section
   -------------------------------------------------------------------------- */
.industriesSection {
    margin-bottom: 85px;
}

.industriesGrid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.industryCard {
    padding: 24px 18px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.industryCard:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(85, 100, 170, 0.15);
    border-color: rgba(85, 100, 170, 0.3);
}

.industryIcon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(85, 100, 170, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: background 0.3s ease;
}

.industryCard:hover .industryIcon {
    background: rgba(85, 100, 170, 0.15);
}

.industryIcon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.industryCard h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 8px;
}

.industryCard p {
    font-size: 0.88rem;
    color: #666666;
    line-height: 1.45;
}

/* --------------------------------------------------------------------------
   9. News & Insights Section
   -------------------------------------------------------------------------- */
.newsSection {
    margin-bottom: 85px;
}

.homeNewsGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 35px;
}

.homeNewsGrid .newsItem {
    margin: 0;
    width: 100%;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.homeNewsGrid .newsItem:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(85, 100, 170, 0.12);
}

.homeNewsGrid .newsImage {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 18px;
}

.homeNewsGrid .newsDate {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--blue);
    padding: 0 24px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.homeNewsGrid .newsText {
    font-size: 0.98rem;
    color: #4b5563;
    line-height: 1.6;
    padding: 0 24px 24px 24px;
    margin-bottom: 0;
}

.homeNewsGrid .sourceNews {
    padding: 0 24px;
    font-size: 0.9rem;
    color: var(--blue);
    margin-bottom: 12px;
}

.newsAction {
    margin-top: 10px;
}

/* --------------------------------------------------------------------------
   11. Memberships
   -------------------------------------------------------------------------- */

.membershipsContainer{
    display: flex;
    flex-direction: column;
    align-items: start;
}

.memberships{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;

}

.memberships img{
    width: 200px;
    height: 100px;
    object-fit: contain;

    padding: 8px;
}

/* --------------------------------------------------------------------------
   11. Responsive Breakpoints
   -------------------------------------------------------------------------- */

/* Large Tablets & Small Laptops (max-width: 1050px) */
@media screen and (max-width: 1050px) {
    .statsGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .introGrid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .primaryImage {
        width: 100%;
        height: 320px;
    }

    .secondaryImage {
        width: 50%;
        height: 180px;
        bottom: -15px;
    }

    .competenciesGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .productsGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .industriesGrid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

/* Tablets (max-width: 768px) */
@media screen and (max-width: 768px) {

    .homeMainContainer {
        width: 94%;
        padding: 0 5px 40px 5px;
    }

    .statsSection {
        margin-top: -30px;
        margin-bottom: 50px;
    }

    .introTextCard {
        padding: 28px 20px;
    }

    .homeNewsGrid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .industriesGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Devices (max-width: 540px) */
@media screen and (max-width: 540px) {
    .statsGrid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .competenciesGrid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .productsGrid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .industriesGrid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .secondaryImage {
        display: none;
    }

    .primaryImage {
        width: 100%;
        height: 240px;
    }
}
