/* general rule for service and career pages  */

.text-gray {
    color: gray;
}

/* ==============Start============== */

.hero {
    width: 100%;
    /* VERIFY 2026-08-30: min() als moderater Floor. Der Inhalt (Bild bzw. die um
       160px versetzte Karte) bestimmt die Hoehe – kein Leerraum mehr, weil der
       Versatz jetzt via margin-top zaehlt (siehe .hero-title). */
    min-height: min(55vh, 480px);
    height: auto;
    margin-bottom: 50px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    justify-content: start;
    background: var(--green);
    min-height: min(30vh, 280px);
    padding: 30px;
    border-radius: 128px 3px 128px 3px;
    z-index: 11;
    position: relative;
    /* VERIFY 2026-08-30: margin-top statt top:160px -> der Versatz zaehlt zur
       Container-Hoehe, .hero wird inhaltsgetrieben (keine Lucke nach dem Hero,
       egal wie lang der Titel ist). Optik identisch. */
    top: 0;
    margin-top: 160px;
    left: 0px;
    width: 125%;
    /* background: radial-gradient(circle at center, #fff 0%, #20928a 100%) !important; */
}

.hero-title>* {
    padding-left: 20px;
    padding-top: 10px;
}

.hero-title .display-4 {
    font-size: 2.5rem;
    color: #fff;
}

.hero-title p {
    font-size: 1.5rem;
    color: #fff;
}

.service-hero-image img {
    border-radius: 3px 64px 3px 128px;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.card-section {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 20px;
    border-left: 5px solid var(--green);
}

.text-highlight {
    color: var(--green);
    text-align: left;
}

.image-section {
    background-color: var(--lightgreen_bg);
}

.image-section,
.image-section-3 {
    width: 100%;
    /* VERIFY 2026-08-30: kleiner Floor – der Inhalt (+ py-5 des inneren Rows)
       bestimmt die Hoehe. Vorher blieb 42vh (auf iPad Pro Portrait ~574px)
       grosser Leerraum unter dem Inhalt. */
    min-height: min(42vh, 300px);
    height: auto;
}


.services-first-section-img {
    width: 50%;
    height: 50%;
    transform: scale(2.5);
}


.services-second-section-img {
    width: 100%;
    height: 100%;
    transform: scale(1);
}

.services-third-section-img {
    width: 50%;
    height: 50%;
    transform: scale(1.5);
}

.med_exams_services_page_fourth_img {
    width: 50%;
    height: auto;
    transform: scale(1.5);
}

.numbered-list {
    background-color: rgba(128, 128, 128, 0.062);
    padding: 15px;
    border-left: 4px solid var(--green);
    border-radius: 1px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: gray !important;
}

.numbered-list strong {
    color: var(--green);
    font-weight: bold;
}

.numbered-list strong i {
    font-size: 20px;
    vertical-align: text-top;
}


.disclaimer-wrapper {
    position: relative;
    border: 2px solid var(--orange);
    padding: 20px auto;
    border-top: none;
    border-bottom: none;
}

.disclaimer {
    color: var(--orange);
    font-weight: bold;
    text-transform: uppercase;
}


.service-page-verify-stamp {
    width: 200px;
    height: 200px;
    margin: 1rem auto;
    display: block;
}

/* only on business dev page */
.techniques-technologies {
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.techniques-technologies h2 {
    color: var(--green);
    text-align: center;
    margin-bottom: 20px;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.tech-list span {
    background-color: var(--green);
    color: #e1e1e1;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Staggering the animation */
.tech-list span:nth-child(4n+1) {
    animation-delay: 0s;
}

.tech-list span:nth-child(4n+2) {
    animation-delay: 0.25s;
}

.tech-list span:nth-child(4n+3) {
    animation-delay: 0.5s;
}

.tech-list span:nth-child(4n+4) {
    animation-delay: 0.75s;
}

.frm_submit {
    display: grid;
    justify-content: center;
    align-self: center;
}

.cta-text-img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-page-rocket-img {
    width: 50px;
    height: auto;
    transform: rotateZ(34deg);
}


/* only career page */

.career-display-2-headline {
    font-size: 1.875em;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 20px;
    text-align: left;
}

.career-display-2-text {
    font-size: 1em;
    color: gray;
    margin-bottom: 30px;
    text-align: left;
}

.job-card-salary {
    color: var(--green) !important;
}

.page-id-143 .card-text {
    font-size: 14px !important;
}

.job-description {
    font-size: 14px;
}

/* VERIFY 2026-08-31: Apply-Now-Button auf .vh-btn umgestellt -> Zentrier-Hook
   an inline-flex anpassen (block + auto-margin zentriert die Pille sonst nicht). */
.job-card-btn {
    display: flex;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 100%;
    margin: 4px auto 0;
}

/* ---- Job-list pagination --------------------------------------------------
   Icon + number only, no words. `direction: ltr` so it reads the same in
   both languages ( ‹  1  2  › ) instead of the layout flipping. Chevrons
   are drawn in CSS (the FA subset has no chevron glyph). */
#career-pagination {
    direction: ltr;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#career-pagination .page-item {
    margin: 0;
}

#career-pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(32, 146, 138, 0.28);
    border-radius: 10px;
    background: #fff;
    color: gray;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

#career-pagination .page-link:hover {
    background: var(--lightgreen_bg);
    color: var(--green);
    border-color: var(--green);
}

#career-pagination .page-item.active .page-link {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

#career-pagination .page-link:focus {
    outline: none;
}
#career-pagination .page-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(32, 146, 138, 0.3);
}

/* prev / next – CSS chevron, direction-locked */
#career-pagination .page-nav .page-link {
    padding: 0;
    font-size: 0;
}
#career-pagination .page-nav .page-link::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border: solid currentColor;
    border-width: 2px 2px 0 0;
}
#career-pagination .page-prev .page-link::before {
    transform: translateX(2px) rotate(-135deg);   /* ‹ */
}
#career-pagination .page-next .page-link::before {
    transform: translateX(-2px) rotate(45deg);    /* › */
}

/* end of career page */


/* only contact us page  */
.section-title-contact-page {
    text-transform: uppercase;
    font-size: 1.75em;
    padding-bottom: 17px;
    color: var(--green);
    text-wrap: nowrap;
    text-align: center;
}

.map-wrapper-contact-page {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* VERIFY 2026-08-31: .acf-map (style.css) hat margin: 0 1rem -> die Map klebt
   links statt mittig. Nur auf der Contact-Seite im Wrapper zentrieren, die
   Breite (95%) bleibt. Front-Page-Map (.map-wrapper .acf-map) bleibt unberuehrt. */
.map-wrapper-contact-page .acf-map {
    margin-left: auto;
    margin-right: auto;
}

/* end of contact us page  */


@media screen and (max-width: 992px) {

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

    .hero-title-wrapper {
        width: 100%;
        order: 2;
    }

    .hero-title {
        color: gray;
        background: none;
        top: 0;
        left: 0;
        width: 100%;
        flex-direction: column;
        border: 2px solid var(--green);
        max-width: 720px;
        margin: 30px 0px 0px 0px;
        /* VERIFY 2026-08-30: rechts Luft + sanftere Kurve, sonst laeuft der Text
           auf schmalen Handys aus der Box (128px-Radius fraesst die halbe Breite). */
        padding: 18px 24px 22px;
        border-radius: 24px 3px 24px 3px;
        overflow-wrap: break-word;
        word-break: break-word;
        justify-content: start;
        height: auto;
        min-height: auto;
    }

    /* die asymmetrischen Links-Einzuege raus -> gleichmaessig ueber das
       card-padding, damit rechts nichts ueberlaeuft */
    .hero-title > * {
        padding-left: 0;
        padding-right: 0;
    }

    .hero-title .display-4 {
        font-size: clamp(1.6rem, 6.2vw, 2rem);
        color: var(--green);
        padding-left: 0;
    }

    .hero-title p {
        font-size: clamp(1.05rem, 4.4vw, 1.2rem);
        color: gray;
        padding-left: 0;
    }

    .hero-image-wrapper {
        display: flex;
        justify-content: center;
        width: 100%;
        order: 1;
    }

    .service-hero-image img {
        width: 100%;
        height: auto;
        max-width: 720px;
        margin: auto;
    }

    .hero {
        width: 100%;
        height: auto;
        /* tighten the gap between the hero and the first content block on
           mobile (was hero mb 50px + .hero-row my-5 48px + next .my-5 48px,
           all collapsing to ~50px). */
        margin-bottom: 0;
    }

    .hero-row.my-5 {
        margin-bottom: 22px !important;
    }

    .hero + .container.my-5 {
        margin-top: 0 !important;
    }

    .card-section {
        border: 1px solid #e0e0e0;
        border-top: 5px solid var(--green);
    }

    .first-section-row,
    .third-section-row {
        flex-direction: column-reverse;
    }

    .services-first-section-img {
        transform: scale(2);
        margin-bottom: 50px
    }

    .services-second-section-img {
        width: 100%;
        height: 100%;
        transform: scale(0.75);
    }

    .services-third-section-img {
        transform: scale(1);
        margin-bottom: 50px;
    }

    .med_exams_services_page_fourth_img {
        transform: scale(1);
        margin-bottom: 50px;
    }

    .numbered-list,
    .text-highlight {
        text-align: left;
    }

    /* only career page */
    .career-display-2-text {
        margin-bottom: 15px;
    }

    /* end of career page */
}




@media screen and (max-width: 767px) {

    /* only contact us page */
    .map-wrapper-contact-page {
        width: 95%;
    }

    /* end of contact us page */


}