/* =========================
   ORTHIMALE
   ========================= */


/* =========================
   GEMEINSAM
   ========================= */

.page-label {
    margin-bottom: 12px;

    color: var(--primary);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.section-header-orthimale {
    max-width: 850px;

    margin: 0 auto 55px;

    text-align: center;
}


.section-header-orthimale h2 {
    margin-bottom: 18px;

    color: var(--dark);

    font-size: 38px;
    line-height: 1.2;
}


.section-header-orthimale > p:not(.page-label) {
    color: #64748b;

    font-size: 18px;
    line-height: 1.7;
}



/* =========================
   HERO
   ========================= */

.orthimale-hero {
    padding: 90px 20px;

    background: var(--light);
}


.orthimale-hero-grid {
    display: grid;

    grid-template-columns: 1.05fr 1fr;

    gap: 60px;

    align-items: center;
}


.orthimale-hero-text h1 {
    max-width: 650px;

    margin-bottom: 24px;

    color: var(--dark);

    font-size: 54px;
    line-height: 1.08;

    letter-spacing: -0.03em;
}


.orthimale-lead {
    max-width: 650px;

    margin-bottom: 32px;

    color: #475569;

    font-size: 20px;
    line-height: 1.8;
}


.orthimale-hero-image img {
    width: 100%;
    height: 440px;

    object-fit: cover;

    border-radius: 28px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.12);
}



/* =========================
   EINLEITUNG
   ========================= */

.orthimale-intro {
    background: #fff;
}


.orthimale-intro-content {
    max-width: 850px;

    text-align: center;
}


.orthimale-intro h2 {
    margin-bottom: 25px;

    color: var(--dark);

    font-size: 38px;
}


.orthimale-intro-content > p:not(.page-label) {
    margin-bottom: 18px;

    color: #475569;

    font-size: 18px;
    line-height: 1.8;
}



/* =========================
   VARIANTEN
   ========================= */

.orthimale-varianten {
    background: var(--light);
}


.varianten-grid {
    max-width: 1100px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 28px;
}


.variante-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;
}


.variante-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.1);
}


.variante-image {
    height: 420px;

    padding: 25px 25px 0;

    background: #f8fafc;

    display: flex;

    align-items: flex-end;
    justify-content: center;
}


.variante-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


.variante-content {
    padding: 25px;

    text-align: center;
}


.variante-content h3 {
    color: #111827;

    font-size: 24px;
}



/* =========================
   VORTEILE
   ========================= */

.orthimale-vorteile {
    background: #fff;
}


.orthimale-benefit-grid {
    max-width: 1100px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


.orthimale-benefit-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;
}


.orthimale-benefit-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: 0.3s ease;
}


.orthimale-benefit-card:hover::before {
    transform: scaleX(1);
}


.orthimale-benefit-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.1);
}


.benefit-number {
    display: block;

    margin-bottom: 18px;

    color: var(--primary);

    font-size: 28px;
    font-weight: 700;
}


.orthimale-benefit-card h3 {
    margin-bottom: 12px;

    color: #111827;

    font-size: 21px;
}


.orthimale-benefit-card p {
    color: #475569;

    line-height: 1.7;
}



/* =========================
   VIDEO
   ========================= */

.orthimale-video-section {
    background: var(--light);
}


.orthimale-video-box {
    max-width: 1100px;

    margin: 0 auto;

    padding: 45px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 50px;

    background: #fff;

    border: 1px solid #eef2f5;
    border-radius: 28px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.05);
}


.orthimale-video-box h2 {
    margin: 0 0 12px;

    text-align: left;

    color: var(--dark);

    font-size: 32px;
}


.orthimale-video-box p:not(.page-label) {
    max-width: 600px;

    color: #475569;
}



/* =========================
   ABLAUF
   ========================= */

.orthimale-ablauf {
    background: #fff;
}


.orthimale-process-grid {
    max-width: 1100px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 28px;
}


.orthimale-process-card {
    padding: 35px;

    background: var(--light);

    border: 1px solid #eef2f5;

    border-radius: 24px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.orthimale-process-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.08);
}


.orthimale-process-card .process-number {
    width: 56px;
    height: 56px;

    margin: 0 0 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--primary);

    color: #fff;

    border-radius: 50%;

    font-size: 18px;
    font-weight: 700;

    box-shadow:
        0 8px 20px rgba(0, 153, 204, 0.25);
}


.orthimale-process-card h3 {
    margin-bottom: 14px;

    color: #111827;

    font-size: 23px;
}


.orthimale-process-card p {
    margin-bottom: 20px;

    color: #475569;

    line-height: 1.7;
}



/* =========================
   FACHANWENDER
   ========================= */

.orthimale-fachanwender {
    background: var(--light);
}


.orthimale-fachanwender
.orthimale-benefit-card {
    background: #fff;
}

/* =========================
   FACHANWENDER ICONS
   ========================= */

.fach-icon {
    width: 64px;
    height: 64px;

    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--primary);
}


.fach-icon svg {
    width: 54px;
    height: 54px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.orthimale-fachanwender
.orthimale-benefit-card {
    text-align: center;
}


.orthimale-fachanwender
.orthimale-benefit-card h3 {
    text-align: center;
}


.orthimale-fachanwender
.orthimale-benefit-card p {
    text-align: center;
}

/* =========================
   VORTEILS-ICONS
   ========================= */

.benefit-icon {
    width: 64px;
    height: 64px;

    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--primary);
}


.benefit-icon svg {
    width: 54px;
    height: 54px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================
   TECHNOLOGIEN
   ========================= */

.orthimale-technologien {
    background: #fff;
}


.technology-number {
    display: block;

    margin-bottom: 20px;

    color: var(--primary);

    font-size: 30px;
    font-weight: 700;
}

/* =========================
   ORTHIMALE ZEITSTRAHL
   ========================= */

.orthimale-timeline {
    position: relative;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 32px;

    max-width: 1150px;

    margin: 55px auto 0;
}


/* Verbindungslinie */

.orthimale-timeline::before {
    content: "";

    position: absolute;

    top: 27px;
    left: 16.666%;
    right: 16.666%;

    height: 3px;

    background: linear-gradient(
        90deg,
        rgba(0, 153, 204, 0.25),
        var(--primary),
        rgba(0, 153, 204, 0.25)
    );

    z-index: 0;
}


/* Einzelner Schritt */

.timeline-step {
    position: relative;
    z-index: 1;

    text-align: center;
}


/* Zahl auf der Linie */

.timeline-number {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 56px;
    height: 56px;

    margin: 0 auto 24px;

    border-radius: 50%;

    background: var(--primary);
    color: #fff;

    font-size: 1.25rem;
    font-weight: 700;

    box-shadow:
        0 0 0 8px #fff,
        0 8px 25px rgba(0, 153, 204, 0.22);
}


/* Inhalt */

.timeline-card {
    height: calc(100% - 80px);

    padding: 32px 26px;

    background: #fff;

    border: 1px solid #eef2f5;
    border-radius: 24px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.timeline-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.08);
}


/* Icons */

.timeline-icon {
    width: 68px;
    height: 68px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--primary);
}


.timeline-icon svg {
    width: 58px;
    height: 58px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.timeline-card h3 {
    margin-bottom: 16px;

    text-align: center;
}


.timeline-card p {
    margin: 0;

    text-align: center;
    color: var(--muted);
}


.timeline-card a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}


.timeline-card a:hover {
    text-decoration: underline;
}


/* =========================
   ZEITSTRAHL MOBIL
   ========================= */

@media (max-width: 800px) {

    .orthimale-timeline {
        display: block;

        max-width: 600px;

        margin-top: 40px;
        padding-left: 54px;
    }


    .orthimale-timeline::before {
        top: 28px;
        bottom: 28px;

        left: 27px;
        right: auto;

        width: 3px;
        height: auto;

        background: linear-gradient(
            180deg,
            rgba(0, 153, 204, 0.25),
            var(--primary),
            rgba(0, 153, 204, 0.25)
        );
    }


    .timeline-step {
        position: relative;

        margin-bottom: 35px;

        text-align: left;
    }


    .timeline-step:last-child {
        margin-bottom: 0;
    }


    .timeline-number {
        position: absolute;

        top: 0;
        left: -54px;

        width: 54px;
        height: 54px;

        margin: 0;

        box-shadow:
            0 0 0 7px #fff,
            0 8px 20px rgba(0, 153, 204, 0.18);
    }


    .timeline-card {
        height: auto;

        text-align: left;
    }


    .timeline-icon {
        margin-left: 0;
    }


    .timeline-card h3,
    .timeline-card p {
        text-align: left;
    }

}



/* =========================
   KONTAKT
   ========================= */

.orthimale-contact {
    background: var(--light);
}


.orthimale-contact-box {
    max-width: 1100px;

    margin: 0 auto;

    padding: 48px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 50px;

    background: #fff;

    border: 1px solid #eef2f5;

    border-radius: 28px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.05);
}


.orthimale-contact-box h2 {
    margin: 0 0 15px;

    max-width: 650px;

    text-align: left;

    color: var(--dark);

    font-size: 34px;
}


.orthimale-contact-box
p:not(.page-label) {
    max-width: 650px;

    color: #475569;

    font-size: 17px;
}



/* =========================
   TABLET
   ========================= */

@media (max-width: 900px) {

    .orthimale-hero-grid {
        grid-template-columns: 1fr;
    }


    .orthimale-hero-text {
        text-align: center;
    }


    .orthimale-hero-text h1,
    .orthimale-lead {
        margin-left: auto;
        margin-right: auto;
    }


    .orthimale-hero .hero-buttons {
        justify-content: center;
    }


    .varianten-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .orthimale-benefit-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .orthimale-process-grid {
        grid-template-columns: 1fr;
    }


    .orthimale-video-box,
    .orthimale-contact-box {
        flex-direction: column;

        text-align: center;
    }


    .orthimale-video-box h2,
    .orthimale-contact-box h2 {
        text-align: center;
    }

}



/* =========================
   MOBILE
   ========================= */

@media (max-width: 600px) {

    .orthimale-hero {
        padding: 65px 20px;
    }


    .orthimale-hero-text h1 {
        font-size: 36px;
    }


    .orthimale-lead {
        font-size: 17px;
    }


    .orthimale-hero-image img {
        height: 300px;
    }


    .section-header-orthimale h2,
    .orthimale-intro h2 {
        font-size: 30px;
    }


    .varianten-grid,
    .orthimale-benefit-grid {
        grid-template-columns: 1fr;
    }


    .variante-image {
        height: 380px;
    }


    .orthimale-benefit-card,
    .orthimale-process-card {
        padding: 27px;
    }


    .orthimale-video-box,
    .orthimale-contact-box {
        padding: 30px 24px;
    }


    .orthimale-video-box .btn-primary,
    .orthimale-contact-box .btn-primary {
        width: 100%;

        text-align: center;
    }

}