/* ==========================================================================
   Für Bewerber (Application) Page – Redesign
   Theme colors: #293262 (primary blue), #00a285 (green/teal), #fff
   ========================================================================== */

/* ── Pull the page up to remove gap between sticky nav and banner ── */
/* body:not(.home) .container has margin-top: 7.25rem for the sticky nav */
body:not(.home):has(.bewerbung-page) .container,
body:not(.home):has(.uv2-page) .container,
body:not(.home):has(.jobs-page.has-banner) .container,
body.search-results .container {
    margin-top: 0;
    padding-top: 0;
}

/* Fallback for browsers without :has() – hide any featured-hero gap */
.bewerbung-page {
    margin: 0;
    padding: 0;
}

/* ── Blue Quote Banner ── */
.bewerbung-banner {
    background-color: #293262;
    padding: 1.5rem 1rem;
}

.bewerbung-banner__inner {
    max-width: 75rem;
    margin: 0 auto;
    text-align: center;
}

.bewerbung-banner__quote {
    color: #ffffff;
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-style: italic;
    font-weight: 300;
    margin: 0;
    letter-spacing: 0.02em;
}

/* ── Jobs Search Hero Banner ── */
.jobs-search-hero {
    background: linear-gradient(135deg, #1a2050 0%, #293262 60%, #1e3a5f 100%);
    padding: 2.25rem 1.25rem;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}
.jobs-search-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #293262 0%, #00a285 100%);
}
.jobs-search-hero__inner {
    max-width: 620px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.jobs-search-hero__headline {
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-style: italic;
    font-weight: 300;
    margin: 0;
    letter-spacing: 0.02em;
    text-align: center;
}
.jobs-search-hero__headline strong {
    font-style: normal;
    font-weight: 700;
    color: #fff;
}
.jobs-search-hero__count {
    font-style: normal;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9em;
    margin-left: 0.25rem;
}
.jobs-search-hero__form {
    width: 100%;
}
/* Override input border for dark background */
.jobs-search-hero .hero-search-input {
    border-color: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}
.jobs-search-hero .hero-search-input:focus {
    border-color: #00a285 !important;
    box-shadow: 0 4px 24px rgba(0, 162, 133, 0.25);
}
/* jQuery UI Autocomplete dropdown — appears on top of dark banner */
.jobs-search-hero .ui-autocomplete {
    z-index: 9999;
}

/* ── Intro Section ── */
.bewerbung-intro {
    padding: 2.5rem 1rem 2rem;
    background: #ffffff;
}

.bewerbung-intro__inner {
    max-width: 60rem;
    margin: 0 auto;
}

.bewerbung-intro__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #293262;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.bewerbung-intro__text {
    font-size: 1rem;
    color: #333;
}

.bewerbung-intro__text p:last-child {
    margin-bottom: 0;
}

/* ── Form Section with Background Image ── */
.bewerbung-form-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 3rem 1rem;
    min-height: 500px;
}

/* Dark overlay so form text remains readable */
.bewerbung-form-section__overlay {
    position: absolute;
    inset: 0;
    background: rgba(41, 50, 98, 0.35);
    z-index: 1;
}

.bewerbung-form-section__inner {
    position: relative;
    z-index: 2;
    max-width: 60rem;
    margin: 0 auto;
}

/* ── Form Wrapper (glassmorphism card) ── */
.bewerbung-form-wrap {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* ── CF7 Form: ensure wrapping spans are block-level ── */
.bewerbung-form-wrap .wpcf7-form-control-wrap {
    display: block;
}

/* Section headings inside CF7 */
.bewerbung-form-wrap .wpcf7-form h2,
.bewerbung-form-wrap .wpcf7-form h3 {
    color: #293262;
    font-weight: 700;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
}

/* All labels */
.bewerbung-form-wrap .wpcf7-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #293262;
    margin-bottom: 0.3rem;
}

/* Text inputs, selects, textareas */
.bewerbung-form-wrap .wpcf7-form input[type="text"],
.bewerbung-form-wrap .wpcf7-form input[type="email"],
.bewerbung-form-wrap .wpcf7-form input[type="tel"],
.bewerbung-form-wrap .wpcf7-form input[type="url"],
.bewerbung-form-wrap .wpcf7-form select,
.bewerbung-form-wrap .wpcf7-form textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    background: #fff;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.bewerbung-form-wrap .wpcf7-form input:focus,
.bewerbung-form-wrap .wpcf7-form textarea:focus,
.bewerbung-form-wrap .wpcf7-form select:focus {
    border-color: #293262;
    outline: none;
    box-shadow: 0 0 0 2px rgba(41, 50, 98, 0.15);
}

/* Textareas: always span full width */
.bewerbung-form-wrap .wpcf7-form textarea {
    min-height: 100px;
    resize: vertical;
}

/* File upload */
.bewerbung-form-wrap .wpcf7-form input[type="file"] {
    font-size: 0.85rem;
}

/* Submit button */
.bewerbung-form-wrap .wpcf7-form input[type="submit"],
.bewerbung-form-wrap .wpcf7-form .wpcf7-submit {
    display: inline-block;
    background-color: #00a285;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 0.5rem;
}

.bewerbung-form-wrap .wpcf7-form input[type="submit"]:hover,
.bewerbung-form-wrap .wpcf7-form .wpcf7-submit:hover {
    background-color: #008a70;
}

/* ── CF7 response messages ── */
.bewerbung-form-wrap .wpcf7-response-output {
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
}

/* ── CF7 Form layout using actual DOM: .cf-row.double / .cf-row.single ── */

/* Override theme style.css: .wpcf7-form .cf-row { font-size: 0 } and inline-block layout */
.bewerbung-form-wrap .wpcf7-form .cf-row {
    font-size: 1rem;
}

.bewerbung-form-wrap .wpcf7-form .cf-row p {
    font-size: 1rem;
    padding: 0;
}

/* 2-column rows ("Stammdaten": Name/Vorname, Telefon/E-Mail) */
.bewerbung-form-wrap .wpcf7-form .cf-row.double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
}

.bewerbung-form-wrap .wpcf7-form .cf-row.double > p {
    width: 100%;
    display: block;
    margin: 0;
}

/* Force inputs in .double rows to fill their grid cell */
.bewerbung-form-wrap .wpcf7-form .cf-row.double input[type="text"],
.bewerbung-form-wrap .wpcf7-form .cf-row.double input[type="email"],
.bewerbung-form-wrap .wpcf7-form .cf-row.double input[type="tel"] {
    width: 100%;
    display: block;
}

/* Single-column rows ("Berufliches Profil": Lebenslauf, Tätigkeitsfelder, etc.) */
.bewerbung-form-wrap .cf-row.single {
    margin-bottom: 0.75rem;
}

.bewerbung-form-wrap .cf-row.single > p {
    margin: 0;
}

/* Honeypot field */
.bewerbung-form-wrap .wpcf7-form > p:has(.hp-message) {
    display: none;
}

/* Section headings: Stammdaten, Berufliches Profil */
.bewerbung-form-wrap .wpcf7-form > h2 {
    color: #293262;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1rem 0 0.5rem;
}

.bewerbung-form-wrap .wpcf7-form > h2:first-of-type {
    margin-top: 0;
}

/* Submit button wrapper */
.bewerbung-form-wrap .wpcf7-form > p:last-of-type {
    text-align: center;
    margin-top: 1rem;
}

/* #customer-numbers wrapper spacing */
.bewerbung-form-wrap #customer-numbers {
    margin-bottom: 0.25rem;
}

/* Timer info */
.bewerbung-form-wrap #timer-info {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #666;
}

/* ── Desktop: wider padding ── */
@media screen and (min-width: 64em) {
    .bewerbung-form-wrap {
        padding: 2.5rem 3rem;
    }
}

/* ── Mobile: single-column fallback for .double rows too ── */
@media screen and (max-width: 39.9375em) {
    .bewerbung-form-wrap .wpcf7-form .cf-row.double {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Kacheln / Tiles Section
   ========================================================================== */

.bewerbung-tiles {
    background: #ffffff;
    padding: 3rem 1rem;
}

/* Legacy grid wrapper (Unternehmen tiles if reused) */
.bewerbung-tiles__inner {
    max-width: 60rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

/* ── Masonry layout (Für Bewerber) ── */
.bewerbung-masonry {
    max-width: 60rem;
    margin: 0 auto;
    columns: 1;
    column-gap: 1.5rem;
}

.bewerbung-tile {
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.58);
    color: #333;
    border-radius: 12px;
    padding: 1.5rem 1.75rem 1.25rem;
    display: inline-block;
    width: 100%;
    box-shadow:
        0 2px 12px rgba(41, 50, 98, 0.09),
        0 8px 28px rgba(41, 50, 98, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.bewerbung-tile::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #293262 0%, #00a285 100%);
    border-radius: 12px 12px 0 0;
}

.bewerbung-tile:hover {
    transform: translateY(-4px);
    box-shadow:
        0 6px 24px rgba(41, 50, 98, 0.16),
        0 14px 40px rgba(41, 50, 98, 0.10);
    border-color: rgba(255, 255, 255, 0.85);
}

.bewerbung-tile h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: #293262;
}

.bewerbung-tile p {
    font-size: 1.05rem;
    margin: 0 0 0.75rem;
    color: #333;
}

.bewerbung-tile p:last-of-type {
    margin-bottom: 0;
}

.bewerbung-tile ul {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0 0 0.75rem;
}

.bewerbung-tile ul li {
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 0.35rem;
}

/* Definition list for process steps */
.bewerbung-tile__steps {
    margin: 0;
}

.bewerbung-tile__steps dt {
    font-weight: 700;
    color: #293262;
    font-size: 1.05rem;
    margin-top: 0.75rem;
}

.bewerbung-tile__steps dt:first-of-type {
    margin-top: 0;
}

.bewerbung-tile__steps dd {
    margin: 0.25rem 0 0 0;
    font-size: 1.05rem;
    color: #333;
}

.bewerbung-tile__link {
    display: inline-block;
    margin-top: 1rem;
    color: #293262;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: 2px solid #00a285;
    border-radius: 6px;
    padding: 0.5rem 1.5rem;
    transition: background-color 0.2s ease, color 0.2s ease;
    align-self: flex-start;
}

.bewerbung-tile__link:hover {
    background-color: #00a285;
    color: #fff;
}

/* ── Desktop: 2-column masonry ── */
@media screen and (min-width: 64em) {
    .bewerbung-masonry {
        columns: 2;
    }

    .bewerbung-tiles__inner {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .bewerbung-tile--large {
        grid-row: 1 / 3;
    }
}

/* ── Large screens ── */
@media screen and (min-width: 80em) {
    .bewerbung-form-section {
        padding: 4rem 2rem;
    }
}

/* ── Mobile adjustments ── */
@media screen and (max-width: 39.9375em) {
    .bewerbung-banner {
        padding: 1rem;
    }

    .bewerbung-form-section {
        padding: 1.5rem 0.75rem;
    }

    .bewerbung-form-wrap {
        padding: 1.25rem 1rem;
        border-radius: 8px;
    }
}

/* ==========================================================================
   Für Unternehmen – Varianten Cards, Vorteile, CTA
   ========================================================================== */

/* ── Varianten Cards (2 equal columns) ── */
.unternehmen-varianten {
    background: #ffffff;
    padding: 3rem 1rem;
}

.unternehmen-varianten__intro {
    max-width: 60rem;
    margin: 0 auto 2rem;
}

.unternehmen-varianten__heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #293262;
    margin: 0 0 0.75rem;
}

.unternehmen-varianten__intro p {
    font-size: 1.05rem;
    color: #333;
    margin: 0;
}

.unternehmen-varianten__inner {
    max-width: 60rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.unternehmen-card {
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 12px;
    padding: 1.5rem 1.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 2px 12px rgba(41, 50, 98, 0.09),
        0 8px 28px rgba(41, 50, 98, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.unternehmen-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #293262 0%, #00a285 100%);
    border-radius: 12px 12px 0 0;
}

.unternehmen-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 6px 24px rgba(41, 50, 98, 0.16),
        0 14px 40px rgba(41, 50, 98, 0.10);
    border-color: rgba(255, 255, 255, 0.85);
}

.unternehmen-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #293262;
    margin: 0 0 1rem;
}

.unternehmen-card__list {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0;
}

.unternehmen-card__list li {
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.unternehmen-card__list li:last-child {
    margin-bottom: 0;
}

@media screen and (min-width: 64em) {
    .unternehmen-varianten__inner {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── Ihre Vorteile ── */
.unternehmen-vorteile {
    background: #ffffff;
    padding: 0 1rem 3rem;
}

.unternehmen-vorteile__inner {
    max-width: 60rem;
    margin: 0 auto;
}

.unternehmen-vorteile__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #293262;
    margin: 0 0 1rem;
}

.unternehmen-vorteile__list {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0;
}

.unternehmen-vorteile__list li {
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 0.75rem;
}

.unternehmen-vorteile__list li:last-child {
    margin-bottom: 0;
}

/* ── Sprechen Sie uns an (CTA) ── */
.unternehmen-cta {
    position: relative;
    background: url('../images/mapjob_outro.png') center / cover no-repeat;
    margin-top: 0rem;
    padding: 2.5rem 1rem;
    color: #fff;
}

.unternehmen-cta::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, #293262 0%, #00a285 100%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
}

.unternehmen-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(41, 50, 98, 0.3), #293262);
    z-index: 1;
}

.unternehmen-cta__inner {
    position: relative;
    z-index: 2;
    max-width: 70rem;
    margin: 0 auto;
    padding: 0 0.9375rem;
}

.unternehmen-cta__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem;
}

.unternehmen-cta p {
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    margin: 0 0 0.5rem;
}

.unternehmen-cta p:last-child {
    margin-bottom: 0;
}

.unternehmen-cta a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.unternehmen-cta a:hover {
    color: #00a285;
}

/* ==========================================================================
   Über Uns Page  (Redesign April 2026 – Jobs-Style)
   ========================================================================== */

/* ── Section: soft gradient backdrop ── */
.ueber-uns-content {
    background: linear-gradient(135deg, #f0f2fa 0%, #ffffff 55%, #eef8f6 100%);
    padding: 3rem 1rem 3rem;
}

/* ── Hero layout ── */
.ueber-uns-hero {
    max-width: 68rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Mobile: Bild ist DOM-first → via order nach unten schieben */
.ueber-uns-hero__image { order: 2; }
.ueber-uns-hero__text  { order: 1; }

/* ── Text column ── */
.ueber-uns-hero__text {
    display: flex;
    flex-direction: column;
}

/* Category pill */
.ueber-uns-hero__text::before {
    content: 'Über uns';
    display: block;
    width: fit-content;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #00a285;
    background: rgba(0, 162, 133, 0.10);
    border-radius: 100px;
    padding: 0.2rem 0.65rem;
    margin-bottom: 1.1rem;
}

.ueber-uns-hero__text p {
    font-size: 1.2rem;
    color: #293262;
    font-weight: 600;
    padding-left: 1rem;
    border-left: 3px solid #00a285;
    margin: 0 0 1.75rem;
}

.ueber-uns-hero__text p:last-child {
    margin-bottom: 0;
}

.ueber-uns-hero__text strong {
    color: #293262;
    font-weight: 700;
}

/* ── Image: elevated ── */
.ueber-uns-hero__image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 4px 20px rgba(41, 50, 98, 0.14),
        0 12px 40px rgba(41, 50, 98, 0.08);
    transition: box-shadow 0.3s ease, transform 0.25s ease;
}

.ueber-uns-hero__image:hover {
    box-shadow:
        0 8px 30px rgba(41, 50, 98, 0.18),
        0 16px 50px rgba(0, 162, 133, 0.14);
    transform: translateY(-3px);
}

.ueber-uns-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Desktop: Bild floatet rechts, Text umfließt ── */
@media screen and (min-width: 64em) {
    .ueber-uns-hero {
        display: block;  /* float statt grid */
    }

    .ueber-uns-hero__image {
        float: right;
        width: 45%;
        max-height: 480px;
        margin: 0 0 2rem 3rem;  /* Abstand links + unten vom Text */
        order: unset;
    }

    .ueber-uns-hero__text {
        order: unset;
    }

    /* Clearfix damit die Section nicht kollabiert */
    .ueber-uns-hero::after {
        content: '';
        display: block;
        clear: both;
    }
}

/* ==========================================================================
   Über Uns V2  –  Cinematic Hero + Story + Stats
   ========================================================================== */

/* ── Page wrapper ── */
.uv2-page {
    margin: 0;
    padding: 0;
}

/* ── 1. Cinematic Hero ── */
.uv2-hero {
    position: relative;
    min-height: 52vh;
    background-color: #293262;
    background-size: cover;
    background-position: center 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.uv2-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(41, 50, 98, 0.55) 0%,
        rgba(20, 28, 64, 0.80) 100%
    );
    z-index: 1;
}

.uv2-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem 1.5rem 4rem;
    max-width: 56rem;
}

.uv2-hero__label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #00a285;
    background: rgba(0, 162, 133, 0.18);
    border: 1px solid rgba(0, 162, 133, 0.35);
    border-radius: 100px;
    padding: 0.25rem 0.85rem;
    margin-bottom: 1.25rem;
}

.uv2-hero__quote {
    font-size: clamp(1.25rem, 3.5vw, 2.1rem);
    font-style: italic;
    font-weight: 300;
    color: #ffffff;
    line-height: 1.5;
    letter-spacing: 0.01em;
    margin: 0;
}

.uv2-hero__scroll-hint {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.45);
    animation: uv2-bob 2s ease-in-out infinite;
}

@keyframes uv2-bob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── 2. Story Section ── */
.uv2-story {
    background: linear-gradient(150deg, #f4f6fb 0%, #ffffff 60%, #edf8f6 100%);
    padding: 4rem 1.25rem;
}

.uv2-story__inner {
    max-width: 68rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: flex-start;
}

/* Mobile: text first */
.uv2-story__image { order: 2; }
.uv2-story__text  { order: 1; }

/* ── Image ── */
.uv2-story__image {
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 4px 24px rgba(41, 50, 98, 0.13),
        0 16px 48px rgba(41, 50, 98, 0.08);
    flex-shrink: 0;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.uv2-story__image:hover {
    transform: translateY(-4px);
    box-shadow:
        0 8px 32px rgba(41, 50, 98, 0.18),
        0 20px 56px rgba(0, 162, 133, 0.12);
}

.uv2-story__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-height: 420px;
}

/* ── Text ── */
.uv2-story__text {
    flex: 1;
}

.uv2-pill {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #00a285;
    background: rgba(0, 162, 133, 0.10);
    border-radius: 100px;
    padding: 0.25rem 0.75rem;
    margin-bottom: 1.25rem;
}

.uv2-story__text p {
    font-size: 1.15rem;
    color: #293262;
    margin: 0 0 1.25rem;
}

.uv2-story__text p:last-child {
    margin-bottom: 0;
}

.uv2-story__text strong {
    font-weight: 700;
    color: #293262;
}

/* ── Desktop: side by side ── */
@media screen and (min-width: 64em) {
    .uv2-story__inner {
        flex-direction: row;
        align-items: flex-start;
        gap: 4rem;
    }

    .uv2-story__image {
        order: 1;
        width: 42%;
        max-width: 460px;
        flex-shrink: 0;
    }

    .uv2-story__image img {
        max-height: 520px;
    }

    .uv2-story__text {
        order: 2;
    }
}

/* ── 3. Stats Stripe ── */
.uv2-stats {
    background: linear-gradient(135deg, #00a285 0%, #007d66 100%);
    padding: 2.75rem 1.25rem;
}

.uv2-stats__inner {
    max-width: 68rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.uv2-stat {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.uv2-stat__number {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.02em;
}

.uv2-stat__label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.80);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media screen and (min-width: 40em) {
    .uv2-stats__inner {
        flex-direction: row;
        justify-content: center;
        gap: 0;
    }

    .uv2-stat {
        flex: 1;
        max-width: 220px;
        padding: 0 1.5rem;
        border-right: 1px solid rgba(255,255,255,0.25);
    }

    .uv2-stat:last-child {
        border-right: none;
    }
}

/* ── 4. CTA Section ── */
.uv2-cta {
    position: relative;
    background: url('../images/mapjob_outro.png') center / cover no-repeat;
    padding: 3rem 1.25rem;
    border-top: 4px solid #00a285;
}

.uv2-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(41, 50, 98, 0.28), #293262);
}

.uv2-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 52rem;
    margin: 0 auto;
    text-align: center;
}

.uv2-cta__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.75rem;
}

.uv2-cta__inner > p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin: 0 0 2rem;
}

.uv2-cta__contacts {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: center;
}

.uv2-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #00a285;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #00a285;
    border-radius: 8px;
    padding: 0.7rem 1.75rem;
    transition: background-color 0.2s ease, color 0.2s ease;
    min-width: 220px;
    justify-content: center;
}

.uv2-cta__btn:hover {
    background-color: #008a70;
    border-color: #008a70;
    color: #ffffff;
}

.uv2-cta__btn--outline {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255,255,255,0.6);
}

.uv2-cta__btn--outline:hover {
    background-color: rgba(255,255,255,0.12);
    border-color: #ffffff;
    color: #ffffff;
}

@media screen and (min-width: 40em) {
    .uv2-cta__contacts {
        flex-direction: row;
        justify-content: center;
    }
}
