.speedy-logo, .speedy-banderole {
    display: block;
    max-width: 420px;
    width: 100%;
    height: auto
}

.speedy-banderole {
    margin-top: 0
}

.speedy-brand-block {
    max-width: 640px;
    margin: auto
}

.speedy-brand-block img {
    display: block;
    width: 100%;
    height: auto
}

.speedy-form label {
    display: block;
    margin: .75rem 0
}

.speedy-form input, .speedy-form select, .speedy-form textarea {
    display: block;
    width: 100%;
    max-width: 700px;
    padding: .7rem
}

.speedy-header nav a, .footer-wrapper nav a {
    margin-right: 1rem
}

/* Speedy homepage variant 1 */
.speedy-home-hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(8, 12, 18, .94) 0%, rgba(8, 12, 18, .78) 48%, rgba(8, 12, 18, .18) 100%), url('/fileadmin/Speedy/demo-assets/img/hero/hero_bg_1_1_indicator.jpg') center/cover no-repeat;
    color: #fff;
    padding: 110px 0
}

.speedy-hero-copy {
    max-width: 760px
}

.speedy-home-hero h1 {
    font-size: clamp(2.7rem, 5vw, 5.2rem);
    line-height: 1.02;
    color: #fff;
    margin: 0 0 24px
}

.speedy-kicker {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 700;
    margin-bottom: 14px
}

.speedy-lead {
    font-size: 1.25rem;
    line-height: 1.65
}

.speedy-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px
}

.speedy-home-section {
    padding: 90px 0
}

.speedy-home-section h2 {
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    margin-bottom: 28px
}

.speedy-section-intro {
    max-width: 800px;
    font-size: 1.1rem;
    margin-bottom: 38px
}

.speedy-card-grid, .speedy-feature-grid, .speedy-process-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 24px
}

.speedy-card, .speedy-feature-grid > div, .speedy-process-grid > div {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    padding: 30px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .06)
}

.speedy-card i, .speedy-feature-grid i {
    font-size: 2.2rem;
    margin-bottom: 20px
}

.speedy-card h3, .speedy-feature-grid h3, .speedy-process-grid h3 {
    font-size: 1.25rem
}

.speedy-center {
    text-align: center;
    margin-top: 36px
}

.speedy-home-about, .speedy-home-process {
    background: #f5f5f5
}

.speedy-split {
    display: grid;
    grid-template-columns:1.05fr .95fr;
    gap: 60px;
    align-items: center
}

.speedy-image img {
    width: 100%;
    height: auto;
    display: block
}

.speedy-feature-grid {
    grid-template-columns:repeat(3, 1fr)
}

.speedy-process-grid > div span {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    background: #111;
    color: #fff;
    margin-bottom: 18px
}

.speedy-home-reviews {
    text-align: center
}

.speedy-quote {
    max-width: 850px;
    margin: 0 auto;
    padding: 42px;
    background: #111;
    color: #fff
}

.speedy-quote i {
    font-size: 2rem;
    margin-bottom: 18px
}

.speedy-quote p {
    font-size: 1.45rem;
    line-height: 1.55
}

.speedy-note {
    font-size: .9rem;
    opacity: .65;
    margin: 18px auto 0;
    max-width: 760px
}

.speedy-home-cta {
    background: #111;
    color: #fff
}

.speedy-home-cta h2 {
    color: #fff
}

.speedy-home-cta .container {
    max-width: 900px;
    text-align: center
}

.speedy-home-cta .speedy-actions {
    justify-content: center
}

@media (max-width: 991px) {
    .speedy-card-grid, .speedy-process-grid {
        grid-template-columns:repeat(2, 1fr)
    }

    .speedy-split {
        grid-template-columns:1fr
    }

    .speedy-home-hero {
        min-height: 560px
    }
}

@media (max-width: 767px) {
    .speedy-home-hero {
        min-height: 500px;
        padding: 80px 0
    }

    .speedy-home-section {
        padding: 60px 0
    }

    .speedy-card-grid, .speedy-feature-grid, .speedy-process-grid {
        grid-template-columns:1fr
    }

    .speedy-card, .speedy-feature-grid > div, .speedy-process-grid > div {
        padding: 24px
    }
}


/* Speedy's Garage – Variante 1 */
:root {
    --speedy-accent: #F3AF0C;
    --speedy-dark: #111319;
    --speedy-black: #090b0f;
    --speedy-soft: #f4f5f6;
    --speedy-text: #24262b
}

.speedy-logo, .speedy-banderole {
    display: block;
    width: 100%;
    height: auto
}

.speedy-brand-logo {
    width: 370px;
    max-width: 38vw;
    overflow: hidden
}

.speedy-brand-logo a {
    display: block;
    background: #F3AF0C;
    padding: 9px 18px
}

.speedy-brand-logo .speedy-logo {
    width: 100%;
    max-width: none
}

.speedy-header .menu-top {
    background: var(--speedy-dark)
}

.speedy-header .header-top-area {
    border-bottom: 1px solid rgba(0, 0, 0, .08)
}

.speedy-header .menu-area {
    background: var(--speedy-black)
}

.speedy-home-hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(7, 10, 15, .96) 0%, rgba(7, 10, 15, .82) 50%, rgba(7, 10, 15, .26) 100%), url('/fileadmin/Speedy/demo-assets/img/hero/hero_bg_1_1_indicator.jpg') center/cover no-repeat;
    color: #fff;
    padding: 105px 0
}

.speedy-hero-copy {
    max-width: 790px
}

.speedy-home-hero h1 {
    font-size: clamp(3rem, 5vw, 5.25rem);
    line-height: 1.02;
    color: #fff;
    margin: 0 0 25px;
    letter-spacing: -.025em
}

.speedy-home-hero .speedy-kicker {
    color: var(--speedy-accent);
    opacity: 1
}

.speedy-home-hero .speedy-lead {
    color: #e8e8e8;
    opacity: 1;
    max-width: 700px
}

.speedy-kicker {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 800;
    margin-bottom: 14px
}

.speedy-lead {
    font-size: 1.25rem;
    line-height: 1.65
}

.speedy-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px
}

.speedy-actions .th-btn.style2 {
    background: #fff;
    color: #111
}

.speedy-actions .th-btn.style2:before {
    background: var(--speedy-accent)
}

.speedy-actions .th-btn.style2:hover {
    color: #fff
}

.speedy-home-section {
    padding: 92px 0;
    color: var(--speedy-text)
}

.speedy-home-section h2 {
    font-size: clamp(2.25rem, 3.2vw, 3.45rem);
    line-height: 1.08;
    margin-bottom: 28px;
    letter-spacing: -.02em
}

.speedy-section-intro {
    max-width: 790px;
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 40px
}

.speedy-card-grid, .speedy-feature-grid, .speedy-process-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 22px
}

.speedy-card, .speedy-feature-grid > div, .speedy-process-grid > div {
    position: relative;
    background: #fff;
    border: 0;
    padding: 32px;
    box-shadow: 0 14px 42px rgba(0, 0, 0, .07);
    transition: transform .2s ease, box-shadow .2s ease
}

.speedy-card:before, .speedy-feature-grid > div:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: var(--speedy-accent);
    transition: height .2s ease
}

.speedy-card:hover, .speedy-feature-grid > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, .11)
}

.speedy-card:hover:before, .speedy-feature-grid > div:hover:before {
    height: 100%
}

.speedy-card i, .speedy-feature-grid i {
    font-size: 2.25rem;
    color: var(--speedy-accent);
    margin-bottom: 22px
}

.speedy-card h3, .speedy-feature-grid h3, .speedy-process-grid h3 {
    font-size: 1.25rem;
    margin-bottom: 12px
}

.speedy-card p, .speedy-feature-grid p, .speedy-process-grid p {
    line-height: 1.7
}

.speedy-center {
    text-align: center;
    margin-top: 38px
}

.speedy-home-services {
    background: #f7f7f7
}

.speedy-home-about {
    background: var(--speedy-dark);
    color: #fff;
    overflow: hidden
}

.speedy-home-about h2 {
    color: #fff
}

.speedy-home-about .speedy-kicker {
    color: var(--speedy-accent)
}

.speedy-home-about .speedy-lead, .speedy-home-about p {
    color: #e3e4e6
}

.speedy-split {
    display: grid;
    grid-template-columns:.9fr 1.1fr;
    gap: 70px;
    align-items: center
}

.speedy-image {
    position: relative
}

.speedy-image:before {
    content: "";
    position: absolute;
    left: -18px;
    bottom: -18px;
    width: 45%;
    height: 55%;
    border-left: 6px solid var(--speedy-accent);
    border-bottom: 6px solid var(--speedy-accent);
    z-index: 0
}

.speedy-image img {
    position: relative;
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    z-index: 1
}

.speedy-home-features {
    background: #fff
}

.speedy-feature-grid {
    grid-template-columns:repeat(3, 1fr)
}

.speedy-home-process {
    background: #eceef0
}

.speedy-process-grid > div {
    box-shadow: none;
    border-top: 3px solid #111
}

.speedy-process-grid > div span {
    display: inline-flex;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    background: #111;
    color: #fff;
    margin-bottom: 20px
}

.speedy-process-grid > div:hover span {
    background: var(--speedy-accent)
}

.speedy-home-reviews {
    position: relative;
    text-align: center;
    background: #fff
}

.speedy-home-reviews h2 {
    margin-bottom: 34px
}

.speedy-quote {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 65px;
    background: var(--speedy-dark);
    color: #fff;
    border-bottom: 5px solid var(--speedy-accent)
}

.speedy-quote i {
    font-size: 2rem;
    color: var(--speedy-accent);
    margin-bottom: 18px
}

.speedy-quote p {
    font-size: 1.45rem;
    line-height: 1.55;
    color: #fff !important;
    opacity: 1 !important
}

.speedy-quote strong {
    color: #fff
}

.speedy-note {
    font-size: .9rem;
    color: #777;
    opacity: 1;
    margin: 20px auto 0;
    max-width: 760px
}

.speedy-home-cta {
    position: relative;
    background: linear-gradient(90deg, #0d0f13 0%, #15181e 100%);
    color: #fff;
    padding: 82px 0
}

.speedy-home-cta:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: var(--speedy-accent)
}

.speedy-home-cta h2 {
    color: #fff
}

.speedy-home-cta p {
    color: #e5e5e5
}

.speedy-home-cta .container {
    max-width: 950px;
    text-align: center
}

.speedy-home-cta .speedy-actions {
    justify-content: center
}

@media (max-width: 1199px) {
    .speedy-brand-logo {
        width: 300px
    }

    .speedy-image img {
        height: 420px
    }
}

@media (max-width: 991px) {
    .speedy-card-grid, .speedy-process-grid {
        grid-template-columns:repeat(2, 1fr)
    }

    .speedy-split {
        grid-template-columns:1fr;
        gap: 40px
    }

    .speedy-home-hero {
        min-height: 560px
    }

    .speedy-brand-logo {
        width: 250px;
        max-width: 55vw
    }
}

@media (max-width: 767px) {
    .speedy-home-hero {
        min-height: 500px;
        padding: 80px 0
    }

    .speedy-home-section {
        padding: 64px 0
    }

    .speedy-card-grid, .speedy-feature-grid, .speedy-process-grid {
        grid-template-columns:1fr
    }

    .speedy-card, .speedy-feature-grid > div, .speedy-process-grid > div {
        padding: 25px
    }

    .speedy-image img {
        height: auto
    }

    .speedy-quote {
        padding: 38px 25px
    }

    .speedy-brand-logo {
        width: 210px;
        max-width: 65vw
    }
}

/* Speedy's Garage – Variante 1 final polish */
.speedy-header .header-top-area {
    display: none !important
}

.speedy-header .menu-top.speedy-brandbar {
    padding: 14px 0;
    background: var(--speedy-dark)
}

.speedy-header .speedy-brand-logo {
    width: 330px;
    max-width: 42vw;
    margin: 0;
    overflow: visible
}

.speedy-header .speedy-brand-logo a {
    display: block;
    background: transparent;
    padding: 0
}

.speedy-header .speedy-brand-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 88px;
    object-fit: contain
}

.speedy-header-meta {
    display: flex;
    align-items: center;
    gap: 42px
}

.speedy-header .header-info_icon {
    font-size: 28px
}

.speedy-header .header-button {
    margin-left: 0
}

.speedy-header .menu-area {
    border-top: 1px solid rgba(255, 255, 255, .05)
}

.speedy-home-hero {
    min-height: 600px;
    padding: 86px 0
}

.speedy-home-hero h1 {
    font-size: clamp(3rem, 4.45vw, 4.7rem);
    max-width: 900px;
    line-height: 1.04
}

.speedy-home-services .speedy-card {
    border-bottom: 3px solid transparent
}

.speedy-home-services .speedy-card:hover {
    border-bottom-color: var(--speedy-accent)
}

.speedy-home-process .speedy-process-grid > div {
    border-top-color: #111
}

.speedy-home-process .speedy-process-grid > div span {
    background: var(--speedy-accent)
}

.speedy-home-process .speedy-process-grid > div:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, .08)
}

.speedy-home-reviews .speedy-note {
    display: none
}

.speedy-footer .widget-area > .container > .row {
    align-items: flex-start
}

.speedy-footer .widget-area {
    padding-top: 88px;
    padding-bottom: 70px
}

@media (max-width: 991px) {
    .speedy-header .menu-top.speedy-brandbar {
        padding: 10px 0
    }

    .speedy-header .speedy-brand-logo {
        width: 260px;
        max-width: 58vw
    }

    .speedy-header .speedy-brand-logo img {
        height: 72px
    }

    .speedy-header-meta {
        gap: 18px
    }

    .speedy-home-hero {
        min-height: 540px;
        padding: 76px 0
    }
}

@media (max-width: 767px) {
    .speedy-header .speedy-brand-logo {
        width: 220px;
        max-width: 68vw
    }

    .speedy-header .speedy-brand-logo img {
        height: 62px
    }

    .speedy-home-hero {
        min-height: 480px;
        padding: 68px 0
    }

    .speedy-home-hero h1 {
        font-size: clamp(2.45rem, 11vw, 3.7rem)
    }
}


/* Speedy corporate yellow */
:root {
    --speedy-accent: #F3AF0C;
    --theme-color: #F3AF0C
}

.speedy-header .menu-top.speedy-brandbar {
    position: relative;
    overflow: hidden
}

.speedy-header .speedy-brand-logo {
    position: relative;
    isolation: isolate;
    padding: 8px 42px 8px 18px
}

.speedy-header .speedy-brand-logo:before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 -24px 0 -100vw;
    background: var(--speedy-accent);
    clip-path: polygon(0 0, 96% 0, 100% 100%, 0 100%)
}

.speedy-header .speedy-brand-logo a {
    background: transparent !important
}

.speedy-header .header-info_icon, .speedy-header .header-link-btn, .speedy-header .header-link-btn i {
    color: var(--speedy-accent)
}

.th-btn, .speedy-actions .th-btn:not(.style2) {
    background-color: var(--speedy-accent);
    border-color: var(--speedy-accent);
    color: #111 !important
}

.th-btn:before {
    background: #fff
}

.th-btn:hover {
    color: #111 !important
}

.speedy-actions .th-btn.style2:hover {
    color: #111 !important
}

.scroll-top {
    color: #111 !important;
    border-color: var(--speedy-accent) !important
}

.scroll-top:after, .scroll-top:before {
    border-color: var(--speedy-accent) !important
}

@media (max-width: 991px) {
    .speedy-header .speedy-brand-logo {
        padding: 6px 30px 6px 10px
    }

    .speedy-header .speedy-brand-logo:before {
        right: -16px
    }
}

/* Speedy button hover contrast fix */
.th-btn:hover,
.th-btn:focus,
.th-btn:active,
.speedy-actions .th-btn:not(.style2):hover,
.speedy-actions .th-btn:not(.style2):focus,
.speedy-actions .th-btn:not(.style2):active {
    color: #fff !important;
}

.th-btn:hover > span,
.th-btn:focus > span,
.th-btn:active > span,
.th-btn:hover i,
.th-btn:focus i,
.th-btn:active i {
    color: #fff !important;
}

.speedy-actions .th-btn.style2:hover,
.speedy-actions .th-btn.style2:focus,
.speedy-actions .th-btn.style2:active,
.speedy-actions .th-btn.style2:hover > span,
.speedy-actions .th-btn.style2:focus > span,
.speedy-actions .th-btn.style2:active > span,
.speedy-actions .th-btn.style2:hover i,
.speedy-actions .th-btn.style2:focus i,
.speedy-actions .th-btn.style2:active i {
    color: #111 !important;
}

/* Footer contact button: yellow/black -> dark/white on hover */
.speedy-footer .th-btn.style2 {
    background-color: var(--speedy-accent) !important;
    border-color: var(--speedy-accent) !important;
    color: #111 !important;
}

.speedy-footer .th-btn.style2:before,
.speedy-footer .th-btn.style2:after {
    background: #111 !important;
}

.speedy-footer .th-btn.style2:hover,
.speedy-footer .th-btn.style2:focus,
.speedy-footer .th-btn.style2:active,
.speedy-footer .th-btn.style2:hover > span,
.speedy-footer .th-btn.style2:focus > span,
.speedy-footer .th-btn.style2:active > span,
.speedy-footer .th-btn.style2:hover i,
.speedy-footer .th-btn.style2:focus i,
.speedy-footer .th-btn.style2:active i {
    color: #fff !important;
}

/* Configurable hero: the FAL image selected in the backend wins. */
.speedy-home-hero.speedy-hero-slide {
    background-image: linear-gradient(90deg, rgba(7, 10, 15, .96) 0%, rgba(7, 10, 15, .82) 50%, rgba(7, 10, 15, .26) 100%), var(--speedy-hero-image, url('/fileadmin/Speedy/demo-assets/img/hero/hero_bg_1_1_indicator.jpg')) !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important
}


/* Structured Speedy elements rendered with original Malen multipage component classes. */
.th-hero-wrapper .hero-text p:last-child, .service-text p:last-child, .feature-card_text p:last-child, .process-card_text p:last-child {
    margin-bottom: 0
}

.th-hero-wrapper .btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap
}

.project-card .project-img img, .service-img img {
    width: 100%;
    height: auto
}

.speedy-content-element .title-area > p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto
}

/* Malen multipage structured forms/process */
.speedy-appointment-v4 .appointment-form-wrap {
    background: var(--white-color, #fff);
    padding: 60px;
    position: relative;
    z-index: 3
}

.speedy-interaction button.th-btn {
    border: 0
}

.process-sec .process-card_img img {
    width: 100%;
    display: block
}

.process-sec .process-card_text p {
    margin-bottom: 0
}

.contact-form-wrapper button.th-btn {
    border: 0
}

@media (max-width: 767px) {
    .speedy-appointment-v4 .appointment-form-wrap {
        padding: 30px 20px
    }
}

/* v3: keep original Malen component geometry intact inside TYPO3 content rendering. */
#service-sec img, .feature-area3 img, .feature-section img, .feature-sec img, .process-sec img {
    max-width: 100%
}

#service-sec .service-block_img img, #service-sec .services-2-box_img img, #service-sec .service-box-two_img img,
#service-sec .service-tab_img img, #service-sec .service-box_img img, #service-sec .service-item_img img, #service-sec .service-grid_img img {
    width: 100%;
    height: auto;
    display: block
}

.feature-section .feature-item_text p, .feature-sec .feature-item_text p, .services-2-box_text p, .service-box-two_text p,
.service-item_text p, .service-grid_text p, .process-card_text p {
    margin-bottom: 0
}

.feature-section .request-quote-form {
    height: auto
}

.process-sec .process-card_img {
    overflow: visible
}

.process-sec .process-card_img img {
    aspect-ratio: auto;
    object-fit: cover
}

@media (max-width: 1199px) {
    .feature-section .request-quote-form {
        margin-bottom: 40px
    }
}

/* Component alignment v4: variant 1 feature/process/review/CTA geometry */
.speedy-feature-v1 .title-area,
.speedy-process-v1 .title-area,
.speedy-reviews .title-area {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto
}

.speedy-feature-v1 .sub-title:empty,
.speedy-process-v1 .sub-title:empty,
.speedy-reviews .sub-title:empty {
    display: none
}

.speedy-feature-box {
    height: 100%;
    background: #fff;
    padding: 38px 30px 34px;
    text-align: center;
    border-bottom: 3px solid transparent;
    transition: .25s ease
}

.speedy-feature-box:hover {
    border-bottom-color: var(--speedy-accent)
}

.speedy-feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--speedy-accent);
    color: #111;
    font-size: 30px
}

.speedy-feature-box .box-title {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.3
}

.speedy-feature-text {
    font-size: 16px;
    line-height: 1.75;
    color: #555
}

.speedy-feature-text p {
    margin: 0
}

.speedy-process-row {
    position: relative
}

.speedy-process-step {
    height: 100%;
    position: relative;
    text-align: center;
    padding: 0 20px
}

.speedy-process-number {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--speedy-accent);
    color: #111;
    font-size: 20px;
    font-weight: 800;
    position: relative;
    z-index: 2
}

.speedy-process-step .box-title {
    font-size: 22px;
    margin: 0 0 12px
}

.speedy-process-text {
    color: #555;
    line-height: 1.7
}

.speedy-process-text p {
    margin: 0
}

@media (min-width: 1200px) {
    .speedy-process-step:after {
        content: "";
        position: absolute;
        top: 34px;
        left: calc(50% + 48px);
        width: calc(100% - 96px);
        border-top: 2px dashed #d8d8d8
    }

    .speedy-process-row > div:last-child .speedy-process-step:after {
        display: none
    }
}

.speedy-review-card {
    background: #fff;
    padding: 42px 48px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .04)
}

.speedy-review-quote {
    font-size: 30px;
    color: var(--speedy-accent);
    margin-bottom: 18px
}

.speedy-review-text {
    font-size: 18px;
    line-height: 1.75;
    color: #4d4d4d
}

.speedy-review-text p {
    margin: 0
}

.speedy-review-author {
    border-top: 1px solid #ddd;
    margin-top: 28px;
    padding-top: 22px;
    font-size: 18px;
    font-weight: 700;
    color: #111
}

.speedy-cta-stable .speedy-cta-copy {
    display: block
}

.speedy-cta-stable .speedy-cta-copy .sec-title {
    position: static !important;
    display: block;
    margin: 0 0 18px !important;
    line-height: 1.15 !important
}

.speedy-cta-stable .speedy-cta-text {
    position: static !important;
    display: block;
    line-height: 1.65;
    opacity: .78
}

.speedy-cta-stable .speedy-cta-text p {
    margin: 0
}

.speedy-cta-stable .speedy-cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end
}

@media (max-width: 991px) {
    .speedy-cta-stable .speedy-cta-actions {
        justify-content: flex-start
    }
}

/* Demo 2 / Malen index-2 component alignment */
.speedy-demo2-hero .th-hero-slide {
    position: relative;
    min-height: 690px;
    display: flex;
    align-items: center;
    overflow: hidden
}

.speedy-demo2-hero .th-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0
}

.speedy-demo2-hero .th-hero-bg:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 13, 20, .52)
}

.speedy-demo2-hero .th-hero-bg > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1
}

.speedy-demo2-hero .hero-shape {
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: 0;
    pointer-events: none
}

.speedy-demo2-hero .container {
    position: relative;
    z-index: 3
}

.speedy-demo2-hero .hero-style5 {
    max-width: 760px;
    padding: 120px 0
}

.speedy-demo2-hero .hero-subtitle {
    display: block;
    color: var(--speedy-accent);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 18px
}

.speedy-demo2-hero .hero-title {
    color: #fff !important;
    font-size: 64px;
    line-height: 1.08;
    margin: 0 0 22px
}

.speedy-demo2-hero-text {
    color: #fff;
    font-size: 18px;
    line-height: 1.7;
    max-width: 650px;
    margin-bottom: 28px
}

.speedy-demo2-hero-text p {
    margin: 0
}

.speedy-demo2-hero .btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap
}

.speedy-demo2-about .speedy-demo2-about-text p {
    margin-bottom: 0
}

.speedy-demo2-about .image-checklist {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 30px
}

.speedy-demo2-about .image-checklist .image {
    flex: 0 0 190px
}

.speedy-demo2-about .image-checklist .image img {
    width: 100%;
    display: block
}

.speedy-demo2-about .checklist ul {
    margin: 0;
    padding: 0;
    list-style: none
}

.speedy-demo2-about .checklist li {
    margin: 9px 0;
    padding-left: 25px;
    position: relative
}

.speedy-demo2-about .checklist li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro", FontAwesome;
    position: absolute;
    left: 0;
    color: var(--speedy-accent)
}

.speedy-demo2-about-action {
    justify-content: flex-start
}

.speedy-demo2-services .services-2-box {
    height: 100%
}

.speedy-demo2-services .services-2-box_img img {
    width: 100%;
    height: auto;
    display: block
}

.speedy-demo2-services .services-2-box_text p {
    margin: 0
}

.speedy-demo2-process .why-img img {
    width: 100%;
    display: block
}

.speedy-demo2-process .why-text p:last-child {
    margin-bottom: 0
}

.speedy-demo2-process .tab-menu1 .tab-btn {
    width: 100%;
    text-align: left
}

.speedy-demo2-process .feature-journey {
    margin-top: 25px
}

.speedy-demo2-reviews .testi-card-2_text p {
    margin: 0
}

.speedy-demo2-reviews .testi-card-2_img img {
    width: 100%;
    height: auto;
    display: block
}

.speedy-demo2-cta {
    position: relative;
    z-index: 3
}

.speedy-demo2-cta .cta-card {
    background-size: cover;
    background-position: center;
    min-height: 285px;
    padding: 55px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow: hidden
}

.speedy-demo2-cta .cta-card:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 13, 20, .58)
}

.speedy-demo2-cta .cta-card > * {
    position: relative;
    z-index: 1
}

.speedy-demo2-cta .cta-card_title {
    color: #fff !important;
    margin: 0 0 24px;
    max-width: 500px
}

.speedy-demo2-cta-text p {
    margin: 0;
    color: #fff
}

@media (max-width: 991px) {
    .speedy-demo2-hero .th-hero-slide {
        min-height: 590px
    }

    .speedy-demo2-hero .hero-title {
        font-size: 46px
    }

    .speedy-demo2-about .image-checklist {
        align-items: flex-start
    }
}

@media (max-width: 575px) {
    .speedy-demo2-hero .hero-title {
        font-size: 36px
    }

    .speedy-demo2-about .image-checklist {
        display: block
    }

    .speedy-demo2-about .image-checklist .image {
        margin-bottom: 20px
    }

    .speedy-demo2-cta .cta-card {
        padding: 35px 25px
    }
}

/* Demo 3 / Malen index-3 alignment */
.speedy-demo3-hero .th-hero-slide {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden
}

.speedy-demo3-hero .th-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0
}

.speedy-demo3-hero .th-hero-bg:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 13, 20, .50);
    z-index: 1
}

.speedy-demo3-hero .th-hero-bg > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2
}

.speedy-demo3-hero .container {
    position: relative;
    z-index: 3
}

.speedy-demo3-hero .hero-style6 {
    padding: 125px 0;
    max-width: 850px
}

.speedy-demo3-hero .hero-meta {
    color: var(--speedy-accent);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 18px
}

.speedy-demo3-hero .hero-title {
    color: #fff !important;
    font-size: 64px;
    line-height: 1.08;
    margin: 0 0 20px
}

.speedy-demo3-hero-text {
    color: #fff;
    font-size: 18px;
    line-height: 1.7;
    max-width: 680px;
    margin-bottom: 28px
}

.speedy-demo3-hero-text p {
    margin: 0
}

/* Demo 3 service cards: original index-3 proportions, no clipped yellow labels. */
#service-sec .service-box-two {
    height: 100%;
    overflow: visible
}

#service-sec .service-box-two_img {
    overflow: hidden
}

#service-sec .service-box-two_img img {
    width: 100%;
    aspect-ratio: 1.36/1;
    object-fit: cover
}

#service-sec .service-box-two_content {
    min-height: 150px;
    height: auto;
    overflow: visible
}

#service-sec .service-box-two_title {
    white-space: normal;
    overflow-wrap: anywhere
}

#service-sec .service-box-two_text p {
    margin: 0
}

.speedy-demo3-about {
    position: relative;
    overflow: hidden
}

.speedy-demo3-about .speedy-demo3-about-text p {
    margin: 0;
    color: inherit
}

.speedy-demo3-about .feature-box_title {
    color: #fff
}

.speedy-demo3-about .feature-box-wrap {
    display: flex;
    gap: 30px;
    flex-wrap: wrap
}

.speedy-demo3-about .feature-box {
    flex: 1 1 220px
}

/* Appointment should finish cleanly; no artificial follow-up counter whitespace. */
.appointment-img img {
    max-width: 100%;
    height: auto;
    display: block
}

.appointment-form .form-control, .appointment-form .form-select {
    min-height: 58px
}

.speedy-demo3-reviews .testi-box-two {
    height: 100%
}

.speedy-demo3-reviews .testi-box-two_img img {
    width: 100%;
    height: auto;
    display: block
}

.speedy-demo3-reviews .testi-box-two_text p {
    margin: 0
}

/* Variant-3 CTA: compact visual bridge into the footer instead of a loose white row. */
.cta-1 {
    position: relative;
    background: #171b25 url('/fileadmin/Speedy/demo-assets/img/update_1/bg/cta_bg_1.jpg') center/cover no-repeat;
    padding: 70px 0
}

.cta-1:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 13, 20, .72)
}

.cta-1 .container {
    position: relative;
    z-index: 1
}

.cta-1 .sec-title, .cta-1 .speedy-cta-text {
    color: #fff !important
}

.cta-1 .speedy-cta-text p {
    margin: 0
}

@media (max-width: 991px) {
    .speedy-demo3-hero .th-hero-slide {
        min-height: 560px
    }

    .speedy-demo3-hero .hero-title {
        font-size: 46px
    }

    .speedy-demo3-about .feature-box-wrap {
        display: block
    }

    .speedy-demo3-about .feature-box {
        margin-bottom: 20px
    }
}

@media (max-width: 575px) {
    .speedy-demo3-hero .hero-title {
        font-size: 36px
    }

    .cta-1 {
        padding: 50px 0
    }
}

/* Demo 3 polish v8: section rhythm and feature heading */
/* Keep the service cards visually inside their light section instead of letting
   the following dark about section start directly at the image edge. */
body.speedy-variant-3 #service-sec,
.speedy-variant-3 #service-sec,
#service-sec:has(.service-box-two) {
    padding-bottom: 92px !important;
}

/* Demo 3 feature heading: an empty Malen subtitle only leaves its decorative
   strokes behind. Hide that empty decoration and use a calmer headline size. */
body.speedy-variant-3 .feature-section .title-area .sub-title:empty,
body.speedy-variant-3 .feature-sec .title-area .sub-title:empty,
body.speedy-variant-3 .feature-area3 .title-area .sub-title:empty,
.speedy-variant-3 .feature-section .title-area .sub-title:empty,
.speedy-variant-3 .feature-sec .title-area .sub-title:empty,
.speedy-variant-3 .feature-area3 .title-area .sub-title:empty {
    display: none !important;
}

body.speedy-variant-3 .feature-section .title-area .sec-title,
body.speedy-variant-3 .feature-sec .title-area .sec-title,
body.speedy-variant-3 .feature-area3 .title-area .sec-title,
.speedy-variant-3 .feature-section .title-area .sec-title,
.speedy-variant-3 .feature-sec .title-area .sec-title,
.speedy-variant-3 .feature-area3 .title-area .sec-title {
    font-size: 42px !important;
    line-height: 1.12 !important;
    margin-top: 0 !important;
    margin-bottom: 38px !important;
}

@media (max-width: 991px) {
    body.speedy-variant-3 #service-sec, .speedy-variant-3 #service-sec, #service-sec:has(.service-box-two) {
        padding-bottom: 70px !important
    }

    body.speedy-variant-3 .feature-section .title-area .sec-title,
    body.speedy-variant-3 .feature-sec .title-area .sec-title,
    body.speedy-variant-3 .feature-area3 .title-area .sec-title,
    .speedy-variant-3 .feature-section .title-area .sec-title,
    .speedy-variant-3 .feature-sec .title-area .sec-title,
    .speedy-variant-3 .feature-area3 .title-area .sec-title {
        font-size: 36px !important
    }
}

/* Demo 3 polish v9: structural feature heading + complete CTA */
.feature-area3 .title-area > .sub-title:empty {
    display: none !important;
}

.speedy-demo3-cta {
    position: relative !important;
    display: block !important;
    min-height: 220px !important;
    padding: 62px 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    background: #171b25 url('/fileadmin/Speedy/demo-assets/img/update_1/bg/cta_bg_1.jpg') center/cover no-repeat !important;
}

.speedy-demo3-cta:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 13, 20, .78);
    z-index: 0
}

.speedy-demo3-cta .container {
    position: relative !important;
    z-index: 1 !important
}

.speedy-demo3-cta .row {
    min-height: 96px;
    align-items: center !important
}

.speedy-demo3-cta .speedy-cta-copy, .speedy-demo3-cta .speedy-cta-actions {
    position: static !important;
    transform: none !important;
    margin: 0 !important
}

.speedy-demo3-cta .sec-title {
    position: static !important;
    transform: none !important;
    display: block !important;
    color: #fff !important;
    margin: 0 0 12px !important;
    font-size: 36px !important;
    line-height: 1.15 !important
}

.speedy-demo3-cta .speedy-cta-text, .speedy-demo3-cta .speedy-cta-text p {
    position: static !important;
    transform: none !important;
    color: #fff !important;
    margin: 0 !important;
    opacity: .82 !important
}

.speedy-demo3-cta .speedy-cta-actions {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important
}

.speedy-demo3-cta .th-btn {
    position: static !important;
    transform: none !important;
    margin: 0 !important
}

@media (max-width: 991px) {
    .speedy-demo3-cta .speedy-cta-actions {
        justify-content: flex-start !important
    }

    .speedy-demo3-cta {
        padding: 50px 0 !important
    }

    .speedy-demo3-cta .sec-title {
        font-size: 32px !important
    }
}


/* Demo 4 / Malen Home Four: feature strip directly below hero; the form floats over both areas. */
.speedy-appointment-v4 {
    position: relative;
    z-index: 8;
    margin: 0 0 300px
}

.speedy-appointment-v4 .speedy-feature-slider {
    margin: 0;
    position: relative;
    z-index: 1
}

.speedy-appointment-v4 .feature-card {
    min-height: 245px
}

.speedy-appointment-v4 .appointment-form-2 {
    max-width: 594px;
    background: var(--white-color, #fff);
    box-shadow: 0 10px 20px rgba(128, 134, 149, .10);
    padding: 40px;
    position: absolute;
    bottom: -40px;
    right: 40px;
    z-index: 5
}

.speedy-appointment-v4 .appointment-form-2 .title-area .sec-title {
    font-size: 45px
}

.speedy-appointment-v4 .appointment-form-2 input, .speedy-appointment-v4 .appointment-form-2 select, .speedy-appointment-v4 .appointment-form-2 textarea, .speedy-appointment-v4 .appointment-form-2 .form-control, .speedy-appointment-v4 .appointment-form-2 .form-select {
    background: var(--smoke-color, #f3f1f2);
    border-color: var(--smoke-color, #f3f1f2)
}

.speedy-appointment-v4 .appointment-form-2 .th-btn {
    width: 100%
}

@media (max-width: 1199px) {
    .speedy-appointment-v4 {
        margin-bottom: 80px
    }

    .speedy-appointment-v4 .appointment-form-2 {
        position: static;
        margin: 80px auto 0
    }

    .speedy-appointment-v4 .appointment-form-2 .title-area .sec-title {
        font-size: 30px
    }
}

@media (max-width: 575px) {
    .speedy-appointment-v4 .appointment-form-2 {
        margin: 60px 12px 0;
        padding: 40px 20px
    }

    .speedy-appointment-v4 .appointment-form-2 .title-area .sec-title {
        font-size: 25px
    }
}


/* Demo 4 v12: restore Malen Home Four hero/feature/form geometry and tighten rhythm. */
.speedy-demo4-hero {
    position: relative;
    overflow: hidden;
    background: #11151d
}

.speedy-demo4-hero .th-hero-slide {
    position: relative;
    min-height: 690px;
    display: flex;
    align-items: center;
    overflow: hidden
}

.speedy-demo4-hero .th-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0
}

.speedy-demo4-hero .th-hero-bg:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 13, 20, .82) 0%, rgba(10, 13, 20, .50) 48%, rgba(10, 13, 20, .12) 100%);
    z-index: 1
}

.speedy-demo4-hero .th-hero-bg > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    pointer-events: none
}

.speedy-demo4-hero .container {
    position: relative;
    z-index: 3
}

.speedy-demo4-hero .hero-style7 {
    padding: 150px 0 210px;
    max-width: 760px;
    text-align: left
}

.speedy-demo4-hero .hero-subtitle {
    display: block;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 22px
}

.speedy-demo4-hero .hero-subtitle:before {
    content: "";
    display: inline-block;
    width: 50px;
    height: 2px;
    background: #fff;
    margin-right: 10px;
    vertical-align: middle
}

.speedy-demo4-hero .hero-title {
    color: #fff !important;
    font-size: 58px;
    line-height: 1.08;
    margin: 0 0 20px
}

.speedy-demo4-hero-text, .speedy-demo4-hero-text p {
    color: #fff;
    margin: 0
}

.speedy-demo4-hero-text {
    font-size: 18px;
    line-height: 1.65;
    max-width: 650px;
    margin-bottom: 30px
}

/* The original Home Four places this section immediately after the hero. The
   form is taller than the feature strip and therefore overlaps hero + strip. */
.speedy-appointment-v4 {
    position: relative !important;
    z-index: 8 !important;
    margin: 0 !important;
    min-height: 245px !important;
    overflow: visible !important
}

.speedy-appointment-v4 .speedy-feature-slider {
    position: relative !important;
    z-index: 1 !important;
    margin: 0 !important;
    min-height: 245px !important
}

.speedy-appointment-v4 .feature-card {
    min-height: 245px !important;
    padding: 58px 42px !important
}

.speedy-appointment-v4 .appointment-form-2 {
    width: min(594px, calc(100% - 80px)) !important;
    max-width: 594px !important;
    position: absolute !important;
    right: 40px !important;
    top: auto !important;
    bottom: -40px !important;
    margin: 0 !important;
    padding: 40px !important;
    z-index: 10 !important;
    background: #fff !important
}

.speedy-appointment-v4 .appointment-form-2 .title-area {
    margin-bottom: 28px !important
}

.speedy-appointment-v4 .appointment-form-2 .title-area .sec-title {
    font-size: 40px !important;
    line-height: 1.1 !important;
    margin-bottom: 16px !important
}

.speedy-appointment-v4 .appointment-form-2 .title-area p {
    margin-bottom: 0 !important
}

/* Reserve only the space actually occupied below the feature strip by the
   floating form. This replaces the previous 300px blanket margin. */
.speedy-appointment-v4 + section,
.speedy-appointment-v4 + .space,
.speedy-appointment-v4 + div {
    margin-top: 250px !important
}

/* Demo 4 sections were inheriting generous generic demo spacing. */
body.speedy-variant-4 .space,
.speedy-variant-4 .space {
    padding-top: 85px;
    padding-bottom: 85px
}

body.speedy-variant-4 .title-area,
.speedy-variant-4 .title-area {
    margin-bottom: 38px
}

body.speedy-variant-4 .speedy-process,
body.speedy-variant-4 .process-sec,
.speedy-variant-4 .speedy-process,
.speedy-variant-4 .process-sec {
    padding-top: 80px !important;
    padding-bottom: 80px !important
}

body.speedy-variant-4 .speedy-portfolio,
body.speedy-variant-4 .portfolio-sec,
.speedy-variant-4 .speedy-portfolio,
.speedy-variant-4 .portfolio-sec {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
    min-height: 0 !important
}

@media (max-width: 1199px) {
    .speedy-demo4-hero .th-hero-slide {
        min-height: 600px
    }

    .speedy-demo4-hero .hero-style7 {
        padding: 120px 0 150px
    }

    .speedy-demo4-hero .hero-title {
        font-size: 48px
    }

    .speedy-appointment-v4 {
        padding-bottom: 0 !important
    }

    .speedy-appointment-v4 .appointment-form-2 {
        position: relative !important;
        right: auto !important;
        bottom: auto !important;
        width: min(594px, calc(100% - 40px)) !important;
        margin: -90px auto 0 !important
    }

    .speedy-appointment-v4 + section, .speedy-appointment-v4 + .space, .speedy-appointment-v4 + div {
        margin-top: 70px !important
    }
}

@media (max-width: 767px) {
    .speedy-demo4-hero .th-hero-slide {
        min-height: 520px
    }

    .speedy-demo4-hero .hero-style7 {
        padding: 95px 0 120px;
        text-align: center
    }

    .speedy-demo4-hero .hero-title {
        font-size: 38px
    }

    .speedy-demo4-hero .hero-subtitle:before {
        display: none
    }

    .speedy-appointment-v4 .appointment-form-2 {
        padding: 30px 20px !important
    }

    body.speedy-variant-4 .space, .speedy-variant-4 .space {
        padding-top: 60px;
        padding-bottom: 60px
    }
}

/* Demo 6 / Malen Home Six alignment */
.speedy-demo6-hero {
    position: relative;
    background: #11151d;
    overflow: hidden
}

.speedy-demo6-hero .th-hero-slide {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden
}

.speedy-demo6-hero .th-hero-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat
}

.speedy-demo6-hero .th-hero-bg:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 11, 17, .76), rgba(8, 11, 17, .30) 60%, rgba(8, 11, 17, .12))
}

.speedy-demo6-hero .container {
    position: relative;
    z-index: 2
}

.speedy-demo6-hero .hero-style2 {
    max-width: 820px;
    padding: 120px 0
}

.speedy-demo6-hero .hero-subtitle {
    display: block;
    color: #f3af0c;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 18px
}

.speedy-demo6-hero .hero-title {
    color: #fff !important;
    font-size: 64px;
    line-height: 1.08;
    margin: 0 0 24px
}

.speedy-demo6-hero .hero-text, .speedy-demo6-hero .hero-text p {
    color: #fff !important;
    opacity: .92;
    font-size: 18px;
    line-height: 1.65
}

.speedy-demo6-hero .btn-group {
    margin-top: 30px
}

/* Tighter Home Six rhythm. */
.speedy-demo6-hero + section, #service-sec:has(.service-item) {
    padding-top: 75px !important;
    padding-bottom: 75px !important
}

#service-sec:has(.service-item) .title-area {
    margin-bottom: 38px !important
}

#service-sec:has(.service-item) + section {
    padding-top: 80px !important;
    padding-bottom: 80px !important
}

.speedy-demo6-features {
    padding-top: 80px !important;
    padding-bottom: 75px !important;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat
}

.speedy-demo6-features .title-area {
    margin-bottom: 30px !important
}

.speedy-demo6-features .feature-title {
    color: #fff !important;
    font-size: 42px !important;
    line-height: 1.15 !important
}

.speedy-demo6-features .sub-title {
    color: #f3af0c !important
}

.speedy-demo6-process {
    padding-top: 85px !important;
    padding-bottom: 150px !important;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat
}

.speedy-demo6-process .title-area {
    margin-bottom: 45px !important
}

/* Home Six counter: visible dark statistic strip, overlapping the process section like Malen. */
.speedy-demo6-process + .counter-area,
.counter-area:has(.counter-sec.bg-title) {
    position: relative;
    z-index: 5;
    margin-top: -90px !important;
    margin-bottom: 0 !important;
    padding: 0 !important
}

.counter-area:has(.counter-sec.bg-title) .counter-sec {
    display: grid !important;
    grid-template-columns:repeat(4, 1fr);
    background: #0c0d0f !important;
    padding: 38px 30px !important;
    gap: 0 !important
}

.counter-area:has(.counter-sec.bg-title) .row {
    display: contents !important
}

.counter-area:has(.counter-sec.bg-title) .col-6 {
    width: auto !important;
    max-width: none !important;
    padding: 0 24px !important;
    border-right: 1px solid rgba(255, 255, 255, .14)
}

.counter-area:has(.counter-sec.bg-title) .col-6:last-child {
    border-right: 0
}

.counter-area:has(.counter-sec.bg-title) .th-counterup {
    text-align: center !important
}

.counter-area:has(.counter-sec.bg-title) .counter-card_number {
    color: #f3af0c !important;
    font-size: 34px !important;
    margin: 0 0 6px !important
}

.counter-area:has(.counter-sec.bg-title) .counter-card_text {
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    margin: 0 !important
}

.counter-area:has(.counter-sec.bg-title) + section {
    margin-top: 0 !important
}

/* CTA copy must remain legible on the dark background. */
.speedy-variant-6 .cta-area .speedy-cta-text, .speedy-variant-6 .cta-area .speedy-cta-text p,
.speedy-variant-6 .cta-sec .speedy-cta-text, .speedy-variant-6 .cta-sec .speedy-cta-text p {
    color: rgba(255, 255, 255, .78) !important
}

@media (max-width: 1199px) {
    .speedy-demo6-hero .th-hero-slide {
        min-height: 580px
    }

    .speedy-demo6-hero .hero-title {
        font-size: 52px
    }

    .counter-area:has(.counter-sec.bg-title) .counter-sec {
        grid-template-columns:repeat(2, 1fr)
    }

    .counter-area:has(.counter-sec.bg-title) .col-6 {
        border-bottom: 1px solid rgba(255, 255, 255, .14);
        padding: 24px !important
    }
}

@media (max-width: 767px) {
    .speedy-demo6-hero .th-hero-slide {
        min-height: 520px
    }

    .speedy-demo6-hero .hero-style2 {
        padding: 90px 0
    }

    .speedy-demo6-hero .hero-title {
        font-size: 40px
    }

    #service-sec:has(.service-item), .speedy-demo6-features, .speedy-demo6-process {
        padding-top: 60px !important;
        padding-bottom: 60px !important
    }

    .speedy-demo6-process {
        padding-bottom: 120px !important
    }

    .counter-area:has(.counter-sec.bg-title) .counter-sec {
        grid-template-columns:1fr 1fr;
        padding: 18px !important
    }
}


/* Demo 6 v18: final spacing/contrast polish. */
#service-sec:has(.service-item) .service-item_content {
    padding-top: 26px !important
}

#service-sec:has(.service-item) .service-item_content .box-title {
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    line-height: 1.2 !important
}

.speedy-demo6-features {
    padding-top: 72px !important;
    padding-bottom: 62px !important;
    margin-bottom: 0 !important
}

.speedy-demo6-features .title-area {
    margin-bottom: 26px !important
}

.speedy-demo6-features .feature-title {
    margin-top: 0 !important
}

.speedy-demo6-process {
    margin-top: 0 !important;
    padding-top: 68px !important;
    padding-bottom: 150px !important
}

.speedy-demo6-process .title-area {
    margin-top: 0 !important;
    margin-bottom: 42px !important
}

.speedy-demo6-process .sec-title,
.speedy-demo6-process .process-card_title {
    color: #fff !important
}

.speedy-demo6-process .process-card_text,
.speedy-demo6-process .process-card_text p {
    color: rgba(255, 255, 255, .78) !important
}

.speedy-demo6-process .sub-title {
    color: #f3af0c !important
}

.speedy-demo6-cta {
    background: #f3af0c !important;
    padding-top: 68px !important;
    padding-bottom: 68px !important;
    margin: 0 !important
}

.speedy-demo6-cta .sec-title,
.speedy-demo6-cta .speedy-cta-text,
.speedy-demo6-cta .speedy-cta-text p {
    color: #0c0d0f !important
}

.speedy-demo6-cta .speedy-cta-text,
.speedy-demo6-cta .speedy-cta-text p {
    opacity: .78 !important
}

.speedy-demo6-cta .th-btn.style2 {
    background: #0c0d0f !important;
    color: #fff !important;
    border-color: #0c0d0f !important
}

.speedy-demo6-cta .th-btn.style2:hover {
    background: #fff !important;
    color: #0c0d0f !important;
    border-color: #fff !important
}

@media (max-width: 991px) {
    .speedy-demo6-features {
        padding-top: 60px !important;
        padding-bottom: 55px !important
    }

    .speedy-demo6-process {
        padding-top: 60px !important;
        padding-bottom: 125px !important
    }

    .speedy-demo6-cta {
        padding-top: 55px !important;
        padding-bottom: 55px !important
    }
}


/* Demo 6 v19: yellow-only interaction/decorative palette. */

/* Service cards: dark hover must always get readable light text. */
#service-sec:has(.service-item) .service-item:hover .service-item_content,
#service-sec:has(.service-item) .service-item:hover .service-item_content .box-title,
#service-sec:has(.service-item) .service-item:hover .service-item_content .box-title a,
#service-sec:has(.service-item) .service-item:hover .service-item_content a {
    color: #fff !important;
}

/* Feature icon discs: replace Malen's pale red/pink accent with a pale Speedy yellow. */
.speedy-demo6-features .feature-card_icon:before,
.speedy-demo6-features .feature-card_icon::before {
    background: #fff0bf !important;
}

.speedy-demo6-features .feature-card_icon {
    --body-color: #fff0bf;
}

/* Process background/tyre artwork: suppress the red Malen artwork and tint it Speedy yellow.
   The filter keeps the original transparency/detail instead of replacing the graphic. */
.speedy-demo6-process:before,
.speedy-demo6-process::before,
.speedy-demo6-process:after,
.speedy-demo6-process::after {
    filter: sepia(1) saturate(7) hue-rotate(350deg) brightness(1.08) !important;
}

/* Some Malen builds place the decorative artwork on inner pseudo-elements. */
.speedy-demo6-process .process-line:before,
.speedy-demo6-process .process-line::before,
.speedy-demo6-process .process-line:after,
.speedy-demo6-process .process-line::after {
    filter: sepia(1) saturate(7) hue-rotate(350deg) brightness(1.08) !important;
}

/* Demo 6 v20: the icon accent discs belong to .feature-item_icon (not .feature-card_icon). */
.speedy-demo6-features .feature-wrap.style2 .feature-item_icon::before,
.speedy-demo6-features .feature-wrap.style2 .feature-item-content:hover .feature-item_icon::before {
    background-color: #fff0bf !important;
}

/* Demo 6 v21: pale-yellow icon discs stay behind the icon artwork. */
.speedy-demo6-features .feature-item_icon {
    position: relative !important;
    isolation: isolate;
    z-index: 0;
}

.speedy-demo6-features .feature-item_icon::before {
    background: #fff0bf !important;
    z-index: -1 !important;
}

.speedy-demo6-features .feature-item_icon img {
    position: relative !important;
    z-index: 1 !important;
}


/* Demo 7 v22: readable hovers, Speedy-yellow icon accents and complete portfolio/counter sections. */
/* Service cards: Malen switches the card to dark on hover, therefore all copy must switch to white. */
#service-sec .service-item:hover .service-item_content,
#service-sec .service-item:hover .service-item_content .box-title,
#service-sec .service-item:hover .service-item_content .box-title a,
#service-sec .service-item:hover .service-item_content p,
#service-sec .service-item:hover .service-item_content a {
    color: #fff !important
}

/* Demo 7 feature heading: no orphan decorative lines above the heading. */
.speedy-demo7-features .speedy-demo7-kicker:before,
.speedy-demo7-features .speedy-demo7-kicker:after,
.speedy-demo7-features .double-line {
    display: none !important
}

.speedy-demo7-features .speedy-demo7-kicker:empty {
    display: none !important
}

.speedy-demo7-features .title-area {
    padding-top: 0 !important
}

/* Pale-yellow discs behind the icons, never over the icon artwork. */
.speedy-demo7-features .feature-item_icon {
    position: relative !important;
    isolation: isolate;
    z-index: 0
}

.speedy-demo7-features .feature-item_icon:before,
.speedy-demo7-features .feature-item_icon::before,
.speedy-demo7-features .feature-item-content:hover .feature-item_icon::before {
    background: #fff0bf !important;
    z-index: -1 !important
}

.speedy-demo7-features .feature-item_icon img {
    position: relative !important;
    z-index: 1 !important
}

/* Portfolio must not collapse into an empty white block when editors have not assigned FAL images yet. */
.project-sec:has(.project-card) .project-card {
    overflow: hidden;
    background: #fff
}

.project-sec:has(.project-card) .project-img {
    display: block !important;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #ececec
}

.project-sec:has(.project-card) .project-img img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover
}

.project-sec:has(.project-card) .project-content {
    display: block !important;
    padding: 22px 24px !important
}

.project-sec:has(.project-card) .project-content .box-title {
    margin: 0 !important;
    color: #0c0d0f !important
}

/* Demo 7 counter: replace the orphan grey field with a compact dark four-column service strip. */
.counter-area3 {
    background: #0c0d0f !important;
    padding: 0 !important;
    margin: 0 !important
}

.counter-area3 .counter-sec.style2 {
    background: #0c0d0f !important;
    padding: 38px 28px !important
}

.counter-area3 .th-counterup {
    text-align: center !important
}

.counter-area3 .counter-card_number {
    color: #f3af0c !important;
    font-size: 34px !important;
    margin: 0 0 6px !important
}

.counter-area3 .counter-card_text {
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    margin: 0 !important
}

.counter-area3 .col-6 {
    border-right: 1px solid rgba(255, 255, 255, .14)
}

.counter-area3 .col-6:last-child {
    border-right: 0
}

@media (max-width: 767px) {
    .counter-area3 .col-6:nth-child(2) {
        border-right: 0
    }

    .counter-area3 .col-6 {
        padding-top: 18px;
        padding-bottom: 18px
    }
}

/* Demo 7 v23: exact selectors for Home Seven. */
/* Service-grid is the actual Demo 7 card type. Keep all hover copy readable. */
#service-sec .service-grid:hover,
#service-sec .service-grid:hover .service-grid_content {
    background: #0c0d0f !important
}

#service-sec .service-grid:hover .service-grid_content,
#service-sec .service-grid:hover .service-grid_content .box-title,
#service-sec .service-grid:hover .service-grid_content .box-title a,
#service-sec .service-grid:hover .service-grid_text,
#service-sec .service-grid:hover .service-grid_text p,
#service-sec .service-grid:hover a {
    color: #fff !important
}

/* Home Seven hero: keep the supplied/fallback vehicle artwork visible and contained. */
.speedy-demo7-hero {
    background-color: #202020;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden
}

.speedy-demo7-hero .th-hero-img {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    min-height: 520px !important
}

.speedy-demo7-hero .th-hero-img img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 620px !important;
    object-fit: contain !important
}

.speedy-demo7-hero .hero-title, .speedy-demo7-hero .hero-subtitle {
    color: #fff !important
}

/* Feature discs: actual Demo 7 selector, yellow behind the SVG. */
.speedy-demo7-features .feature-item_icon {
    position: relative !important;
    isolation: isolate !important;
    z-index: 0 !important
}

.speedy-demo7-features .feature-item_icon::before {
    content: "" !important;
    position: absolute !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    left: -10px !important;
    top: -7px !important;
    background: #fff0bf !important;
    z-index: -1 !important
}

.speedy-demo7-features .feature-item_icon img {
    position: relative !important;
    z-index: 2 !important
}

/* Portfolio: readable title overlay on hover instead of black-on-image. */
#Portfolio-sec .project-card {
    position: relative !important;
    overflow: hidden !important
}

#Portfolio-sec .project-card .project-content {
    background: rgba(8, 11, 17, .88) !important;
    color: #fff !important
}

#Portfolio-sec .project-card .project-content .box-title,
#Portfolio-sec .project-card .project-content .project-title,
#Portfolio-sec .project-card .project-content .project-title a,
#Portfolio-sec .project-card .project-content .project-subtitle,
#Portfolio-sec .project-card .project-content p,
#Portfolio-sec .project-card:hover .project-content .box-title,
#Portfolio-sec .project-card:hover .project-content .project-title,
#Portfolio-sec .project-card:hover .project-content .project-title a,
#Portfolio-sec .project-card:hover .project-content .project-subtitle,
#Portfolio-sec .project-card:hover .project-content p {
    color: #fff !important
}

/* Counter: four proper items, not loose 01/02/03/04 text in a grey field. */
.counter-area3 {
    background: #11151d !important;
    padding: 58px 0 !important
}

.counter-area3 .counter-sec.style2 {
    background: #0c0d0f !important;
    padding: 0 !important
}

.counter-area3 .counter-sec.style2 > .row {
    display: grid !important;
    grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
    gap: 0 !important;
    margin: 0 !important
}

.counter-area3 .counter-sec.style2 > .row > .col-6 {
    width: auto !important;
    max-width: none !important;
    padding: 34px 24px !important;
    border-right: 1px solid rgba(255, 255, 255, .14) !important
}

.counter-area3 .counter-sec.style2 > .row > .col-6:last-child {
    border-right: 0 !important
}

.counter-area3 .counter-card_number, .counter-area3 .counter-number {
    color: #f3af0c !important
}

.counter-area3 .counter-card_text {
    display: block !important;
    color: #fff !important
}

@media (max-width: 767px) {
    .counter-area3 .counter-sec.style2 > .row {
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important
    }

    .counter-area3 .counter-sec.style2 > .row > .col-6:nth-child(2) {
        border-right: 0 !important
    }
}

/* Demo 7 v24: stable header and service hover without a colour-flash. */
/* Home Seven uses the same Speedy brand header as the other variants.  Some
   Malen header rules collapse menu-top for layout combinations; keep it visible. */
body:has(.speedy-demo7-hero) .speedy-header .menu-top.speedy-brandbar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: 116px !important;
    padding: 14px 0 !important;
    position: relative !important;
    transform: none !important;
    background: #11151d !important;
    z-index: 20 !important;
}

body:has(.speedy-demo7-hero) .speedy-header .speedy-brandbar > .container,
body:has(.speedy-demo7-hero) .speedy-header .speedy-brandbar > .container > .row {
    min-height: 88px !important;
}

body:has(.speedy-demo7-hero) .speedy-header .speedy-brand-logo,
body:has(.speedy-demo7-hero) .speedy-header .speedy-brand-logo a {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body:has(.speedy-demo7-hero) .speedy-header .speedy-brand-logo img {
    display: block !important;
    width: auto !important;
    max-width: 330px !important;
    height: 88px !important;
    object-fit: contain !important;
}

body:has(.speedy-demo7-hero) .speedy-header .speedy-header-meta {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body:has(.speedy-demo7-hero) .speedy-header .sticky-wrapper {
    position: relative;
    z-index: 21;
}

/* Home Seven service cards: only the picture animation moves on hover.  Do not
   switch the caption panel to black before the Malen image transition starts. */
body:has(.speedy-demo7-hero) #service-sec .service-grid .service-grid_content,
body:has(.speedy-demo7-hero) #service-sec .service-grid:hover .service-grid_content {
    background: #f5f5f5 !important;
    color: #0c0d0f !important;
    transition: none !important;
}

body:has(.speedy-demo7-hero) #service-sec .service-grid .service-grid_content .box-title,
body:has(.speedy-demo7-hero) #service-sec .service-grid .service-grid_content .box-title a,
body:has(.speedy-demo7-hero) #service-sec .service-grid .service-grid_text,
body:has(.speedy-demo7-hero) #service-sec .service-grid .service-grid_text p,
body:has(.speedy-demo7-hero) #service-sec .service-grid:hover .service-grid_content .box-title,
body:has(.speedy-demo7-hero) #service-sec .service-grid:hover .service-grid_content .box-title a,
body:has(.speedy-demo7-hero) #service-sec .service-grid:hover .service-grid_text,
body:has(.speedy-demo7-hero) #service-sec .service-grid:hover .service-grid_text p {
    color: #0c0d0f !important;
    transition: none !important;
}

/* Also neutralise theme pseudo-elements that can paint the caption dark before
   the image hover animation has reached its final state. */
body:has(.speedy-demo7-hero) #service-sec .service-grid .service-grid_content:before,
body:has(.speedy-demo7-hero) #service-sec .service-grid .service-grid_content::before,
body:has(.speedy-demo7-hero) #service-sec .service-grid .service-grid_content:after,
body:has(.speedy-demo7-hero) #service-sec .service-grid .service-grid_content::after {
    background: transparent !important;
    opacity: 0 !important;
}

@media (max-width: 991px) {
    body:has(.speedy-demo7-hero) .speedy-header .menu-top.speedy-brandbar {
        min-height: 92px !important;
        padding: 10px 0 !important
    }

    body:has(.speedy-demo7-hero) .speedy-header .speedy-brandbar > .container,
    body:has(.speedy-demo7-hero) .speedy-header .speedy-brandbar > .container > .row {
        min-height: 72px !important
    }

    body:has(.speedy-demo7-hero) .speedy-header .speedy-brand-logo img {
        height: 72px !important;
        max-width: 260px !important
    }
}

\n\n /* Demo 7 v25: Home-Seven header geometry, persistent navigation and robust counter strip. */
.speedy-sticky-logo {
    display: none !important
}

body:has(.speedy-demo7-hero) .speedy-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    width: 100% !important;
}

/* Home Seven has a slim information bar. The large yellow brand panel belongs to
   the other Speedy layouts and is deliberately removed here. */
body:has(.speedy-demo7-hero) .speedy-header .menu-top.speedy-brandbar {
    display: block !important;
    min-height: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    background: #11151d !important;
    overflow: hidden !important;
}

body:has(.speedy-demo7-hero) .speedy-header .speedy-brandbar > .container,
body:has(.speedy-demo7-hero) .speedy-header .speedy-brandbar > .container > .row {
    height: 38px !important;
    min-height: 38px !important
}

body:has(.speedy-demo7-hero) .speedy-header .speedy-brandbar .speedy-brand-logo {
    display: none !important
}

body:has(.speedy-demo7-hero) .speedy-header .speedy-brandbar .speedy-header-meta {
    margin-left: auto !important;
    height: 38px !important;
    gap: 28px !important
}

body:has(.speedy-demo7-hero) .speedy-header .speedy-brandbar .header-info {
    min-height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important
}

body:has(.speedy-demo7-hero) .speedy-header .speedy-brandbar .header-info_icon {
    font-size: 17px !important;
    margin-right: 9px !important
}

body:has(.speedy-demo7-hero) .speedy-header .speedy-brandbar .header-info_label {
    display: none !important
}

body:has(.speedy-demo7-hero) .speedy-header .speedy-brandbar .header-info_link,
body:has(.speedy-demo7-hero) .speedy-header .speedy-brandbar .header-info_link span,
body:has(.speedy-demo7-hero) .speedy-header .speedy-brandbar .header-info_link a {
    font-size: 13px !important;
    line-height: 38px !important;
    color: #fff !important
}

body:has(.speedy-demo7-hero) .speedy-header .speedy-brandbar .icon-btn {
    width: 30px !important;
    height: 30px !important;
    line-height: 30px !important;
    margin: 4px 0 !important
}

/* Main navigation follows Malen Home Seven: logo left, menu centre, contact right. */
body:has(.speedy-demo7-hero) .speedy-header .sticky-wrapper {
    background: #080b0f !important;
    z-index: 10000 !important
}

body:has(.speedy-demo7-hero) .speedy-header .menu-area {
    height: 74px !important;
    background: #080b0f !important;
    border-top: 1px solid rgba(255, 255, 255, .06) !important
}

body:has(.speedy-demo7-hero) .speedy-header .menu-area > .container,
body:has(.speedy-demo7-hero) .speedy-header .menu-area > .container > .row {
    height: 74px !important;
    min-height: 74px !important
}

body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo {
    display: block !important;
    width: 210px !important;
    flex: 0 0 210px !important
}

body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo a {
    display: flex !important;
    align-items: center !important;
    height: 74px !important;
    background: transparent !important;
    padding: 0 !important
}

body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo img {
    display: block !important;
    max-width: 190px !important;
    max-height: 56px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important
}

body:has(.speedy-demo7-hero) .speedy-header .main-menu {
    margin-left: 28px !important
}

body:has(.speedy-demo7-hero) .speedy-header .main-menu > ul > li > a {
    line-height: 74px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important
}

body:has(.speedy-demo7-hero) .speedy-header .header-link-btn {
    white-space: nowrap !important
}

/* Counter/quality strip: use our own grid instead of Bootstrap/theme column widths. */
.counter-area3.speedy-counter7 {
    background: #11151d !important;
    padding: 56px 0 !important;
    margin: 0 !important
}

.speedy-counter7 .speedy-counter7-grid {
    display: grid !important;
    grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
    width: 100% !important;
    background: #0c0d0f !important
}

.speedy-counter7 .speedy-counter7-item {
    min-width: 0 !important;
    padding: 34px 24px !important;
    border-right: 1px solid rgba(255, 255, 255, .14) !important;
    text-align: center !important
}

.speedy-counter7 .speedy-counter7-item:last-child {
    border-right: 0 !important
}

.speedy-counter7 .counter-card_number {
    margin: 0 0 8px !important;
    color: #f3af0c !important;
    font-size: 34px !important;
    line-height: 1.1 !important
}

.speedy-counter7 .counter-number {
    color: #f3af0c !important
}

.speedy-counter7 .counter-card_text {
    display: block !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important
}

@media (max-width: 991px) {
    body:has(.speedy-demo7-hero) .speedy-header .menu-top.speedy-brandbar {
        height: 34px !important;
        min-height: 34px !important
    }

    body:has(.speedy-demo7-hero) .speedy-header .speedy-brandbar > .container, body:has(.speedy-demo7-hero) .speedy-header .speedy-brandbar > .container > .row {
        height: 34px !important;
        min-height: 34px !important
    }

    body:has(.speedy-demo7-hero) .speedy-header .menu-area, body:has(.speedy-demo7-hero) .speedy-header .menu-area > .container, body:has(.speedy-demo7-hero) .speedy-header .menu-area > .container > .row {
        height: 66px !important;
        min-height: 66px !important
    }

    body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo {
        display: block !important;
        width: auto !important;
        flex: 0 1 auto !important
    }

    body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo a {
        height: 66px !important
    }

    body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo img {
        max-height: 48px !important;
        max-width: 180px !important
    }

    .speedy-counter7 .speedy-counter7-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important
    }

    .speedy-counter7 .speedy-counter7-item:nth-child(2) {
        border-right: 0 !important
    }

    .speedy-counter7 .speedy-counter7-item:nth-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, .14) !important
    }
}

@media (max-width: 575px) {
    body:has(.speedy-demo7-hero) .speedy-header .menu-top.speedy-brandbar {
        display: none !important
    }

    .counter-area3.speedy-counter7 {
        padding: 38px 0 !important
    }

    .speedy-counter7 .speedy-counter7-item {
        padding: 26px 14px !important
    }

    .speedy-counter7 .counter-card_text {
        font-size: 15px !important
    }
}

/* Demo 7 v26: Speedy logo panel + compact Home-Seven hero geometry. */
body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo {
    width: 245px !important;
    flex: 0 0 245px !important;
    align-self: stretch !important
}

body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo a {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 74px !important;
    width: 220px !important;
    padding: 8px 28px 8px 14px !important;
    background: #f3af0c !important;
    overflow: visible !important
}

body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo a:after {
    content: "";
    position: absolute;
    right: -28px;
    top: 0;
    width: 30px;
    height: 100%;
    background: #f3af0c;
    clip-path: polygon(0 0, 0 100%, 100% 100%)
}

body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo img {
    position: relative;
    z-index: 1;
    display: block !important;
    max-width: 185px !important;
    max-height: 54px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important
}

.speedy-demo7-hero {
    position: relative !important;
    background: #1e1e1e !important;
    min-height: 680px !important;
    overflow: hidden !important
}

.speedy-demo7-hero .hero-slider-3, .speedy-demo7-hero .slick-list, .speedy-demo7-hero .slick-track, .speedy-demo7-hero .th-hero-slide {
    min-height: 680px !important
}

.speedy-demo7-hero .th-hero-slide > .container {
    height: 680px !important
}

.speedy-demo7-hero .th-hero-slide .row {
    height: 100% !important;
    align-items: flex-end !important
}

.speedy-demo7-hero .hero-style3 {
    padding: 155px 0 80px !important;
    min-width: 0 !important;
    max-width: 760px !important;
    text-align: left !important
}

.speedy-demo7-hero .hero-subtitle {
    display: block !important;
    color: #fff !important;
    font-size: 20px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    margin: 0 0 18px !important
}

.speedy-demo7-hero .hero-title {
    color: #fff !important;
    font-size: 68px !important;
    line-height: 1.12 !important;
    font-weight: 700 !important;
    margin: 0 0 28px !important;
    max-width: 760px !important
}

.speedy-demo7-hero .hero-text, .speedy-demo7-hero .hero-text p {
    color: #aaa !important;
    font-size: 17px !important;
    line-height: 1.7 !important
}

.speedy-demo7-hero .hero-text {
    max-width: 520px !important;
    margin: 0 0 30px !important
}

.speedy-demo7-hero .th-hero-img {
    position: relative !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    min-width: 650px !important;
    width: 650px !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 0 0 -30px !important;
    z-index: 3 !important
}

.speedy-demo7-hero .th-hero-img img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: left bottom !important
}

@media (max-width: 1199px) {
    body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo {
        width: 220px !important;
        flex-basis: 220px !important
    }

    body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo a {
        width: 198px !important
    }

    .speedy-demo7-hero, .speedy-demo7-hero .hero-slider-3, .speedy-demo7-hero .slick-list, .speedy-demo7-hero .slick-track, .speedy-demo7-hero .th-hero-slide {
        min-height: 620px !important
    }

    .speedy-demo7-hero .th-hero-slide > .container {
        height: 620px !important
    }

    .speedy-demo7-hero .hero-style3 {
        padding: 135px 0 70px !important
    }

    .speedy-demo7-hero .hero-title {
        font-size: 56px !important
    }

    .speedy-demo7-hero .th-hero-img {
        min-width: 560px !important;
        width: 560px !important;
        margin-left: -45px !important
    }
}

@media (max-width: 991px) {
    body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo {
        width: auto !important;
        flex-basis: auto !important
    }

    body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo a {
        height: 66px !important;
        width: 190px !important;
        padding-right: 24px !important
    }

    .speedy-demo7-hero, .speedy-demo7-hero .hero-slider-3, .speedy-demo7-hero .slick-list, .speedy-demo7-hero .slick-track, .speedy-demo7-hero .th-hero-slide {
        min-height: auto !important
    }

    .speedy-demo7-hero .th-hero-slide > .container {
        height: auto !important
    }

    .speedy-demo7-hero .th-hero-slide .row {
        height: auto !important
    }

    .speedy-demo7-hero .hero-style3 {
        padding: 100px 0 45px !important;
        text-align: center !important;
        margin: auto !important
    }

    .speedy-demo7-hero .hero-title {
        font-size: 48px !important;
        margin-left: auto !important;
        margin-right: auto !important
    }

    .speedy-demo7-hero .hero-text {
        margin-left: auto !important;
        margin-right: auto !important
    }

    .speedy-demo7-hero .hero-style3 .btn-group {
        justify-content: center !important
    }

    .speedy-demo7-hero .th-hero-img {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 560px !important;
        height: auto !important;
        margin: 0 auto !important;
        justify-content: center !important
    }
}

@media (max-width: 575px) {
    body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo a {
        width: 170px !important
    }

    body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo img {
        max-width: 145px !important
    }

    .speedy-demo7-hero .hero-style3 {
        padding-top: 75px !important
    }

    .speedy-demo7-hero .hero-title {
        font-size: 38px !important;
        line-height: 1.15 !important
    }
}


/* v27: the navigation logo is a Demo-7-only element. Theme rules must not
   make it visible on the other six demo layouts. */
.speedy-header .speedy-sticky-logo {
    display: none !important
}

body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo {
    display: block !important
}

/* Demo 7 v28: cleaner logo wedge and stronger contrast in the 01-04 strip. */
body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo {
    width: 250px !important;
    flex: 0 0 250px !important;
    overflow: hidden !important;
}

body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo a {
    width: 248px !important;
    height: 74px !important;
    padding: 8px 38px 8px 14px !important;
    background: #f3af0c !important;
    overflow: hidden !important;
    clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%) !important;
}

body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo a:after {
    content: none !important;
    display: none !important;
}

body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo img {
    max-width: 174px !important;
    max-height: 52px !important;
}

/* The Home-Seven quality/counter strip stays dark, but must not swallow its copy. */
body:has(.speedy-demo7-hero) .counter-area3.speedy-counter7 {
    background: #171b22 !important;
    padding: 54px 0 !important;
}

body:has(.speedy-demo7-hero) .speedy-counter7 .speedy-counter7-grid {
    background: #20252d !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .16) !important;
}

body:has(.speedy-demo7-hero) .speedy-counter7 .speedy-counter7-item {
    background: transparent !important;
    border-right-color: rgba(255, 255, 255, .18) !important;
}

body:has(.speedy-demo7-hero) .speedy-counter7 .counter-card_number,
body:has(.speedy-demo7-hero) .speedy-counter7 .counter-number {
    color: #f3af0c !important;
    opacity: 1 !important;
    filter: none !important;
}

body:has(.speedy-demo7-hero) .speedy-counter7 .counter-card_text,
body:has(.speedy-demo7-hero) .speedy-counter7 .counter-card_text * {
    color: #fff !important;
    opacity: 1 !important;
    filter: none !important;
}

body:has(.speedy-demo7-hero) .speedy-counter7 .counter-card_text {
    font-weight: 700 !important;
}

@media (max-width: 1199px) {
    body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo {
        width: 226px !important;
        flex-basis: 226px !important
    }

    body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo a {
        width: 224px !important;
        padding-right: 34px !important
    }

    body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo img {
        max-width: 162px !important
    }
}

@media (max-width: 991px) {
    body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo {
        width: 196px !important;
        flex-basis: 196px !important
    }

    body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo a {
        width: 194px !important;
        height: 66px !important;
        padding-right: 30px !important
    }

    body:has(.speedy-demo7-hero) .speedy-header .speedy-sticky-logo img {
        max-width: 145px !important;
        max-height: 46px !important
    }
}

/* v33: retain the known-good v32 upper brand-bar/header geometry. */
.speedy-header .menu-top.speedy-brandbar {
    overflow: hidden !important
}

.speedy-header .speedy-brand-logo {
    position: relative;
    isolation: isolate;
    padding-right: 72px;
    overflow: visible
}

.speedy-header .speedy-brand-logo:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: -100vw;
    right: 0;
    background: var(--speedy-accent, #F3AF0C);
    clip-path: polygon(0 0, calc(100% - 66px) 0, 100% 100%, 0 100%)
}

.speedy-header .speedy-brand-logo:after {
    content: none !important;
    display: none !important
}

.speedy-header .speedy-brand-logo > a {
    position: relative;
    z-index: 1;
    background: transparent !important;
    display: flex !important;
    align-items: center !important
}

.speedy-header .speedy-brand-logo, .speedy-header .speedy-sticky-logo {
    width: auto !important;
    max-width: none !important
}

.speedy-header .speedy-brand-logo img, .speedy-header .speedy-brand-logo img.speedy-logo, .speedy-header .speedy-sticky-logo img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    max-width: 220px !important;
    max-height: 64px !important;
    object-fit: contain !important
}

.speedy-header .speedy-sticky-logo {
    display: none !important
}

.speedy-header .menu-top.speedy-brandbar .speedy-brand-logo {
    display: flex !important;
    align-items: center !important
}

.speedy-header .sticky-wrapper .menu-area .main-menu {
    margin-left: 0 !important
}

@media (max-width: 1199px) {
    .speedy-header .speedy-brand-logo img, .speedy-header .speedy-brand-logo img.speedy-logo, .speedy-header .speedy-sticky-logo img {
        max-width: 200px !important;
        max-height: 58px !important
    }
}

@media (max-width: 991px) {
    .speedy-header .speedy-brand-logo {
        padding-right: 54px
    }

    .speedy-header .speedy-brand-logo:before {
        right: 0;
        clip-path: polygon(0 0, calc(100% - 48px) 0, 100% 100%, 0 100%)
    }

    .speedy-header .speedy-brand-logo img, .speedy-header .speedy-brand-logo img.speedy-logo, .speedy-header .speedy-sticky-logo img {
        max-width: 180px !important;
        max-height: 52px !important
    }
}

/* v33: deterministic hero background rendering retained from v30/v32. */
.speedy-demo2-hero .th-hero-bg, .speedy-demo3-hero .th-hero-bg, .speedy-demo4-hero .th-hero-bg, .hero-1 .th-hero-bg, .hero-2 .th-hero-bg {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important
}

/* v34: Malen team components backed by Data/Team records. */
.speedy-team .team-img img {
    width: 100%;
    display: block;
    object-fit: cover
}

.speedy-team .team-title {
    margin-bottom: 4px
}

.speedy-team .team-desig {
    display: block
}

.speedy-team-description {
    padding: 16px 0
}

.speedy-team-v4 .team-img img {
    aspect-ratio: 1/1.08;
    object-fit: cover
}

.speedy-team-v5 .team-img img {
    aspect-ratio: 1/1.12;
    object-fit: cover
}

@media (max-width: 767px) {
    .speedy-team.space {
        padding-top: 70px;
        padding-bottom: 70px
    }
}

/* v36: customer account / login / registration */
.speedy-header-actions {
    display: flex;
    align-items: center;
    gap: 14px
}

.speedy-account-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-color, #f3af0c);
    color: #111;
    font-size: 20px;
    transition: .25s
}

.speedy-account-icon:hover {
    background: #fff;
    color: #111
}

.speedy-mobile-account {
    padding: 18px 20px;
    border-top: 1px solid rgba(255, 255, 255, .12)
}

.speedy-mobile-account a {
    display: flex;
    align-items: center;
    gap: 10px
}

.speedy-auth, .speedy-account {
    background: #f7f7f7
}

.speedy-auth-card, .speedy-account-card {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    padding: 45px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .08)
}

.speedy-auth-form {
    display: grid;
    gap: 18px;
    margin-top: 28px
}

.speedy-auth-form .form-group {
    display: grid;
    gap: 7px
}

.speedy-auth-form label {
    font-weight: 700;
    color: #111
}

.speedy-auth-form input {
    width: 100%;
    height: 54px;
    border: 1px solid #ddd;
    background: #fafafa;
    padding: 0 18px;
    color: #111
}

.speedy-auth-switch {
    margin: 24px 0 0
}

.speedy-auth-switch a {
    font-weight: 700;
    color: var(--theme-color, #f3af0c)
}

.speedy-auth-errors {
    margin: 20px 0;
    padding: 16px 20px;
    background: #fff0f0;
    border-left: 4px solid #b42318
}

.speedy-auth-errors p {
    margin: 0 0 5px
}

.speedy-auth-success {
    margin-top: 25px
}

.speedy-account-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 35px
}

.speedy-account-grid {
    display: grid;
    grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px
}

.speedy-account-grid .speedy-auth-card {
    margin: 0;
    max-width: none
}

.speedy-account-card {
    margin: 0;
    max-width: none
}

.speedy-account-card h3:not(:first-child) {
    margin-top: 32px
}

@media (max-width: 991px) {
    .speedy-account-grid {
        grid-template-columns:1fr
    }

    .speedy-account-head {
        align-items: flex-start;
        flex-direction: column
    }
}

@media (max-width: 575px) {
    .speedy-auth-card, .speedy-account-card {
        padding: 28px 22px
    }

    .speedy-header-actions {
        gap: 8px
    }

    .speedy-account-icon {
        width: 42px;
        height: 42px
    }
}

/* v41: native TYPO3 felogin styled to match the Speedy/Malen account area. */
.frame-type-felogin_login {
    max-width: 760px;
    margin: 70px auto 28px;
    padding: 45px;
    background: #fff;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .08);
}

.frame-type-felogin_login > header,
.frame-type-felogin_login > .frame-header {
    display: none;
}

.frame-type-felogin_login h2,
.frame-type-felogin_login h3 {
    color: #111;
    margin: 0 0 12px;
    font-weight: 700;
}

.frame-type-felogin_login h2 {
    font-size: 42px;
    line-height: 1.15;
}

.frame-type-felogin_login h3 {
    font-size: 24px;
}

.frame-type-felogin_login p {
    color: #555;
    margin-bottom: 20px;
}

.frame-type-felogin_login fieldset {
    border: 0;
    padding: 0;
    margin: 26px 0 0;
}

.frame-type-felogin_login legend {
    display: none;
}

.frame-type-felogin_login label {
    display: block;
    margin: 0 0 7px;
    color: #111;
    font-weight: 700;
}

.frame-type-felogin_login input[type="text"],
.frame-type-felogin_login input[type="email"],
.frame-type-felogin_login input[type="password"] {
    display: block;
    width: 100%;
    height: 54px;
    margin: 0 0 18px;
    padding: 0 18px;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fafafa;
    color: #111;
    box-shadow: none;
}

.frame-type-felogin_login input:focus {
    border-color: var(--theme-color, #f3af0c);
    outline: 0;
}

.frame-type-felogin_login input[type="submit"],
.frame-type-felogin_login button[type="submit"] {
    display: inline-flex;
    min-width: 190px;
    height: 58px;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    border: 0;
    border-radius: 0;
    background: var(--theme-color, #f3af0c);
    color: #111;
    font-weight: 700;
    text-transform: uppercase;
    transition: .25s;
}

.frame-type-felogin_login input[type="submit"]:hover,
.frame-type-felogin_login button[type="submit"]:hover {
    background: #111;
    color: #fff;
}

.frame-type-felogin_login .alert {
    border-radius: 0;
}

/* Login page: make native login and our registration hint one coherent block. */
body:has(.frame-type-felogin_login) main,
body:has(.frame-type-felogin_login) .main-content {
    background: #f7f7f7;
}

.frame-type-felogin_login + .frame-type-speedy_accountlogin,
.frame-type-speedy_accountlogin {
    max-width: 760px;
    margin: 0 auto 70px;
}

.frame-type-speedy_accountlogin > header,
.frame-type-speedy_accountlogin > .frame-header {
    display: none;
}

.frame-type-speedy_accountlogin .speedy-auth {
    background: transparent;
}

.frame-type-speedy_accountlogin .speedy-auth-card {
    max-width: none;
    margin: 0;
    padding: 22px 45px 30px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .08);
    border-top: 1px solid #eee;
}

/* Account page: logout is an action bar, not a second oversized content section. */
body:has(.speedy-account) .frame-type-felogin_login {
    max-width: 1290px;
    margin: 0 auto 70px;
    padding: 24px 45px;
    box-shadow: none;
    background: #fff;
    border-top: 1px solid #eee;
}

body:has(.speedy-account) .frame-type-felogin_login h2,
body:has(.speedy-account) .frame-type-felogin_login h3,
body:has(.speedy-account) .frame-type-felogin_login p:not(:has(+ form)) {
    display: none;
}

body:has(.speedy-account) .frame-type-felogin_login fieldset {
    margin: 0;
}

body:has(.speedy-account) .frame-type-felogin_login form {
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

body:has(.speedy-account) .frame-type-felogin_login input[type="submit"],
body:has(.speedy-account) .frame-type-felogin_login button[type="submit"] {
    min-width: 170px;
}

@media (max-width: 767px) {
    .frame-type-felogin_login {
        margin: 45px 18px 24px;
        padding: 30px 22px
    }

    .frame-type-felogin_login h2 {
        font-size: 34px
    }

    .frame-type-speedy_accountlogin {
        margin: 0 18px 45px
    }

    .frame-type-speedy_accountlogin .speedy-auth-card {
        padding: 20px 22px 26px
    }

    body:has(.speedy-account) .frame-type-felogin_login {
        margin: 0 18px 45px;
        padding: 20px 22px
    }
}

/* v42: account/login pages use one continuous light-gray stage between header and footer. */
body:has(.frame-type-felogin_login):not(:has(.speedy-account)) main,
body:has(.frame-type-felogin_login):not(:has(.speedy-account)) .main-content,
body:has(.frame-type-felogin_login):not(:has(.speedy-account)) .page-content,
body:has(.frame-type-felogin_login):not(:has(.speedy-account)) #content {
    background: #f7f7f7 !important;
}

body:has(.frame-type-felogin_login):not(:has(.speedy-account)) main,
body:has(.frame-type-felogin_login):not(:has(.speedy-account)) .main-content {
    padding-top: 1px;
    padding-bottom: 1px;
}

body:has(.frame-type-felogin_login):not(:has(.speedy-account)) .frame-type-felogin_login {
    margin-top: 70px;
}

body:has(.frame-type-felogin_login):not(:has(.speedy-account)) .frame-type-speedy_accountlogin {
    margin-bottom: 70px;
}


/* v43 – public reviews + newsletter */
.speedy-community {
    background: #f4f4f4;
    min-height: 520px;
}

.speedy-community .title-area {
    max-width: 760px;
    margin: 0 auto 38px;
}

.speedy-review-grid {
    display: grid;
    grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.speedy-community-card {
    background: #fff;
    padding: 44px;
    box-shadow: 0 14px 35px rgba(18, 20, 25, .07);
}

.speedy-community-card h3 {
    margin: 0 0 24px;
}

.speedy-community-card .speedy-auth-form {
    display: grid;
    gap: 14px;
}

.speedy-community-card input:not([type=checkbox]), .speedy-community-card select, .speedy-community-card textarea {
    width: 100%;
    min-height: 54px;
    border: 1px solid #ddd;
    background: #fafafa;
    padding: 13px 16px;
}

.speedy-community-card textarea {
    min-height: 140px;
    resize: vertical;
}

.speedy-community-card .th-btn {
    width: 100%;
    border: 0;
}

.speedy-form-note {
    margin: -4px 0 4px;
    font-size: 13px;
    color: #777;
}

.speedy-review-entry {
    padding: 0 0 24px;
    margin: 0 0 24px;
    border-bottom: 1px solid #e6e6e6;
}

.speedy-review-entry:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.speedy-review-entry h4 {
    margin: 8px 0;
}

.speedy-stars {
    color: var(--theme-color, #f3af0c);
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.speedy-newsletter-card {
    max-width: 760px;
    margin: 0 auto;
}

.speedy-newsletter-card .sec-title {
    margin: 8px 0 15px;
}

.speedy-consent {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    cursor: pointer;
}

.speedy-consent input {
    margin-top: 4px;
    flex: 0 0 auto;
}

.speedy-newsletter-status {
    padding: 18px 20px;
    background: #f7f7f7;
    border-left: 4px solid var(--theme-color, #f3af0c);
    margin: 25px 0;
}

.speedy-newsletter-status i {
    color: var(--theme-color, #f3af0c);
    margin-right: 8px;
}

@media (max-width: 767px) {
    .speedy-review-grid {
        grid-template-columns:1fr
    }

    .speedy-community-card {
        padding: 28px 22px
    }
}


/* v44 – review plugin collision + visible newsletter consent */
.speedy-consent input[type="checkbox"] {
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    width: 18px !important;
    height: 18px !important;
    min-height: 0 !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important;
    accent-color: var(--theme-color, #f3af0c);
}

.frame-type-speedy_reviewform > header,
.frame-type-speedy_reviewform > .frame-header,
.frame-type-speedy_newsletter > header,
.frame-type-speedy_newsletter > .frame-header {
    display: none;
}

/* v45 – Malen hides native checkboxes globally; restore newsletter consent */
.speedy-newsletter-card .speedy-consent input[type="checkbox"] {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    position: static !important;
    vertical-align: top !important;
    flex: 0 0 18px !important;
    accent-color: var(--theme-color, #f3af0c);
}


/* v47 – TYPO3 FlashMessage list markers in community/newsletter areas */
.speedy-community .typo3-messages,
.speedy-newsletter-card .typo3-messages {
    list-style: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.speedy-community .typo3-messages > li,
.speedy-newsletter-card .typo3-messages > li {
    list-style: none !important;
    margin-left: 0 !important;
}

.speedy-community .typo3-messages > li::marker,
.speedy-newsletter-card .typo3-messages > li::marker {
    content: "";
}

/* v48 profile images + live customer reviews */
.speedy-profile-image {
    width: 120px;
    height: 120px;
    margin: 0 0 24px;
    border-radius: 50%;
    overflow: hidden;
    background: #e7e7e7;
    border: 4px solid #f5ad00
}

.speedy-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.speedy-profile-upload {
    display: block;
    margin: 4px 0 18px
}

.speedy-profile-upload strong, .speedy-profile-upload small {
    display: block;
    margin-bottom: 7px
}

.speedy-profile-upload small {
    font-weight: 400;
    color: #777;
    margin-top: 6px
}

.speedy-profile-upload input[type=file] {
    display: block !important;
    width: 100%;
    height: auto !important;
    padding: 12px !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: #f8f8f8;
    border: 1px solid #ddd
}

.speedy-review-entry-avatar, .speedy-review-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: #e7e7e7;
    flex: 0 0 64px
}

.speedy-review-entry-avatar img, .speedy-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.speedy-review-entry-avatar {
    margin-bottom: 12px
}

.speedy-live-review {
    display: flex;
    gap: 22px;
    align-items: flex-start
}

.testi-card-2_img img, .testi-box-two_img img {
    object-fit: cover
}

/* v49 – backend-selected offers in Malen price layouts */
.speedy-offers .speedy-offer-badge {
    display: inline-block;
    background: var(--theme-color);
    color: #111;
    font-weight: 700;
    font-size: 12px;
    padding: 5px 10px;
    margin-bottom: 15px;
    text-transform: uppercase
}

.speedy-offers .speedy-normal-price {
    margin: 0 0 12px;
    color: #777;
    text-decoration: line-through
}

.speedy-offers .speedy-offer-description {
    margin-bottom: 20px
}

.speedy-offers .speedy-offer-description p:last-child {
    margin-bottom: 0
}

.speedy-offers .available-list {
    margin: 0 0 25px;
    padding: 0;
    list-style: none
}

.speedy-offers .available-list li {
    position: relative;
    padding: 7px 0 7px 25px
}

.speedy-offers .available-list li:before {
    content: "\f058";
    font-family: var(--icon-font);
    position: absolute;
    left: 0;
    color: var(--theme-color)
}

.speedy-offers .price-card.style2.active {
    background: var(--title-color)
}

.speedy-offers .price-card.style2.active .speedy-offer-description, .speedy-offers .price-card.style2.active .speedy-normal-price {
    color: #ddd
}

.speedy-offers .price-card.style2.active .available-list li {
    color: #fff
}

.speedy-offers .price-box_header {
    gap: 20px
}

@media (max-width: 767px) {
    .speedy-offers .price-box {
        align-items: flex-start;
        flex-direction: column
    }

    .speedy-offers .price-box_img {
        width: 100%;
        max-width: 260px
    }

    .speedy-offers .price-box_header {
        display: block
    }

    .speedy-offers .price-box_price {
        margin-top: 8px
    }
}

/* v50 – all non-shop Malen price/offer presentations */
.speedy-offers .price-card, .speedy-offers .price-item, .speedy-offers .price-box {
    height: 100%
}

.speedy-offers-offer-card .price-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat
}

.speedy-offers-offer-card .speedy-offer-description {
    margin: 18px 0
}

.speedy-offers-offer-card .offer-tag {
    display: inline-block
}

.speedy-offers-offer-card2 .price-card_price i, .speedy-offers-offer-item .price-item_price i {
    color: var(--theme-color)
}

.speedy-offers-offer-item .speedy-offer-badge {
    margin-top: 0
}

.speedy-offers-offer-box .price-box_img:empty {
    display: none
}

.speedy-offers-offer-box .price-box_content {
    flex: 1
}

.speedy-offers .price-card_price small {
    font-size: 14px;
    font-weight: 500
}

/* v51 – offer layout selector is independent from generic Speedy variants. */
.speedy-offers-price-card .price-card {
    background-size: cover;
    background-position: center;
}

/* Minimal root page: logo only. */
.speedy-home-card {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 32px 20px;
    background: #fff;
    text-align: center;
}

.speedy-home-card__inner {
    width: min(100%, 680px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.speedy-home-card__logo {
    display: block;
    width: auto;
    max-width: min(100%, 520px);
    max-height: 240px;
    height: auto;
    object-fit: contain;
}

.speedy-home-card__address {
    margin: 0;
    font: inherit;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.55;
    color: #111;
}

.speedy-home-card__address span {
    display: block;
}

.speedy-home-card__phone {
    color: #111;
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 700;
    text-decoration: none;
}

.speedy-home-card__phone:hover,
.speedy-home-card__phone:focus {
    color: #f5ad00;
}

/* v53 – brand wedge fills the complete upper header row. */
.speedy-header .menu-top.speedy-brandbar {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 84px;
}

.speedy-header .speedy-brandbar > .container,
.speedy-header .speedy-brandbar > .container > .row {
    min-height: 84px;
}

.speedy-header .speedy-brandbar > .container > .row > .col-auto:first-child {
    align-self: stretch;
    display: flex;
    align-items: stretch;
}

.speedy-header .speedy-brand-logo {
    min-height: 84px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.speedy-header .speedy-brand-logo > a {
    min-height: 84px;
    display: flex !important;
    align-items: center !important;
}

.speedy-header .speedy-brand-logo:before {
    top: 0 !important;
    bottom: 0 !important;
}

@media (max-width: 991px) {
    .speedy-header .menu-top.speedy-brandbar,
    .speedy-header .speedy-brandbar > .container,
    .speedy-header .speedy-brandbar > .container > .row,
    .speedy-header .speedy-brand-logo,
    .speedy-header .speedy-brand-logo > a {
        min-height: 72px;
    }
}


/* v54 – Malen-style topbar with rx_shariff. */
.speedy-malen-topbar {
    min-height: 50px;
    background: #fff;
    color: #111;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, .04);
}

.speedy-malen-topbar__inner {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.speedy-malen-topbar__text {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 500;
}

.speedy-malen-topbar__social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    white-space: nowrap;
}

.speedy-malen-topbar__label {
    font-size: 16px;
    font-weight: 600;
}

.speedy-shariff .shariff {
    margin: 0 !important;
}

.speedy-shariff .shariff ul {
    display: flex !important;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    padding: 0 !important;
}

.speedy-shariff .shariff li {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    margin: 0 !important;
}

.speedy-shariff .shariff li a {
    width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--theme-color, #f5ad00) !important;
}

.speedy-shariff .shariff li a:hover,
.speedy-shariff .shariff li a:focus {
    background: var(--theme-color, #f5ad00) !important;
    color: #111 !important;
}

.speedy-shariff .shariff .share_text,
.speedy-shariff .shariff .share_count {
    display: none !important;
}

.speedy-shariff .shariff .fa,
.speedy-shariff .shariff .fab,
.speedy-shariff .shariff .fas,
.speedy-shariff .shariff svg {
    color: currentColor !important;
    fill: currentColor !important;
}

@media (max-width: 767px) {
    .speedy-malen-topbar {
        display: none;
    }
}

/* v55 – Malen header geometry: logo wedge spans topbar + contact row. */
.speedy-malen-head {
    --speedy-logo-panel: clamp(390px, 31vw, 570px);
    position: relative;
    display: grid;
    grid-template-columns: var(--speedy-logo-panel) minmax(0, 1fr);
    min-height: 134px;
    background: var(--speedy-dark, #15171f);
    overflow: hidden;
}

.speedy-malen-head__logo {
    position: relative;
    z-index: 2;
    min-height: 134px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 82px 20px 34px;
    background: var(--speedy-accent, #f5ad00);
    clip-path: polygon(0 0, 100% 0, calc(100% - 46px) 100%, 0 100%);
}

.speedy-malen-head__logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.speedy-malen-head__logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 260px !important;
    max-height: 88px !important;
    object-fit: contain;
}

.speedy-malen-head__content {
    min-width: 0;
    display: grid;
    grid-template-rows:50px 84px;
}

.speedy-malen-head .speedy-malen-topbar {
    min-height: 50px;
    border: 0;
}

.speedy-malen-head .speedy-malen-topbar > .container,
.speedy-malen-head .speedy-brandbar > .container {
    max-width: none;
    width: 100%;
    padding-left: 56px;
    padding-right: max(24px, calc((100vw - 1320px) / 2));
}

.speedy-malen-head .speedy-malen-topbar__inner {
    min-height: 50px;
}

.speedy-malen-head .speedy-brandbar {
    min-height: 84px !important;
    padding: 0 !important;
    background: var(--speedy-dark, #15171f);
}

.speedy-malen-head .speedy-brandbar > .container,
.speedy-malen-head .speedy-brandbar > .container > .row {
    min-height: 84px;
}

.speedy-malen-head .speedy-header-meta {
    width: 100%;
    justify-content: flex-end;
    gap: 38px;
}

.speedy-malen-head .header-info {
    margin: 0;
}

.speedy-malen-head .header-info_icon {
    color: var(--speedy-accent, #f5ad00);
}

.speedy-malen-head .icon-btn {
    flex: 0 0 auto;
}

/* The old logo wedge belongs to the pre-v55 header and must not render here. */
.speedy-malen-head .speedy-brand-logo {
    display: none !important;
}

@media (max-width: 1199px) {
    .speedy-malen-head {
        --speedy-logo-panel: 350px;
    }

    .speedy-malen-head .speedy-malen-topbar > .container,
    .speedy-malen-head .speedy-brandbar > .container {
        padding-left: 34px;
        padding-right: 24px;
    }

    .speedy-malen-head .speedy-header-meta {
        gap: 24px;
    }
}

@media (max-width: 991px) {
    .speedy-malen-head {
        --speedy-logo-panel: 300px;
        min-height: 122px;
    }

    .speedy-malen-head__logo {
        min-height: 122px;
        padding-right: 64px;
    }

    .speedy-malen-head__logo img {
        max-width: 210px !important;
        max-height: 72px !important;
    }

    .speedy-malen-head__content {
        grid-template-rows:50px 72px;
    }

    .speedy-malen-head .speedy-brandbar,
    .speedy-malen-head .speedy-brandbar > .container,
    .speedy-malen-head .speedy-brandbar > .container > .row {
        min-height: 72px !important;
    }
}

@media (max-width: 767px) {
    .speedy-malen-head {
        display: block;
        min-height: auto;
        background: var(--speedy-accent, #f5ad00);
    }

    .speedy-malen-head__logo {
        min-height: 82px;
        clip-path: none;
        padding: 10px 64px 10px 20px;
        justify-content: flex-start;
    }

    .speedy-malen-head__logo img {
        max-width: 190px !important;
        max-height: 62px !important;
    }

    .speedy-malen-head__content {
        display: none;
    }
}

/* v57 – complete Malen geometry: white top row, dark contact row and opposing social wedge. */
.speedy-malen-head {
    /* Do not let the dark contact-row background bleed into the clipped logo area. */
    background: linear-gradient(
            to bottom,
            #fff 0,
            #fff 50px,
            var(--speedy-dark, #15171f) 50px,
            var(--speedy-dark, #15171f) 100%
    );
}

/* Logo wedge: full width at the top, receding to the left at the bottom. */
.speedy-malen-head__logo {
    clip-path: polygon(0 0, 100% 0, calc(100% - 46px) 100%, 0 100%);
}

/* The content column itself owns the two clean row backgrounds. */
.speedy-malen-head__content {
    background: transparent;
}

.speedy-malen-head .speedy-malen-topbar {
    position: relative;
    z-index: 3;
    background: #fff !important;
    color: #111;
}

.speedy-malen-head .speedy-brandbar {
    position: relative;
    z-index: 2;
    background: var(--speedy-dark, #15171f) !important;
}

/* Malen-style counterpart on the right: only the label gets the yellow wedge. */
.speedy-malen-head .speedy-malen-topbar__social {
    gap: 10px;
}

.speedy-malen-head .speedy-malen-topbar__label {
    position: relative;
    display: inline-flex;
    align-items: center;
    align-self: stretch;
    min-height: 50px;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 30px;
    color: #111;
    font-weight: 700;
    background: var(--speedy-accent, #f5ad00);
    clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 100%, 0 100%);
}

/* Shariff stays on the white part, with Speedy-yellow icons only. */
.speedy-malen-head .speedy-shariff {
    display: flex;
    align-items: center;
    min-height: 50px;
}

.speedy-malen-head .speedy-shariff .shariff li a,
.speedy-malen-head .speedy-shariff .shariff li a:hover,
.speedy-malen-head .speedy-shariff .shariff li a:focus {
    background: transparent !important;
}

.speedy-malen-head .speedy-shariff .shariff li a {
    color: var(--speedy-accent, #f5ad00) !important;
}

.speedy-malen-head .speedy-shariff .shariff li a:hover,
.speedy-malen-head .speedy-shariff .shariff li a:focus {
    color: #111 !important;
}

@media (max-width: 1199px) {
    .speedy-malen-head .speedy-malen-topbar__label {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 991px) {
    .speedy-malen-head {
        background: linear-gradient(
                to bottom,
                #fff 0,
                #fff 50px,
                var(--speedy-dark, #15171f) 50px,
                var(--speedy-dark, #15171f) 100%
        );
    }

    .speedy-malen-head .speedy-malen-topbar__label {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 767px) {
    .speedy-malen-head {
        background: var(--speedy-accent, #f5ad00);
    }
}
