/* =========================
   ÜBER UNS
   ========================= */


.page-label {
    margin-bottom: 12px;

    color: var(--primary);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.about-section-header {
    max-width: 850px;

    margin: 0 auto 55px;

    text-align: center;
}


.about-section-header h2 {
    margin-bottom: 18px;

    color: var(--dark);

    font-size: 38px;
    line-height: 1.2;
}


.about-section-header > p:not(.page-label) {
    color: var(--muted);

    font-size: 18px;
    line-height: 1.7;
}



/* =========================
   HERO
   ========================= */

.about-hero {
    padding: 90px 20px;

    background: var(--light);
}


.about-hero-grid {
    display: grid;

    grid-template-columns: 1.05fr 1fr;

    gap: 60px;

    align-items: center;
}


.about-hero-text h1 {
    max-width: 700px;

    margin-bottom: 24px;

    color: var(--dark);

    font-size: 54px;
    line-height: 1.08;

    letter-spacing: -0.03em;
}


.about-lead {
    max-width: 650px;

    margin-bottom: 32px;

    color: #475569;

    font-size: 20px;
    line-height: 1.8;
}


.about-hero-image img {
    width: 100%;
    height: 430px;

    object-fit: cover;

    border-radius: 28px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.12);
}



/* =========================
   MISSION
   ========================= */

.about-mission {
    background: #fff;
}


.about-mission-content {
    max-width: 850px;

    text-align: center;
}


.about-mission h2 {
    margin-bottom: 25px;

    color: var(--dark);

    font-size: 38px;
    line-height: 1.2;
}


.about-mission p:not(.page-label) {
    margin-bottom: 18px;

    color: #475569;

    font-size: 18px;
    line-height: 1.8;
}



/* =========================
   TEAM
   ========================= */

.about-team {
    background: var(--light);
}


.team-grid {
    max-width: 1150px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 24px;
}


.team-card {
    overflow: hidden;

    background: #fff;

    border: 1px solid #eef2f5;

    border-radius: 24px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.team-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.1);
}


.team-image {
    height: 260px;

    padding: 20px;

    display: flex;

    align-items: flex-end;
    justify-content: center;

    background: #f1f5f9;
}


.team-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


.team-content {
    padding: 26px;
}


.team-content h3 {
    margin-bottom: 6px;

    color: #111827;

    font-size: 24px;
}


.team-role {
    margin-bottom: 5px;

    color: var(--primary);

    font-weight: 700;
}


.team-focus {
    min-height: 46px;

    margin-bottom: 18px;

    color: #64748b;

    font-size: 14px;
}


.team-content > p:last-child {
    color: #475569;

    font-size: 15px;
    line-height: 1.7;
}



/* =========================
   KNOW-HOW
   ========================= */

.about-knowhow {
    background: #fff;
}


.knowhow-grid {
    max-width: 1100px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 28px;
}


.knowhow-card {
    overflow: hidden;

    background: #fff;

    border: 1px solid #eef2f5;

    border-radius: 24px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.05);
}


.knowhow-image {
    height: 300px;

    padding: 25px;

    background: var(--light);

    display: flex;

    align-items: center;
    justify-content: center;
}


.knowhow-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


.knowhow-content {
    padding: 30px;
}


.product-label {
    margin-bottom: 8px;

    color: var(--primary);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.07em;
    text-transform: uppercase;
}


.knowhow-content h3 {
    margin-bottom: 12px;

    color: #111827;

    font-size: 25px;
}


.knowhow-content > p:not(.product-label) {
    margin-bottom: 20px;

    color: #475569;

    line-height: 1.7;
}



/* =========================
   KNOW-HOW DETAILS
   ========================= */

.knowhow-details {
    margin: 20px 0;

    border-top: 1px solid #e2e8f0;
}


.knowhow-details summary {
    padding: 17px 0;

    color: var(--primary);

    font-weight: 600;

    cursor: pointer;
}


.knowhow-details dl {
    margin: 0;
}


.knowhow-details dl > div {
    display: grid;

    grid-template-columns:
        minmax(170px, 42%)
        minmax(0, 1fr);

    gap: 18px;

    align-items: start;

    padding: 11px 0;

    border-top: 1px solid #eef2f5;
}


.knowhow-details dt {
    min-width: 0;

    color: #111827;

    font-weight: 600;

    line-height: 1.45;

    overflow-wrap: break-word;
}


.knowhow-details dd {
    min-width: 0;

    margin: 0;

    color: #475569;

    line-height: 1.45;

    overflow-wrap: break-word;
}



/* =========================
   KOMPETENZEN
   ========================= */

.about-competences {
    background: var(--light);
}


.competence-grid {
    max-width: 1100px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}


.competence-card {
    position: relative;

    overflow: hidden;

    padding: 32px;

    background: #fff;

    border: 1px solid #eef2f5;

    border-radius: 24px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.competence-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            #00c6ff
        );

    transform: scaleX(0);

    transform-origin: left;

    transition: transform 0.3s ease;
}


.competence-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.1);
}


.competence-card:hover::before {
    transform: scaleX(1);
}


.competence-card > span {
    display: block;

    margin-bottom: 17px;

    color: var(--primary);

    font-size: 27px;
    font-weight: 700;
}


.competence-card h3 {
    margin-bottom: 11px;

    color: #111827;

    font-size: 21px;
}


.competence-card p {
    color: #475569;

    line-height: 1.7;
}



/* =========================
   KONTAKT
   ========================= */

.about-contact {
    background: #fff;
}


.about-contact-box {
    max-width: 1100px;

    margin: 0 auto;

    padding: 48px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 50px;

    background: var(--light);

    border: 1px solid #eef2f5;

    border-radius: 28px;
}


.about-contact-box h2 {
    max-width: 650px;

    margin: 0 0 15px;

    color: var(--dark);

    font-size: 34px;

    text-align: left;
}


.about-contact-box p:not(.page-label) {
    max-width: 650px;

    color: #475569;

    font-size: 17px;
}



/* =========================
   TABLET
   ========================= */

@media (max-width: 900px) {

    .about-hero-grid {
        grid-template-columns: 1fr;
    }


    .about-hero-text {
        text-align: center;
    }


    .about-hero-text h1,
    .about-lead {
        margin-left: auto;
        margin-right: auto;
    }


    .about-hero .hero-buttons {
        justify-content: center;
    }


    .team-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .knowhow-grid {
        grid-template-columns: 1fr;
    }


    .competence-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .about-contact-box {
        flex-direction: column;

        text-align: center;
    }


    .about-contact-box h2 {
        text-align: center;
    }

}



/* =========================
   MOBILE
   ========================= */

@media (max-width: 600px) {

    .about-hero {
        padding: 65px 20px;
    }


    .about-hero-text h1 {
        font-size: 36px;
    }


    .about-lead {
        font-size: 17px;
    }


    .about-hero-image img {
        height: 300px;
    }


    .about-section-header h2,
    .about-mission h2 {
        font-size: 30px;
    }


    .team-grid,
    .competence-grid {
        grid-template-columns: 1fr;
    }


    .team-image {
        height: 300px;
    }


    .knowhow-image {
        height: 260px;
    }


    .knowhow-details dl > div {
        grid-template-columns: 1fr;

        gap: 4px;
    }


    .about-contact-box {
        padding: 30px 24px;
    }


    .about-contact-box .btn-primary {
        width: 100%;

        text-align: center;
    }

}