/*
Theme Name: Getfolyo
Theme URI: https://getfolyo.com
Version: 1.0
*/

/* Wide hero car (absolute + negative right) must not widen scrollWidth of <main> */
html {
    overflow-x: hidden;
    max-width: 100%;
    /* Match body padding-top: promo + fixed header so #section anchors are not hidden under them */
    scroll-padding-top: 120px;
}

html:has(body.admin-bar) {
    scroll-padding-top: 152px;
}

/* --- Header: design 3000px, adaptive from 1220, burger < 768 --- */
/* Promo bar (30px) + fixed header (90px) */
body {
    padding-top: 120px;
    overflow-x: hidden;
}

body.admin-bar .header {
    top: 62px; /* 32 admin + 30 promo */
}

body.admin-bar {
    padding-top: 152px; /* 32 + 30 + 90 */
}

/* Promo strip (Figma: gradient + 16px Inter; CTA underlined → /career/) */
.promo-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 901;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    min-height: 30px;
    padding: 0 16px;
    box-sizing: border-box;
    background: #000;
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    text-align: center;
}

.promo-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, #023047 0%, #00B1EB 50%, #FFB703 100%);
    pointer-events: none;
}

.promo-bar__inner {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: 72rem;
}

.promo-bar__lead {
    color: #fff;
}

.promo-bar__cta {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.promo-bar__cta:hover,
.promo-bar__cta:focus-visible {
    color: #fff;
    opacity: 0.92;
    outline: none;
}

body.admin-bar .promo-bar {
    top: 32px;
}

/* WP Admin Bar: hidden on phones; keep promo + header offset (120px) */
@media screen and (max-width: 782px) {
    #wpadminbar {
        display: none !important;
    }

    html {
        margin-top: 0 !important;
    }

    body.admin-bar {
        padding-top: 120px !important; /* 30 promo + 90 header */
    }

    body.admin-bar .header {
        top: 30px !important;
    }

    body.admin-bar .promo-bar {
        top: 0;
    }
}


.header {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
    height: 90px;
    background-color: var(--Folyo-Dunkelblau, #023047);
    position: fixed;
    top: 30px;
    left: 0;
    right: 0;
    z-index: 15;
}

/* Header content flush to edges, without side container padding */
.header .header__wrapper.container,
.header__wrapper {
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
}

/* Three columns: col1 (logo), col2 (menu), col3 (language + button) */
.header__wrapper {
    display: flex;
    align-items: center;
}

.header__col1 {
    flex-shrink: 0;
}

.header__nav {
    flex: 1;
    min-width: 0;
    margin-left: 73px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__col2 {
    flex-shrink: 0;
}

/* Column 3: language switch and button aligned right, 18px gap */
.header__col3 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    margin-left: auto;
}

/* No right padding on items for exact right alignment */
.header__item {
    padding-right: 0;
}

/* Header dropdown opens to the right of item with subtle shadow */
.header__item-inner {
    left: 0;
    right: auto;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}


/* Header typography: 16px Inter bold, line-height 30px */
.header__link {
    color: #fff;
    font-size: 16px;
    font-family: Inter, sans-serif;
    font-weight: 700;
    line-height: 30px;
}

.header__link--brands.active1 {
    color: var(--Folyo-Gelb, #FFB703);
}

.header__link--brands.active1 .header__chevron {
    opacity: 1;
}

/* Driver pages: Brands & Agencies = #023047, Professional Drivers active = white */
.getfolyo-driver-page .header__link--brands {
    color: var(--Folyo-Dunkelblau, #023047);
}

.getfolyo-driver-page .header__link--drivers.active1 {
    color: #fff;
}

.header__chevron {
    vertical-align: middle;
    margin-left: 2px;
}

.header__btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 175px;
    height: 40px;
    padding: 0 1rem;
    border: 1px solid #fff;
    border-radius: 20px;
    box-sizing: border-box;
}

.header__btn-login:hover {
    color: #fff;
    opacity: 0.9;
}

.header__lang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header__mobile-top {
    display: none;
}


/* Inner page: header same 1199 band, offset from edge 136px; from 1220 scales */
.getfolyo-inner-page .header {
    background-color: var(--Folyo-Dunkelblau, #023047);
    background-image: url('assets/images/new/bg_internal.svg');
    background-size: 3000px auto;
    background-repeat: no-repeat;
    background-position: top center;
}

/* Header content max 1199px (never wider) */
.header__wrapper {
    max-width: 1199px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}


@media (max-width: 1219px) {
    .header__wrapper {
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}


@media (max-width: 767px) {
    .header .header__wrapper.container,
    .header__wrapper {
        padding-left: 15px;
        padding-right: 15px;
    }

    .getfolyo-inner-page .header__wrapper {
        max-width: 100%;
    }
}

/* Burger menu at < 768px (override main.css 991px) */
@media (min-width: 768px) {
    .header__burger {
        display: none !important;
    }

    .header__nav {
        display: flex !important;
    }
}

@media (max-width: 767px) {
    .header__nav {
        display: none !important;
        margin-left: 0;
        z-index: -1;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        overflow-y: auto;
        max-height: 100vh;
        min-height: 100vh;
        background-color: var(--Folyo-Dunkelblau, #023047);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
    }

    .header__nav.active {
        display: flex !important;
        z-index: 901;
    }

    .header__col2 {
        width: 100%;
    }

    .header__col3 {
        margin-left: 0;
        margin-top: 0;
        width: 100%;
    }

    .header__burger {
        display: flex !important;
    }

    .header__mobile-top {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        width: 100%;
        min-height: 56px;
        padding: 8px 15px 0;
        box-sizing: border-box;
    }

    .header__mobile-close {
        border: 0;
        background: transparent;
        color: #fff;
        font-size: 34px;
        line-height: 1;
        width: 40px;
        height: 40px;
        padding: 0;
        cursor: pointer;
    }

    .header__list {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin: 0;
        padding: 0 15px;
        list-style: none;
        box-sizing: border-box;
    }

    .header__item {
        width: 100%;
        padding: 0;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.08);
        overflow: hidden;
    }

    .header__item > .header__link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 48px;
        padding: 10px 14px;
        font-size: 18px;
        line-height: 1.3;
    }

    .header__item-inner {
        position: static;
        display: block;
        width: 100%;
        margin: 0;
        padding: 0 10px 12px;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }

    .header__item-inner .row {
        margin: 0;
    }

    .header__item-inner [class*="col-"] {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding: 0;
    }

    .header__inner {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        width: 100%;
        padding: 8px 8px;
        border-radius: 8px;
        color: #fff;
    }

    .header__inner + .header__inner {
        margin-top: 6px;
    }

    .header__inner-icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .header__inner-text,
    .header__inner-link {
        font-size: 14px;
        line-height: 1.35;
    }

    .header__col3 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding: 14px 15px 24px;
        box-sizing: border-box;
    }

    .header__btn-login {
        min-width: 0;
        width: auto;
        padding: 0 16px;
    }
}


/* Hide old dropdown :after (we use img.header__chevron) */
.header__item--many > a:after {
    display: none !important;
}


/* Mobile menu overlay below fixed promo + header */
@media (max-width: 767px) {
    .header__nav.active {
        padding-top: 10px;
        padding-bottom: 120px;
    }

    .promo-bar {
        font-size: 14px;
        line-height: 30px;
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* bg_internal.svg everywhere (front + inner), main starts at 0 */
body {
    background-color: var(--Folyo-Dunkelblau, #023047);
    background-image: url('assets/images/new/bg_internal.svg');
    background-size: 3000px auto;
    background-repeat: no-repeat;
    background-position: top center;
}


/* Driver section: bg_driver.svg for body and header */
body.getfolyo-driver-page {
    background-color: #023047;
    background-image: url('assets/images/driver_images/bg_driver.svg');
    background-size: 3000px auto;
    background-repeat: no-repeat;
    background-position: top center;
    min-height: 100vh;
}

.getfolyo-driver-page .header {
    background-image: url('assets/images/driver_images/bg_driver.svg');
    background-size: 3000px auto;
    background-repeat: no-repeat;
    background-position: top center;
}

.getfolyo-driver-page .hero--inner {
    background-image: url('assets/images/driver_images/bg_driver.svg');
    background-size: 3000px auto;
    background-repeat: no-repeat;
    background-position: top center;
}

.main {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    background: transparent;
    /* Do not set overflow-x here: paired with overflow-y:visible (tablet) it can force overflow-y:auto */
    width: 100%;
    max-width: 100%;
}

/* Hero: no top padding so main starts at 0 (override main.css 150px) */
.hero {
    padding-top: 0;
}

/* Inner pages: white only on the content block .inner-outer, not body */
body.getfolyo-inner-page .main {
    background: transparent;
}

/* Inner hero section uses common page background; no extra side squeeze */
.getfolyo-inner-page .hero--inner {
    box-sizing: border-box;
}

/* White inner page block: exactly 1199px on desktop */
.inner-outer {
    width: 100%;
    max-width: 1199px;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    border-radius: 10px 10px 0 0;
    box-sizing: border-box;
    padding: 0;
}

/* Starts shrinking from 1220px viewport and below */
@media (max-width: 1219px) {
    .inner-outer {
        max-width: calc(100vw * 1199 / 1220);
    }
}

@media (max-width: 767px) {
    .inner-outer {
        max-width: calc(100vw - 2rem);
    }
}

/* Gray block: max 1060px; 13px yellow bottom border; 53px bottom spacing */
.inner-inner {
    width: 100%;
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 53px;
    background: #F0F2F7;
    border-radius: 10px 10px 0 0;
    border-bottom: 13px solid var(--Folyo-Gelb, #FFB703);
    box-sizing: border-box;
    padding: 0 2rem 2rem;
}

@media (max-width: 767px) {
    .inner-inner {
        padding: 0 1rem 1.5rem;
    }
}

/* Figma colors for inner UI and banner */
:root {
    --Folyo-Dunkelblau: #023047;
    --Folyo-Gelb: #FFB703;
    --Folyo-Hellblau: #00B1FD;
    /* Prefer self-hosted Inter (@font-face in fonts.css) over Bootstrap system stack */
    --bs-font-sans-serif: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
}

/* Inner menu sits outside gray block on white .inner-outer background */
.inner-menu-bar {
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.inner-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5em 1.5em;
    min-height: 80px;
    text-align: center;
    color: var(--Folyo-Dunkelblau, #023047);
    font-size: 20px;
    font-family: Inter, sans-serif;
    font-weight: 700;
    line-height: 40px;
}

@media (max-width: 768px) {
    .inner-menu {
        font-size: clamp(0.875rem, 2vw + 14px, 20px);
        min-height: 80px;
    }
}

.inner-menu__item {
    margin: 0;
}

.inner-menu__link {
    color: var(--Folyo-Dunkelblau, #023047);
    font-weight: 700;
    text-decoration: none;
}

.inner-menu__item--active .inner-menu__link {
    color: var(--Folyo-Dunkelblau, #023047);
    text-decoration: none;
}

.getfolyo-inner-page .header--scroll .button--tertiary:hover {
    color: #000;
}


.getfolyo-inner-page .hero--inner {
    background-image: url('assets/images/new/bg_internal.svg');
    background-size: 3000px auto;
    background-repeat: no-repeat;
    background-position: top -242px center;
    background-color: #F0F2F7;
    min-height: 640px;
}

/* Driver inner pages (contact_driver, terms_driver, etc.): use bg_driver.svg, not bg_internal */
body.getfolyo-driver-page.getfolyo-inner-page .hero--inner {
    background-image: url('assets/images/driver_images/bg_driver.svg');
    background-position: top center;
    background-color: transparent;
}

.getfolyo-inner-page .hero--inner:after {
    display: none;
}

.inner {
    display: block;
}

.inner__body {
    margin-top: 1rem;
}

.inner__text {
    color: inherit;
    margin: 0;
}

/* Terms of Service: content block 995px, typography, 13px yellow bar via .inner-inner */
.terms-content {
    max-width: 995px;
    margin: 0 auto;
    padding: 0 0 2rem;
    color: #023047;
    font-family: Inter, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
}

.terms-title {
    color: #023047;
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
    margin: 0 0 1.5rem;
    text-transform: none;
}

.terms-content p {
    margin: 0 0 1rem;
    color: #023047;
    font-size: 15px;
    line-height: 20px;
}

.terms-content p:last-child {
    margin-bottom: 0;
}

.terms-content ul {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
    color: #023047;
    font-size: 15px;
    line-height: 20px;
}

.terms-content ul li {
    margin-bottom: 0.35rem;
}

.terms-content strong {
    font-weight: 700;
}

.terms-content em {
    font-style: italic;
    color: #023047;
}

.terms-content .terms-link {
    color: #023047;
    text-decoration: underline;
}

.terms-content .terms-link:hover {
    color: var(--Folyo-Hellblau, #00B1FD);
}

.terms-content .terms-footnote {
    font-size: 10px;
    line-height: 20px;
    margin-top: 1.25rem;
    color: #023047;
}

.terms-content .terms-footnote__mark {
    text-decoration: underline;
    margin-right: 0.25em;
}

/* Imprint: 3 columns, 13px bar via .inner-inner */
.imprint-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 0 2rem;
}

.imprint-cols__col {
    min-width: 0;
}

.imprint-cols__text {
    color: #023047;
    font-family: Inter, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 25px;
    margin: 0;
}

.imprint-cols__text strong {
    font-weight: 700;
}

@media (max-width: 900px) {
    .imprint-cols {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0 1.5rem;
    }
}

@media (max-width: 767px) {
    .terms-content {
        padding: 0 0 1.5rem;
        font-size: 14px;
    }

    .terms-title {
        font-size: 18px;
    }
}

/* Contact page: cards with 13px yellow bar */
.contact-inner {
    width: 100%;
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 53px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 20px;
}


.contact-card--first {
    grid-column: 1 / -1;
}

.contact-card {
    background: #F0F2F7;
    display: flex;
    flex-direction: column;
}

.contact-card--first {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.contact-card__content {
    padding: 28px 24px 24px;
    flex: 1;
    font-family: Inter, sans-serif;
}

.contact-card__label {
    color: rgba(2, 48, 71, 0.5);
    font-size: 15px;
    font-weight: 400;
    line-height: 25px;
    margin: 0 0 4px;
}

.contact-card__title {
    color: #023047;
    font-size: 20px;
    font-weight: 700;
    line-height: 35px;
    margin: 0 0 8px;
}

.contact-card__address,
.contact-card__contacts {
    color: #023047;
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    margin: 0;
}

.contact-card__contacts {
    font-size: 15px;
    line-height: 25px;
    margin-top: 8px;
}

.contact-card__link {
    color: #023047;
    text-decoration: none;
}

.contact-card__link:hover {
    color: var(--Folyo-Hellblau, #00B1FD);
}

.contact-card__bar {
    height: 13px;
    background: var(--Folyo-Gelb, #FFB703);
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 20px 0;
    }

    .contact-card--first {
        grid-column: 1;
        border-radius: 10px 10px 0 0;
    }

    .contact-card:not(.contact-card--first) {
        margin-top: 0;
    }
}

@media (max-width: 600px) {
    .contact-inner {
        margin-left: 0;
        margin-right: 0;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .contact-card__content {
        padding: 20px 16px 16px;
    }

    .contact-card__title {
        font-size: 18px;
        line-height: 28px;
    }

    .contact-card__address,
    .contact-card__contacts {
        font-size: 16px;
        line-height: 26px;
    }

    .contact-card__label {
        font-size: 14px;
    }
}

/* Career page: four separate visual blocks (per design) */
.career-static {
    width: 100%;
    margin-bottom: 0;
}

/* Heading + intro: own wrapper, outside the 3-column values grid */
.career-page-head {
    margin-bottom: 40px;
}

.career-page-head .career-block {
    margin-bottom: 0;
}

.career-block__inner--head {
    text-align: center;
}

/* Spacing between blocks — each section is its own “layer” */
.career-block {
    margin-bottom: 20px;
}

.career-block:last-child {
    margin-bottom: 24px;
}

.career-block__inner {
    width: 100%;
}

.career-block__inner--center {
    text-align: center;
}

/* Block 1: intro (PNG full width) */
.career-block__hero-img {
    display: block;
    width: 100%;
    padding-top: 40px;
    max-width: 650px;
    height: auto;
    margin: 0 auto;
}

.career-intro {
    max-width: 720px;
    margin: 20px auto 0;
    padding: 0 16px;
    box-sizing: border-box;
    text-align: center;
    color: rgba(2, 48, 71, 0.88);
    font-family: Inter, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 25px;
    word-wrap: break-word;
}

/* Block 2: three grey cards; icon absolute top-left, title + text below (full width) */
.career-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}


.career-value-card {
    position: relative;
    background: #F0F2F7;
    border-radius: 10px;
    min-height: 280px;
    padding: 0;
    box-sizing: border-box;
}

/* Space under the icon row: 40px top + ~72px icon + 20px gap before title */
.career-value-card__body {
    padding: 112px 24px 32px 24px;
    box-sizing: border-box;
}

.career-value-card__icon {
    position: absolute;
    left: 30px;
    top: 40px;
    width: auto;
    height: auto;
    max-width: 72px;
    max-height: 72px;
    object-fit: contain;
    pointer-events: none;
}

.career-value-card__title {
    margin: 0 0 12px;
    color: #023047;
    font-size: 20px;
    font-weight: 700;
    line-height: 25px;
    text-transform: none !important;
}

.career-value-card__text {
    margin: 0;
    color: #023047;
    font-size: 15px;
    font-weight: 400;
    line-height: 25px;
}

/* Block 3: single grey panel for benefits only */
.career-benefits-panel {
    background: #F0F2F7;
    border-radius: 10px;
    padding: 28px 32px 36px;
    box-sizing: border-box;
}

.career-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 28px;
    box-sizing: border-box;
}

.career-benefits-grid__item {
    display: flex;
    padding-left: 5px;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    min-height: 66px;
}


.career-block--positions-heading {
    padding-top: 45px;
}

.career-benefits-grid__icon {
    flex-shrink: 0;
    width: 56px;
    height: auto;
    max-height: 56px;
    padding: 5px;
    object-fit: contain;
    margin-top: 4px;
}

.career-benefits-grid__text {
    color: #023047;
    font-size: 15px;
    font-weight: 700;
    line-height: 25px;
}

/* Block 4: Open positions title (SVG) */
.career-positions-title-img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.career-jobs-empty {
    margin-bottom: 1rem;
}

.career-unsolicited {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    max-width: 1199px;
    margin-left: auto;
    margin-right: auto;
    color: #023047;
    font-size: 15px;
    line-height: 25px;
}

.career-unsolicited__email {
    color: var(--Folyo-Hellblau, #00B1FD);
    font-weight: 700;
    text-decoration: none;
}

.career-unsolicited__email:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .career-block {
        margin-bottom: 32px;
    }

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

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

    .career-benefits-panel {
        padding: 24px 20px;
    }
}

@media (max-width: 600px) {
    .career-value-card {
        min-height: 0;
    }

    .career-value-card__body {
        padding: 118px 20px 28px 20px;
    }

    .career-value-card__icon {
        left: 24px;
        top: 32px;
        max-width: 60px;
        max-height: 60px;
    }
}

/* Listing wrapper: same max-width as inner-inner, margin */
.listing-outer {
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 53px;
}

.listing-outer--blog .blog-cards,
.listing-outer--knowledge .knowledge-cards,
.listing-outer--career .job-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 20px;
}

.listing-outer--career .job-cards {
    margin-top: 0.5rem;
}

/* Blog listing cards */
.blog-card {
    background: #F0F2F7;
    display: flex;
    flex-direction: column;
    border-radius: 0;
}

.blog-card--first {
    border-top-left-radius: 10px;
}

.blog-card--first-row-last {
    border-top-right-radius: 10px;
}

.blog-card__content {
    min-height: 275px;
    padding: 21px 26px 24px;
    box-sizing: border-box;
    flex: 1;
    font-family: Inter, sans-serif;
    display: flex;
    flex-direction: column;
}

.blog-card__date {
    color: rgba(2, 48, 71, 0.5);
    font-size: 15px;
    font-weight: 400;
    line-height: 25px;
    margin: 0 0 8px;
}

.blog-card__link {

    color: var(--Folyo-Hellblau, #00B1FD);
    font-size: 15px;
    font-weight: 700;
    line-height: 25px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.blog-card__link .blog-card__title {
    display: block;
    color: #023047;
    padding-bottom: 100px;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    margin: 0 0 12px;
    text-transform: none !important;
}

.blog-card__link:hover {
    text-decoration: underline;
}

.blog-card__bar {
    height: 13px;
    background: var(--Folyo-Gelb, #FFB703);
    flex-shrink: 0;
}

/* Blog single page */
.inner-inner--blog-single .blog-single {
    max-width: 996px;
    margin: 0 auto;
    padding: 0 0 2rem;
}

.blog-single__back {
    margin: 0 0 1rem;
    padding-top: 20px;
    font-size: 15px;
    line-height: 25px;
    color: rgba(2, 48, 71, 0.5);
}

.blog-single__back-link {
    color: var(--Folyo-Hellblau, #00B1FD);
    font-weight: 700;
    text-decoration: none;
}

.blog-single__back-link:hover {
    text-decoration: underline;
}

.blog-single__date::before {
    content: " | ";
}

.blog-single__title {
    color: #023047;
    font-size: 20px;
    font-weight: 700;
    line-height: 35px;
    margin: 0 0 1rem;
    font-family: Inter, sans-serif;
}

.blog-single__intro {
    color: #023047;
    font-size: 15px;
    font-weight: 700;
    line-height: 25px;
    margin: 0 0 1rem;
    font-family: Inter, sans-serif;
}

.blog-single__body {
    color: #023047;
    font-size: 15px;
    line-height: 25px;
    font-family: Inter, sans-serif;
}

.blog-single__body p {
    margin: 0 0 1rem;
}

.blog-single__body strong {
    font-weight: 700;
}

/* Knowledge / Download cards */
.knowledge-card {
    background: #F0F2F7;
    display: flex;
    flex-direction: column;
    border-radius: 0;
}

.knowledge-card--first {
    border-top-left-radius: 10px;
}

.knowledge-card--first-row-last {
    border-top-right-radius: 10px;
}

.knowledge-card__image-wrap {
    width: 100%;
    aspect-ratio: 263 / 372;
    overflow: hidden;
    background: #e0e0e0;
}

.knowledge-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.knowledge-card__content {
    padding: 20px 24px 24px;
    font-family: Inter, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 140px;
}

.knowledge-card__link {
    margin-top: auto;
}

.knowledge-card__title {
    color: #023047;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    margin: 0 0 8px;
    text-transform: none !important;
}

.knowledge-card__link .knowledge-card__title {
    display: block;
    margin-bottom: 8px;
}

.knowledge-card__subtitle {
    font-weight: 400;
}

.knowledge-card__link {
    color: var(--Folyo-Hellblau, #00B1FD);
    font-size: 15px;
    font-weight: 700;
    line-height: 30px;
    text-decoration: none;
    display: inline-block;
}

.knowledge-card__link:hover {
    text-decoration: underline;
}

.knowledge-card__bar {
    height: 13px;
    background: var(--Folyo-Gelb, #FFB703);
    flex-shrink: 0;
}

/* Job cards */
.job-card {
    background: #F0F2F7;
    display: flex;
    flex-direction: column;
    border-radius: 10px 10px 0 0;
}

.job-card__wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.job-card--featured {
    min-height: 275px;
    background: #F0F2F7;
}

.job-card--featured:hover {
    background: var(--Folyo-Gelb, #FFB703);
}

.job-card__content {
    padding: 24px;
    padding-top: 30px;
    font-family: Inter, sans-serif;
}

.job-card__title {
    color: #023047;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    margin: 0 0 4px;
}

.job-card__meta,
.job-card__employment,
.job-card__location {
    color: #023047;
    font-size: 15px;
    line-height: 22px;
    margin: 0 0 4px;
}

.job-card__link {
    color: #023047;
    font-size: 15px;

    font-weight: 400;
    text-decoration: underline;
    margin-top: 48px;
    display: inline-block;
}

.job-card__wrap:hover .job-card__link {
    text-decoration: underline;
}

.job-card__bar {
    height: 13px;
    background: var(--Folyo-Gelb, #FFB703);
    flex-shrink: 0;
}

.job-card--featured .job-card__bar {
    background: #023047;
}

/* Single job / vacancy page */
.inner-inner--career-single .career-single {
    max-width: 996px;
    margin: 0 auto;
    padding: 20px 0 2rem;
}

.career-single__back {
    margin: 0 0 1.5rem;
    font-size: 15px;
}

.career-single__back-link {
    color: var(--Folyo-Hellblau, #00B1FD);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.career-single__back-link:hover {
    text-decoration: underline;
}

.career-single__back-arrow {
    font-size: 18px;
}

.career-single__title {
    color: #023047;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
    text-transform: none !important;
}

.career-single__meta {
    color: #023047;
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 1.5rem;
}

.career-single__image-wrap {
    margin: 0 0 1.5rem;
    max-width: 100%;
}

.career-single__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.career-single__link-wrap {
    margin: 0;
}

.career-single__link {
    color: var(--Folyo-Hellblau, #00B1FD);
    font-weight: 700;
    text-decoration: none;
}

.career-single__link:hover {
    text-decoration: underline;
}

/* Listing responsive */
@media (max-width: 900px) {
    .listing-outer--blog .blog-cards,
    .listing-outer--knowledge .knowledge-cards,
    .listing-outer--career .job-cards {
        grid-template-columns: 1fr;
        gap: 20px 0;
    }

    .blog-card--first,
    .blog-card--first-row-last,
    .knowledge-card--first,
    .knowledge-card--first-row-last {
        border-radius: 10px 10px 0 0;
    }
}

@media (max-width: 600px) {
    .listing-outer {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }

    .blog-card__content,
    .knowledge-card__content {
        padding: 20px 16px 16px;
    }

    .blog-card__title,
    .knowledge-card__title {
        font-size: 18px;
        line-height: 26px;
    }
}

/* CTA banner — layout and colors per Figma (3000×308, yellow | hellblau, image center) */
.banner-block {
    background-color: #F0F2F7;
    position: relative;
    min-height: 288px;
    padding-top: 58px;
    padding-bottom: 0;
    overflow: hidden;
}

.banner-block:before {
    z-index: 0;
    content: "";
    position: absolute;
    left: 0;
    top: 58px;
    width: 50%;
    height: 250px;
    background: var(--Folyo-Gelb);
}

.banner-block:after {
    z-index: 0;
    content: "";
    position: absolute;
    right: 0;
    top: 58px;
    width: 50%;
    height: 250px;
    background: var(--Folyo-Hellblau);
}

.banner-block__wrapper {
    position: relative;
    z-index: 1;
    max-width: 1199px;
    margin-left: auto;
    margin-right: auto;
}

.banner-block__row {
    min-height: 250px;
    align-items: center;
}

.banner-block__item--left {
    color: var(--Folyo-Dunkelblau);
}

.banner-block__title {
    font-size: 30px;
    font-family: Inter, sans-serif;
    font-weight: 700;
    line-height: 35px;
    color: var(--Folyo-Dunkelblau);
}

.banner-block__text {
    font-size: 20px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 40px;
    color: var(--Folyo-Dunkelblau);
}

.banner-block__text a {
    font-weight: 700;
    color: var(--Folyo-Dunkelblau);
    text-decoration: none;
}

.banner-block__text a:hover {
    text-decoration: underline;
}

/* Laptop: AOS zoom-in overwrites transform — center via flex wrapper, not translate on img */
.banner-block__image-wrap {
    position: absolute;
    left: 0;
    right: 0;
    top: -50px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
    pointer-events: none;
}

/* Image: 476×282 by Figma, centered in banner (matches yellow | blue seam at 50%) */
.banner-block__image {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    top: auto;
    transform: none;
    width: 475.59px;
    max-width: min(90vw, 476px);
    height: auto;
    max-height: 282px;
    object-fit: contain;
}

@media (max-width: 991px) {
    /* main.css hides .banner-block__image here — restore for stacked layout */
    .banner-block__image-wrap {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        display: flex;
        margin: 0 auto 1rem;
        pointer-events: auto;
    }

    .banner-block__image {
        display: block;
        width: 100%;
        max-width: 476px;
        margin: 0 auto;
    }
}

/* Buttons per Figma: 241×40, radius 20px, 16px bold */
.banner-block__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 241px;
    min-height: 40px;
    padding: 6px 24px;
    font-size: 16px;
    font-family: Inter, sans-serif;
    font-weight: 700;
    line-height: 30px;
    border-radius: 20px;
    text-decoration: none;
    box-sizing: border-box;
}

/* Advertisers: transparent, white border, white text */
.banner-block .button--tertiary {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.banner-block .button--tertiary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: #fff;
}

/* Drivers: yellow bg, dark blue border and text */
.banner-block .button--primary {
    background: var(--Folyo-Gelb);
    border: 1px solid var(--Folyo-Dunkelblau);
    color: var(--Folyo-Dunkelblau);
}

.banner-block .button--primary:hover {
    background: #e5a502;
    border-color: var(--Folyo-Dunkelblau);
    color: var(--Folyo-Dunkelblau);
}

.banner-block__button:last-child {
    margin-top: 24px;
}

@media (max-width: 767px) {
    .banner-block__button {
        width: 100%;
        max-width: 241px;
    }

    .banner-block__item-wrapper--left {
        background-color: var(--Folyo-Gelb);
    }

    .banner-block__item-wrapper--right {
        background-color: var(--Folyo-Hellblau);
    }
}

/* Video popup overlay */
#video-popup.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

#video-popup.video-overlay video {
    max-width: 90%;
    max-height: 90%;
}

body.video-overlay-active {
    overflow: hidden;
}

body.mobile-menu-open {
    overflow: hidden;
}

/* Home hero: remove extra spacing after logo block */
.hero--main-home {
    padding-top: 20px;
    padding-bottom: 0;
    position: relative;
    overflow: visible;
    margin-bottom: 0;
    background: transparent;
    /* Same grid as .hero__glow-ui so overlay/toggle share the car column width */
    --hero-grid-col1: minmax(0, 600px);
    --hero-grid-col2: minmax(0, 1fr);
    --hero-grid-gap: 40px;
    --hero-visual-top: 328px;
    --hero-visual-min-height: 380px;
    --hero-car-right: -20vw;
    --hero-car-top: -13vw;
    --hero-car-width: clamp(700px, 70vw, 1600px);
}

/* Heading background (bg1): full width, scales with wide design */
.hero--main-home .hero__bg1 {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 200px;
    z-index: 0;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
}

.hero--main-home:before,
.hero--main-home:after {
    display: none;
}

.hero--main-home .hero__container,
.hero--main-home .container {
    max-width: 1199px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    overflow: visible;
    box-sizing: border-box;
}

/* Glow UI: badge + overlay + toggle — выше backdrop в DOM; слой поверх затемнения */
.hero--main-home .hero__glow-ui {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 7;
    pointer-events: none;
    /* Match .hero__content-wrap grid: column 2 = same width as .hero__visual (overlay anchor) */
    display: grid;
    grid-template-columns: var(--hero-grid-col1) var(--hero-grid-col2);
    gap: var(--hero-grid-gap);
    align-items: start;
    box-sizing: border-box;
}

/* Якорь overlay/toggle — только колонка 2 (как у .hero__car-wrap), не на всю ширину контейнера */
.hero--main-home .hero__glow-visual-layer {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    margin-top: var(--hero-visual-top);
    min-height: var(--hero-visual-min-height);
    pointer-events: none;
    width: 100%;
    min-width: 0;
}

/* Keep content top-aligned so badge does not jump on glow toggle */
.hero--main-home .hero__content-wrap {
    display: grid;
    grid-template-columns: var(--hero-grid-col1) var(--hero-grid-col2);
    gap: var(--hero-grid-gap);
    align-items: start;
    overflow: visible;
    position: relative;
}

.hero--main-home .hero__content {
    max-width: 600px;
    padding-top: clamp(12px, 2vw, 24px);
    overflow: visible;
}

/* Single row: title.svg (badge вынесен в .hero__glow-ui) */
.hero--main-home .hero__title-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    width: min(1199px, 100vw);
    height: 160px;
    flex-shrink: 0;
}

.hero--main-home .hero__title-img {
    max-width: 800px;
    width: auto;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: left center;
}

.hero--main-home .hero__glow-ui .hero__badge-img {
    position: absolute;
    top: clamp(12px, 2vw, 24px);
    right: 0;
    width: 160px;
    height: 160px;
    flex-shrink: 0;
    object-fit: contain;
    z-index: 930;
    pointer-events: auto;
}

@media (max-width: 900px) {
    .hero--main-home .hero__title-row {
        height: auto;
        min-height: 120px;
    }

    .hero--main-home .hero__title-img {
        max-width: 100%;
    }

    .hero--main-home .hero__glow-ui .hero__badge-img {
        width: 120px;
        height: 120px;
    }
}

.hero--main-home .hero__text {
    max-width: min(759px, 95vw);
    font-family: Inter, var(--bs-font-sans-serif), sans-serif;
    font-weight: 400;
    font-size: clamp(16px, 1.2vw + 14px, 20px);
    line-height: 30px;
    letter-spacing: 0;
    padding-top: 25px;
}

.hero--driver .hero__text--blue {
    color: #023047;
}

.hero--main-home .hero__text b,
.hero--main-home .hero__text strong {
    font-weight: 700;
}

.hero--main-home .hero__buttons .button {
    min-width: clamp(140px, 14vw, 175px);
    min-height: clamp(36px, 4vw, 40px);
    border-radius: 20px;
    font-size: clamp(13px, 1.2vw + 12px, 17px);
}

.hero--main-home .hero__buttons .button--primary {
    color: #023047;
}

/* Visual car block stays in flow to preserve hero height */
.hero--main-home .hero__visual {
    position: relative;
    z-index: 6;
    flex: 1;
    margin-top: var(--hero-visual-top);
    min-height: var(--hero-visual-min-height);
    overflow: visible;
    /* Car/overlay extend over the left column; without this they steal clicks from buttons */
    pointer-events: none;
}


/* Dark backdrop behind Glow overlay (slightly transparent vs solid black — Figma) */
.hero--main-home .hero__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 6;
    pointer-events: none;
    display: none;
}

/* Backdrop между колонками в DOM: не участвует в flex-ширине колонок */
.hero--main-home .hero__content-wrap .hero__backdrop {
    flex: 0 0 0;
    width: 0;
    min-width: 0;
    align-self: stretch;
}


/* Car: opacity всегда 1; затемнение — только от backdrop поверх машины (не opacity на фото) */
.hero--main-home .hero__car-wrap {
    position: absolute;
    right: var(--hero-car-right);
    top: var(--hero-car-top);
    width: var(--hero-car-width);
    height: auto;
    aspect-ratio: 1648 / 927;
    z-index: 2;
    opacity: 1;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

.hero--main-home .hero__car {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: right top;
    vertical-align: top;
}


/* Glow overlay base position; media queries below fine-tune alignment */
.hero--main-home .hero__overlay {
    position: absolute;
    right: var(--hero-car-right);
    top: var(--hero-car-top);
    width: var(--hero-car-width);
    height: auto;
    aspect-ratio: 1648 / 927;
    z-index: 930;
    display: none;
    pointer-events: none;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

.hero--main-home .hero__overlay img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: right top;
}

@media (min-width: 1200px) {
    .hero--main-home {
        --hero-car-right: -20vw;
        --hero-car-top: -13vw;
        --hero-car-width: clamp(700px, 94vw, 1600px);
    }

    .hero--main-home .hero__title-img {
        max-width: 600px;
    }
}

@media (min-width: 1400px) {
    .hero--main-home {
        --hero-car-right: -20vw;
        --hero-car-top: -13vw;
        --hero-car-width: clamp(700px, 82vw, 1600px);
    }
}


@media (min-width: 1700px) {
    .hero--main-home {
        --hero-car-right: -20vw;
        --hero-car-top: -13vw;
        --hero-car-width: clamp(700px, 74vw, 1600px);
    }

    .hero--main-home .hero__title-img {
        max-width: 700px;
    }

}

@media (min-width: 2000px) {
    .hero--main-home {
        --hero-car-right: -20vw;
        --hero-car-top: -13vw;
        --hero-car-width: clamp(700px, 73vw, 1600px);
    }
}

@media (min-width: 2200px) {
    .hero--main-home {
        --hero-car-right: -20vw;
        --hero-car-top: -13vw;
        --hero-car-width: clamp(700px, 65vw, 1600px);
    }
}


@media (min-width: 2400px) {
    .hero--main-home {
        --hero-car-width: clamp(700px, 70vw, 1600px);
    }
}


/* Toggle: якорь — .hero__glow-visual-layer (как раньше у .hero__visual) */
.hero--main-home .hero__toggle-wrap {
    position: absolute;
    right: clamp(24px, 5vw, 80px);
    bottom: 24px;
    top: auto;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
}

.hero--main-home .hero__toggle {
    width: 52px;
    height: 32px;
    padding: 2px 4px;
    border: 0;
    border-radius: 100px;
    background: #023047;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    transition: background-color .25s ease;
}

.hero--main-home .hero__toggle-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    transition: transform .25s ease;
}

.hero--main-home .hero__toggle-label {
    color: #023047;
    font-size: clamp(14px, 2vw + 12px, 20px);
    line-height: 1.5;
    text-align: center;
}

/* Glow ON: backdrop между текстом и машиной — z-index: контент > затемнение > машина */
.hero--main-home.is-glow-on .hero__backdrop {
    display: block;
    z-index: 6;
}

.hero--main-home.is-glow-on .hero__content {
    position: relative;
    z-index: 6;
}

.hero--main-home.is-glow-on .hero__visual {
    z-index: 5;
}

.hero--main-home.is-glow-on .hero__overlay {
    display: block;
    visibility: visible;
}

.hero--main-home.is-glow-on .hero__toggle {
    background: #FFB703;
}

.hero--main-home.is-glow-on .hero__toggle-thumb {
    transform: translateX(20px);
}

.hero--main-home.is-glow-on .hero__toggle-label {
    color: #FFB703;
}

/* Monitor/laptop in the bottom-left area of content */
.hero--main-home .hero__content {
    position: relative;
}

.hero--main-home .hero__monitor {
    display: block;
    margin-top: 24px;
    margin-left: -55px;
    max-width: 500px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Block below hero: only two strips (40 + 125), FFB703 background */
.hero-bottom-block {
    background-color: #FFB703;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    padding: 0;
    box-sizing: border-box;
}

.hero-bottom-block .hero__bottom-wrap {
    position: relative;
    width: 100%;
    margin: 0;
}

.hero-bottom-block .hero__bottom-strip {
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.hero-bottom-block .hero__bottom-strip-inner {
    max-width: 1199px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;

    box-sizing: border-box;
}

/* Row 1: 40px */
.hero-bottom-block .hero__bottom-strip--text {
    height: 40px;
    min-height: 40px;
    padding: 0;
}

.hero-bottom-block .hero__bottom-strip--text .hero__bottom-strip-inner {
    display: flex;
    align-items: center;
}

.hero-bottom-block .hero__bottom-text {
    margin: 0;
    text-align: center;
    font-size: clamp(13px, 1vw + 12px, 17px);
    line-height: 1;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.85);
}

/* Row 2: 125px */
.hero-bottom-block .hero__bottom-strip--logos {
    height: 120px;
    min-height: 120px;
    padding: 0;
}

.hero-bottom-block .hero__bottom-strip--logos .hero__bottom-strip-inner {
    display: flex;
    align-items: center;
}

.hero-bottom-block .hero__bottom-companies {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* No gap between this block and the next section */
.hero-bottom-block + .section,
.hero--main-home + .section {
    margin-top: 0;
    padding-top: 0;
}

/* Driver hero: matches home car layout, no toggle; title SVG by locale */
.hero--driver .hero__title-row {
    height: auto;
    min-height: 0;
}

.hero--driver .hero__title-img--driver {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

/* Driver hero buttons: 14px on 1200-1800, 16px bold from 1800 */
.hero--driver .hero__buttons--driver .button {
    font-size: 14px;
    font-weight: 700;
}

@media (min-width: 1800px) {
    .hero--driver .hero__buttons--driver .button {
        font-size: 16px;
    }
}

.hero--driver .hero__car {
    visibility: visible;
}

.hero--driver .hero__toggle-wrap {
    display: none;
}

/* Driver bottom block: blue strip + white text, then white area with 5 logos */
.hero-bottom-block--driver {
    background-color: transparent;
}

.hero-bottom-block--driver .hero__bottom-strip--driver {
    background-size: 3000px auto;
    background-repeat: no-repeat;
    background-position: center;
}

.hero__bottom-text--white {
    color: #fff !important;
}

.hero__bottom-strip--driver-logos {
    background-color: #fff;
}

.hero-bottom-block--driver + .section {
    margin-top: 0;
    padding-top: 0;
}

/* Logos evenly distributed within 1199px */
.logo-slider {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1199px;
    margin: 0 auto;
    gap: 16px;
    box-sizing: border-box;
}

.logo-slider__item {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-slider__item img {
    display: block;
    max-height: 38px;
    width: auto;
    max-width: 100%;
}

/* Tablet landscape + iPad portrait: keep desktop composition, scale proportionally */
@media (max-width: 1199px) and (min-width: 800px) {
    .hero--main-home {
        --hero-grid-col1: minmax(0, min(54vw, 560px));
        --hero-grid-gap: 24px;
        --hero-visual-top: 240px;
        --hero-visual-min-height: 300px;
        --hero-car-right: -9vw;
        --hero-car-top: -5vw;
        --hero-car-width: clamp(460px, 100vw, 900px);
    }

    .hero--main-home .hero__container,
    .hero--main-home .container {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    .hero--main-home .hero__content-wrap {
        gap: 24px;

    }

    .hero--main-home .hero__title-row {
        width: 100%;
        height: 136px;
    }

    .hero--main-home .hero__title-img {
        max-width: min(52vw, 560px);
    }

    .hero--main-home .hero__content {
        max-width: min(54vw, 560px);
    }

    .hero--main-home .hero__text {
        font-size: clamp(15px, 1vw + 11px, 20px);
        line-height: 1.5;
    }

    .hero__glow-visual-layer .hero__toggle-wrap {
        top: 300px;
    }

    .header__col1 {
        padding-left: 15px;
    }
}

/* <=1024: same composition, slightly smaller car/text to avoid overlap */
@media (max-width: 1024px) and (min-width: 800px) {
    .main,
    body.home .main,
    body.front-page .main {
        /* Prevent nested scroll container on tablet widths */
        overflow-y: visible !important;
        height: auto !important;
        max-height: none !important;
    }

    .hero--main-home {
        --hero-grid-col1: minmax(0, min(52vw, 500px));
        --hero-visual-top: 248px;
        --hero-visual-min-height: 300px;
        --hero-car-right: -76px;
        --hero-car-top: -48px;
        --hero-car-width: 900px;
    }

    .hero--main-home .hero__content {
        max-width: min(52vw, 500px);
    }

    .hero--main-home .hero__title-img {
        max-width: min(48vw, 500px);
    }

    .hero--main-home .hero__toggle-wrap {
        bottom: -26px;
    }

}

/* Small tablets/phones: stacked composition */
@media (max-width: 799px) {
    .hero--main-home .hero__content-wrap {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .hero--main-home .hero__glow-ui {
        display: block;
    }

    .hero--main-home .hero__title-row {
        justify-content: center;
    }

    .hero--main-home .hero__content {
        max-width: 100%;
        text-align: center;
    }

    .hero--main-home .hero__glow-visual-layer {
        grid-column: auto;
        width: 100%;
        margin-top: 0;
        min-height: 400px;
        height: auto;
    }

    .hero--main-home .hero__visual {
        order: -1;
        margin-top: 0;
        min-height: 400px;
        height: auto;
    }

    .hero--main-home .hero__car-wrap {
        position: relative;
        right: auto;
        width: min(90vw, 600px);
        margin: auto;
        max-height: none;
    }

    .hero--main-home .hero__overlay {
        position: relative;
        right: auto;
        width: 90vw;
        margin: auto;
    }

    .hero--main-home .hero__overlay img {
        width: 100%;
        height: auto;
    }

    .hero--main-home .hero__toggle-wrap {
        right: 50%;
        transform: translateX(50%);
        bottom: 24px;
    }
}

/*
 * Home <=768px: tighter vertical spacing (based on old_bitrix main.css @media max-width: 768px).
 * Desktop/tablet above 768px stay unchanged. Section template inline paddings use !important.
 */
@media (max-width: 768px) {
    .hero--main-home {
        padding-top: 8px;
        height: 600px;
        min-height: 600px;
        box-sizing: border-box;
    }

    .hero__text {
        font-size: 14px !important;
    }

    .hero--main-home .hero__content {
        padding-top: 8px;
    }

    .hero--main-home .hero__monitor {
        margin-left: 0;
    }

    .hero--main-home .hero__visual {
        display: none !important;
    }

    .hero--main-home .hero__glow-visual-layer {
        display: none !important;
    }

    .hero--main-home .hero__glow-ui .hero__badge-img {
        display: none !important;
    }

    .hero--main-home .hero__container,
    .hero--main-home .container {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    .hero--main-home .hero__title-img {
        max-width: 80%;
    }

    .block-2__col--left,
    .block-2__col--right {
        min-height: 358px;
    }

    .block-2__container {
        padding-top: 40px;
    }

    .block-2 {
        padding-bottom: 40px;
        min-height: 0;
    }

    .block-3-glow {
        min-height: 0;
        padding-top: 40px;
        padding-bottom: 36px;
    }

    .testimonials-s11__header {
        padding-top: 36px !important;
        padding-bottom: 44px !important;
    }

    .products-s10__header {
        padding-top: 36px !important;
        padding-bottom: 36px !important;
    }

    .fleet-s7__header {
        padding-top: 36px !important;
        padding-bottom: 56px !important;
    }

    .addons-s6__header {
        padding-top: 36px !important;
        padding-bottom: 24px !important;
    }

    .addons-s6__bottom {
        margin-top: 36px !important;
        padding-bottom: 40px !important;
    }

    .measurement-s5__header {
        padding-top: 36px !important;
        margin-bottom: 24px !important;
    }

    .measurement-s5__text p {
        padding-bottom: 16px !important;
    }

    .benefits-s4 {
        padding-top: 36px;
    }

    .benefits-s4__col-content {
        padding-top: 78px !important;
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 16px;
    }

    .footer {
        padding: 115px 0 115px !important;
    }

    .container, .container-fluid, .container-xxl, .container-xl, .container-lg, .container-md, .container-sm {
        --bs-gutter-x: 0 !important;
    }

    .banner-block {
        min-height: 0;
        padding-top: 32px;
    }

    .banner-block:before,
    .banner-block:after {
        top: 32px;
    }
}

/* ========== Block 2: Measurable advertising (title2 + two columns + buttons) ========== */
.block-2 {
    background-color: #F5F5F5;
    padding-top: 0;
    min-height: 1000px;
    padding-bottom: 60px;
}

.block-2__container {
    max-width: 1199px;
    margin: 0 auto;
    padding: 72px 0 0;
    box-sizing: border-box;
}

.block-2__title-img {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 0;
    margin-bottom: 40px;
}

.block-2__cols {
    display: flex;
    gap: 24px;
    min-height: 652px;
    margin-bottom: 32px;
}

/* Desktop: block 1 rounded on left; block 2 rounded on right */
.block-2__col {
    flex: 1;
    min-width: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    isolation: isolate;
}

.block-2__col--left {
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.block-2__col--right {
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.block-2__col-inner {
    padding: 131px 32px 32px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.block-2__col-inner,
.block-2__col-inner .block-2__col-title,
.block-2__col-inner .block-2__col-text {
    text-align: center;
}

.block-2__col-text {
    font-size: 1.1rem;
}

.block-2__col-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    object-fit: contain;
}

.block-2__col--left .block-2__col-icon {
    filter: brightness(0) invert(1);
}

.block-2__col--left .block-2__col-title,
.block-2__col--left .block-2__col-text {
    color: #fff;
}

.block-2__col--right .block-2__col-title,
.block-2__col--right .block-2__col-text {
    color: var(--Folyo-Dunkelblau, #023047);
}

.block-2__col-title {
    font-family: Inter, sans-serif;
    font-size: clamp(24px, 2.5vw, 30px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 16px;
    text-align: center;
}

.block-2__col-text {
    font-family: Inter, sans-serif;
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    max-width: 520px;
    text-align: center;
}

.block-2__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.block-2__btn {
    min-width: 175px;
    height: 40px;
    border-radius: 20px;
    border: 1px solid var(--Folyo-Dunkelblau, #023047);
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
}

.block-2__btn--primary {
    background: #FFB703;
    color: var(--Folyo-Dunkelblau, #023047);
}

.block-2__btn--secondary {
    background: rgba(255, 183, 3, 0);
    color: var(--Folyo-Dunkelblau, #023047);
}

.block-2__btn:hover {
    opacity: 0.9;
}

@media (max-width: 900px) {
    .block-2__cols {
        flex-direction: column;
    }

    /* Mobile: both blocks have all four corners rounded */
    .block-2__col--left,
    .block-2__col--right {
        border-radius: 24px;
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
        border-bottom-left-radius: 24px;
        border-bottom-right-radius: 24px;
    }

    .block-2__col-inner {
        min-height: 220px;
        padding: 32px 24px;
    }
}

/* ========== Block 3: Glow Wraps section (sect3 bg, logo, text, two cols, buttons) ========== */
.block-3-glow {
    position: relative;
    min-height: 1100px;
    padding: 72px 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.block-3-glow__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.block-3-glow__container {
    position: relative;
    z-index: 1;
    max-width: 1199px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.block-3-glow__logo {
    max-width: 420px;
    width: 100%;
    height: auto;
    margin-bottom: 32px;
    display: block;
}

.block-3-glow__text {
    max-width: 600px;
    margin: 0 auto 40px;
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    word-wrap: break-word;
}

.block-3-glow__text-bold {
    font-weight: 700;
}

.block-3-glow__cols {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.block-3-glow__col {
    flex: 0 1 auto;
    max-width: 420px;
}

.block-3-glow__col-img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.block-3-glow__col-img--video {
    cursor: pointer;
}

.block-3-glow__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
}

.block-3-glow__btn {
    min-width: 175px;
    height: 40px;
    padding: 0 1rem;
    border-radius: 20px;
    border: 1px solid var(--Folyo-Gelb, #FFB703);
    background: rgba(255, 183, 3, 0);
    color: var(--Folyo-Gelb, #FFB703);
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.block-3-glow__btn:hover {
    opacity: 0.9;
    color: var(--Folyo-Gelb, #FFB703);
}

@media (max-width: 900px) {
    .block-3-glow__cols {
        flex-direction: column;
        align-items: center;
    }

    .block-3-glow__col {
        max-width: 100%;
    }
}

/* --- Section 4: Benefits (Why Folyo? Your Advantages) --- */
.benefits-s4 {
    background: #fff;
    padding-top: 70px;
    box-sizing: border-box;
}

.benefits-s4__inner {
    display: flex;
    flex-direction: column;
}

.benefits-s4__title {
    margin: 0 0 0 0;
    padding: 0;
    text-align: center;
    line-height: 0;
    font-size: 0;
}

.benefits-s4__title img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.benefits-s4__cols {
    display: flex;
    gap: 19px;
    margin-top: 70px;
    height: 818px;
    align-items: stretch;
}

.benefits-s4__col {
    flex: 1;
    min-width: 0;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.benefits-s4__col:first-child {
    border-radius: 12px 0 0 12px;
}

.benefits-s4__col:nth-child(2) {
    border-radius: 0;
}

.benefits-s4__col:last-child {
    border-radius: 0 12px 12px 0;
}

.benefits-s4__col-content {
    padding: 124px 20px 20px 20px;
    font-family: Inter, sans-serif;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    box-sizing: border-box;
}


.benefits-s4__col--light .benefits-s4__col-content {
    color: var(--Folyo-Dunkelblau, #023047);
}

.benefits-s4__col--dark .benefits-s4__col-content {
    color: #fff;
}

.benefits-s4__col-content .benefits-s4__col-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 40px;
    display: block;
    margin-bottom: 0.25em;
}

.benefits-s4__col-content {
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
}

@media (max-width: 900px) {
    .benefits-s4__cols {
        flex-direction: column;
        margin-top: 40px;
        height: auto;
    }

    .benefits-s4__col {
        height: 280px;
        min-height: 280px;
        border-radius: 12px;
    }

    .benefits-s4__col:first-child,
    .benefits-s4__col:nth-child(2),
    .benefits-s4__col:last-child {
        border-radius: 12px;
    }
}

/* Driver section 2: "This is how much you can earn" — SVG title, full-width image, two blocks, CTA */
.driver-sect2 {
    background-color: #F4F7FA;
    padding-top: 70px;
    padding-bottom: 90px;
}

.driver-sect2__inner {
    max-width: 1199px;
    margin-left: auto;
    margin-right: auto;
}

.driver-sect2__title {
    margin: 0 0 40px;
    text-align: center;
}

.driver-sect2__title-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.driver-sect2__image-wrap {
    width: 100%;

}

.driver-sect2__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.driver-sect2__blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    gap: 40px 24px;
    margin-bottom: 220px;
}

.driver-sect2__block {
    width: 100%;
    max-width: 600px;
    text-align: center;
}

@media (max-width: 767px) {
    .driver-sect2__blocks {
        grid-template-columns: 1fr;
    }
}

.driver-sect2__block-title {
    color: var(--Folyo-Dunkelblau, #023047);
    font-size: 30px;
    font-family: Inter, sans-serif;
    font-weight: 700;
    line-height: 35px;
    margin: 0 0 0.25em;
}

.driver-sect2__block-desc {
    color: var(--Folyo-Dunkelblau, #023047);
    font-size: 20px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 40px;
    margin: 0;
}

.driver-sect2__block-desc b {
    font-weight: 700;
}

.driver-sect2__cta {
    text-align: center;
}

.driver-sect2__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 175px;
    min-height: 40px;
    border-radius: 20px;
    font-size: 16px;
    font-family: Inter, sans-serif;
    font-weight: 700;
    line-height: 30px;
    color: var(--Folyo-Gelb, #FFB703);
    background: var(--Folyo-Dunkelblau, #023047);
    border: 1px solid var(--Folyo-Dunkelblau, #023047);
}

.driver-sect2__btn:hover {
    color: var(--Folyo-Gelb, #FFB703);
    background: #012a3d;
    border-color: #012a3d;
}

/* Driver section 3: "How to become a Folyo Driver" — SVG title, subheadline, 3 cols, requirements, CTA */
.driver-sect3 {
    background-color: #F0F2F7;
    padding-top: 70px;
    padding-bottom: 74px;
}

.driver-sect3__inner {
    max-width: 1199px;
    margin-left: auto;
    margin-right: auto;
}

.driver-sect3__title {
    margin: 0 0 32px;
    text-align: center;
}

.driver-sect3__title-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.driver-sect3__subhead {
    max-width: 650px;
    margin: 0 auto 83px;
    text-align: center;
    color: var(--Folyo-Dunkelblau, #023047);
    font-size: 20px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 30px;
}

.driver-sect3__subhead b {
    font-weight: 700;
}

.driver-sect3__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 69px;
}

.driver-sect3__col {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 310px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.driver-sect3__col-content {
    text-align: center;
    max-width: 390px;
    width: 100%;
    padding-top: 40px;
}

.driver-sect3__col-content--light {
    color: #fff;
}

.driver-sect3__col-content--light .driver-sect3__col-title,
.driver-sect3__col-content--light .driver-sect3__col-body {
    color: #fff;
}

.driver-sect3__col-content--dark {
    color: var(--Folyo-Dunkelblau, #023047);
}

.driver-sect3__col-content--dark .driver-sect3__col-title,
.driver-sect3__col-content--dark .driver-sect3__col-body {
    color: var(--Folyo-Dunkelblau, #023047);
}

.driver-sect3__col-title {
    font-size: 30px;
    font-family: Inter, sans-serif;
    font-weight: 700;
    line-height: 30px;
    margin: 0 0 0.35em;
}

.driver-sect3__col-body {
    font-size: 20px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 30px;
    margin: 0;
}

.driver-sect3__col-body b {
    font-weight: 700;
}

.driver-sect3__req {
    text-align: center;
    margin-bottom: 74px;
}

.driver-sect3__req-label {
    color: var(--Folyo-Dunkelblau, #023047);
    font-size: 20px;
    font-family: Inter, sans-serif;
    font-weight: 700;
    line-height: 30px;
    margin: 0 0 0.25em;
}

.driver-sect3__req-list {
    color: var(--Folyo-Dunkelblau, #023047);
    font-size: 20px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    line-height: 30px;
    margin: 0;
}

.driver-sect3__cta {
    text-align: center;
}

.driver-sect3__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 175px;
    min-height: 40px;
    border-radius: 20px;
    font-size: 16px;
    font-family: Inter, sans-serif;
    font-weight: 700;
    line-height: 30px;
    color: var(--Folyo-Gelb, #FFB703);
    background: var(--Folyo-Dunkelblau, #023047);
    border: 1px solid var(--Folyo-Dunkelblau, #023047);
}

.driver-sect3__btn:hover {
    color: var(--Folyo-Gelb, #FFB703);
    background: #012a3d;
    border-color: #012a3d;
}

@media (max-width: 767px) {
    .driver-sect3__cols {
        grid-template-columns: 1fr;
    }

    .driver-sect3__col {
        min-height: 280px;
    }
}

/* ——— Driver registration (/en/register_driver/, /de/register_driver/) ——— */
.driver-reg {
    max-width: 820px;
    margin: 0 auto 80px;
    padding: 0 16px;
    box-sizing: border-box;
}

.driver-reg__title-wrap {
    max-width: 480px;
    margin: 0 auto 24px;
    text-align: center;
}

.driver-reg__title-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.driver-reg__sheet {
    background: #fff;
    width: 820px;
    border-radius: 10px 10px 0 0;
    padding: 0px;
    box-sizing: border-box;
}

.driver-reg__section-title {
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 40px;
    color: #023047;
    margin: 0 0 8px;
    text-align: left;
}

.driver-reg__section-title--spaced {
    margin-top: 28px;
}

.driver-reg__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
}

.driver-reg__field--full {
    grid-column: 1 / -1;
}

.driver-reg__form {
    padding: 32px 24px 40px;
    box-sizing: border-box;
}

/* Google-style floating labels */
.driver-reg__float {
    position: relative;
    display: block;
}

.driver-reg__label--float {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    font-family: Inter, sans-serif;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 400;
    color: rgba(2, 48, 71, 0.5);
    pointer-events: none;
    transition: top 0.2s ease, transform 0.2s ease, font-size 0.2s ease, color 0.2s ease;
    max-width: calc(100% - 30px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.driver-reg__field:focus-within .driver-reg__label--float,
.driver-reg__field--has-value .driver-reg__label--float,
.driver-reg__float .driver-reg__input:not(:placeholder-shown) + .driver-reg__label--float {
    top: 10px;
    transform: translateY(0);
    font-size: 12px;
    line-height: 1.2;
    color: rgba(2, 48, 71, 0.65);
}

.driver-reg__field.is-invalid .driver-reg__label--float {
    color: rgba(229, 57, 53, 0.85);
}

.driver-reg__field.is-invalid:focus-within .driver-reg__label--float,
.driver-reg__field.is-invalid.driver-reg__field--has-value .driver-reg__label--float,
.driver-reg__field.is-invalid .driver-reg__float .driver-reg__input:not(:placeholder-shown) + .driver-reg__label--float {
    color: rgba(229, 57, 53, 0.9);
}

@media (prefers-reduced-motion: reduce) {
    .driver-reg__label--float {
        transition: none;
    }
}

.driver-reg__input {
    width: 100%;
    box-sizing: border-box;
    min-height: 56px;
    padding: 22px 14px 10px 14px;
    background: #f0f2f7;
    border-radius: 10px;
    border: 0.3px solid #023047;
    font-family: Inter, sans-serif;
    font-size: 16px;
    color: #023047;
}

.driver-reg__input::placeholder {
    color: transparent;
}

/* WebKit autofill → animationstart so floating label moves up */
@keyframes driver-reg-autofill {
    from {
        opacity: 0.99;
    }

    to {
        opacity: 1;
    }
}

.driver-reg__input:-webkit-autofill {
    animation-name: driver-reg-autofill;
    animation-duration: 0.001s;
}

.driver-reg__field.is-invalid .driver-reg__input {
    border-color: #e53935;
    box-shadow: 0 0 0 1px #e53935;
}

.driver-reg__field-error {
    min-height: 1.25em;
    margin: 6px 0 0;
    font-size: 14px;
    color: #e53935;
    font-family: Inter, sans-serif;
}

.driver-reg__field-error--terms {
    margin-top: 8px;
    margin-left: 30px;
}

.driver-reg__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
}

.driver-reg__terms {
    flex: 1;
    min-width: 220px;
}

.driver-reg__terms-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-family: Inter, sans-serif;
    font-size: 15px;
    line-height: 25px;
    color: #023047;
    margin: 0;
}

.driver-reg__checkbox {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #023047;
}

.driver-reg__terms-text strong {
    font-weight: 700;
}

.driver-reg__terms-link {
    color: #023047;
    text-decoration: underline;
}

.driver-reg__terms.is-invalid .driver-reg__checkbox {
    outline: 2px solid #e53935;
    outline-offset: 2px;
}

.driver-reg__submit {
    min-width: 175px;
    height: 40px;
    padding: 0 24px;
    border-radius: 20px;
    border: 1px solid #ffb703;
    background: #ffb703;
    color: #023047;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 30px;
    cursor: pointer;
}

.driver-reg__submit:hover {
    filter: brightness(0.97);
}

.driver-reg__banner-error {
    color: #e53935;
    font-family: Inter, sans-serif;
    font-size: 15px;
    margin: 0 auto 16px;
    max-width: 820px;
    text-align: center;
}

/* Success replaces title + form */
.driver-reg--success {
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
}


.driver-reg__success-panel {
    min-height: 425px;
    background: #f0f2f7;
    border-radius: 10px 10px 0 0;
    padding: 120px 24px 56px;
    box-sizing: border-box;
}

.driver-reg__success-body {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}


.driver-reg__success-icon {
    display: block;
    margin: 0 auto 16px;
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.driver-reg__success-heading {
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 40px;
    color: #023047;
    margin: 0 0 8px;
}

.driver-reg__success-sub {
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 40px;
    color: #023047;
    margin: 0;
}

.driver-reg__success-bar {
    height: 13px;
    background: #ffb703;
}


@media (max-width: 640px) {
    .driver-reg__sheet {
        width: 100%;
    }

    .driver-reg__grid {
        grid-template-columns: 1fr;
    }

    .driver-reg__field--full {
        grid-column: 1;
    }

    .driver-reg__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .driver-reg__submit {
        width: 100%;
    }

    .driver-reg__field-error--terms {
        margin-left: 0;
    }
}

/* ——— Newsletter /en/newsletter/, /de/newsletter/ ——— */
.nl-page-inner {
    background: transparent;
}

.nl-block {
    max-width: 1060px;
    margin: 0 auto 80px;
    padding: 0 16px;
    box-sizing: border-box;
}

.nl-block__svg-wrap {
    text-align: center;
    margin-bottom: 20px;
}

.nl-block__svg {
    max-width: min(100%, 520px);
    height: auto;
    display: inline-block;
    vertical-align: top;
}

.nl-block__panel {
    background: #f0f2f7;
    border-radius: 10px 10px 0 0;
    padding: 36px 24px 28px;
    box-sizing: border-box;
}

.nl-block__title {
    font-family: "CC Ultimatum", sans-serif;
    font-style: italic;
    font-weight: 900;
    font-size: 30px;
    line-height: 40px;
    text-align: center;
    color: #023047;
    margin: 0 0 4px;
}

.nl-block__lead {
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 40px;
    text-align: center;
    color: #023047;
    margin: 0 0 28px;
}

.nl-block__banner-error {
    text-align: center;
    color: #e53935;
    font-size: 15px;
    margin: 0 0 16px;
    font-family: Inter, sans-serif;
}

.nl-block__row {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    max-width: 656px;
    margin: 0 auto 20px;
}

.nl-block__field--email {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.nl-block__float {
    position: relative;
    flex: 1;
    min-width: 0;
    display: block;
}

.nl-block__label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    color: rgba(2, 48, 71, 0.5);
    pointer-events: none;
    transition: top 0.2s ease, transform 0.2s ease, font-size 0.2s ease, color 0.2s ease;
    max-width: calc(100% - 24px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nl-block__field:focus-within .nl-block__label,
.nl-block__field--has-value .nl-block__label,
.nl-block__float .nl-block__input:not(:placeholder-shown) + .nl-block__label {
    top: 7px;
    transform: translateY(0);
    font-size: 11px;
    color: rgba(2, 48, 71, 0.6);
}

.nl-block__field.is-invalid .nl-block__label {
    color: rgba(229, 57, 53, 0.85);
}

@media (prefers-reduced-motion: reduce) {
    .nl-block__label {
        transition: none;
    }
}

.nl-block__input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-height: 40px;
    height: 40px;
    padding: 16px 14px 6px 14px;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 20px 0 0 20px;
    border-right: none;
    font-family: Inter, sans-serif;
    font-size: 16px;
    color: #023047;
}

.nl-block__input::placeholder {
    color: transparent;
}

@keyframes nl-autofill {
    from {
        opacity: 0.99;
    }

    to {
        opacity: 1;
    }
}

.nl-block__input:-webkit-autofill {
    animation-name: nl-autofill;
    animation-duration: 0.001s;
}

.nl-block__field.is-invalid .nl-block__input {
    border-color: #e53935;
    box-shadow: 0 0 0 1px #e53935;
}

.nl-block__submit {
    flex: 0 0 175px;
    min-height: 40px;
    padding: 0 12px;
    background: #ffb703;
    border: 1px solid #ffb703;
    border-radius: 0 20px 20px 0;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 30px;
    color: #023047;
    cursor: pointer;
}

.nl-block__submit:hover {
    filter: brightness(0.97);
}

.nl-block__field-error {
    min-height: 1.2em;
    margin: 6px 0 0;
    font-size: 13px;
    color: #e53935;
    font-family: Inter, sans-serif;
}

.nl-block__terms {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.nl-block__terms-row {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    text-align: left;
    font-family: Inter, sans-serif;
    font-size: 15px;
    line-height: 25px;
    color: #023047;
    margin: 0;
}

.nl-block__checkbox {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #023047;
    background: #fff;
}

.nl-block__terms-text strong {
    font-weight: 700;
}

.nl-block__terms-link {
    color: #023047;
    text-decoration: underline;
}

.nl-block__terms.is-invalid .nl-block__checkbox {
    outline: 2px solid #e53935;
    outline-offset: 2px;
}

.nl-block__field-error--terms {
    margin-top: 8px;
    text-align: center;
}

.nl-block__accent {
    height: 13px;
    background: #ffb703;
}

.nl-success .driver-reg__success-heading {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .nl-block__row {
        flex-direction: column;
        max-width: 100%;
    }

    .nl-block__input {
        border-radius: 20px;
        border-right: 1px solid #fff;
        border-bottom: none;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .nl-block__submit {
        flex: 1 1 auto;
        width: 100%;
        border-radius: 0 0 20px 20px;
        border-top: none;
    }
}

/* --- AOS companion: hover / focus micro-motion (respects reduced motion via transitions only when allowed) --- */
@media (prefers-reduced-motion: no-preference) {
    .button,
    .addons-s6__btn,
    .block-2__btn,
    .block-3-glow__btn,
    .nl-block__submit,
    .driver-reg__submit,
    .header__btn-login,
    .banner-block__button {
        transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    }

    .button:hover,
    .button:focus-visible,
    .addons-s6__btn:hover,
    .addons-s6__btn:focus-visible,
    .block-2__btn:hover,
    .block-2__btn:focus-visible,
    .block-3-glow__btn:hover,
    .block-3-glow__btn:focus-visible,
    .nl-block__submit:hover,
    .nl-block__submit:focus-visible,
    .driver-reg__submit:hover,
    .driver-reg__submit:focus-visible,
    .header__btn-login:hover,
    .header__btn-login:focus-visible,
    .banner-block__button:hover,
    .banner-block__button:focus-visible {
        transform: translateY(-2px);
    }

    .contact-card,
    .job-card .job-card__wrap,
    .blog-card,
    .knowledge-card,
    .career-value-card,
    .career-benefits-grid__item,
    .testimonials-s11__card,
    .products-s10__card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .contact-card:hover,
    .blog-card:hover,
    .knowledge-card:hover,
    .career-value-card:hover,
    .testimonials-s11__card:hover {
        transform: translateY(-4px);
    }

    .job-card .job-card__wrap:hover,
    .job-card .job-card__wrap:focus-within {
        transform: translateY(-3px);
    }

    .inner-menu__link {
        transition: color 0.2s ease, opacity 0.2s ease;
    }

    .header__inner {
        transition: background-color 0.2s ease, transform 0.2s ease;
    }

    .header__inner:hover {
        transform: translateX(2px);
    }
}

.header__lang {
    position: relative;
}

.header__lang-tooltip {
    position: absolute;
    left: 50%;
    top: calc(100% + 8px);
    transform: translateX(-50%) translateY(-4px);
    background: rgba(2, 48, 71, 0.95);
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1.2;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 30;
}

.header__lang:hover .header__lang-tooltip,
.header__lang:focus-visible .header__lang-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 992px) {
    .header__lang-tooltip {
        display: none;
    }
}
