/* ========================================================================
   Elatrik v14 — soepelere diensten-hero overgang + premium merkenbar
   ======================================================================== */

/* Dienstenpagina: zachtere overgang tussen hero-foto en lichte content. */
.service-cover-hero {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate !important;
    background: var(--cream) !important;
}
.service-cover-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: clamp(180px, 22vw, 340px);
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(251,248,242,.98) 0%, rgba(251,248,242,.82) 26%, rgba(251,248,242,.42) 50%, rgba(251,248,242,0) 76%),
        linear-gradient(180deg, rgba(251,248,242,0) 0%, rgba(251,248,242,.34) 38%, rgba(251,248,242,.88) 72%, var(--cream) 100%);
}
.service-cover-hero__shade {
    background:
        radial-gradient(circle at 70% 45%, rgba(217,150,46,.10), transparent 40%),
        linear-gradient(0deg, rgba(251,248,242,.80) 0%, rgba(251,248,242,.38) 14%, rgba(18,17,15,.08) 34%, rgba(18,17,15,.20) 100%),
        linear-gradient(90deg, rgba(18,17,15,.90) 0%, rgba(18,17,15,.68) 42%, rgba(18,17,15,.24) 72%, rgba(18,17,15,.10) 100%) !important;
}
.service-cover-hero__content {
    position: relative !important;
    z-index: 4 !important;
}
.service-detail-section {
    margin-top: -1px !important;
}

/* Home: premium merkenbar onder de USP-sectie. */
.quality-brands {
    position: relative;
    z-index: 2;
    margin-top: clamp(3rem, 5vw, 5.5rem);
    padding-top: clamp(1.4rem, 2vw, 2rem);
    border-top: 1px solid rgba(36,35,31,.08);
}
.quality-brands__label {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.quality-brands__label::before {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--amber);
}
.quality-brands__rail {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(36,35,31,.08);
    background: rgba(255,255,255,.62);
    box-shadow: 0 20px 70px rgba(34,28,20,.045);
    border-radius: 18px;
    mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
.quality-brands__track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: qualityBrandMarquee 34s linear infinite;
}
.quality-brands__rail:hover .quality-brands__track {
    animation-play-state: paused;
}
.quality-brand {
    min-width: clamp(128px, 12vw, 190px);
    height: clamp(58px, 5.6vw, 78px);
    padding: 0 clamp(1.1rem, 2vw, 2.1rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(36,35,31,.34);
    border-right: 1px solid rgba(36,35,31,.06);
    filter: grayscale(1);
    opacity: .72;
    transition: color .24s ease, opacity .24s ease, filter .24s ease, background .24s ease;
}
.quality-brand span {
    display: inline-block;
    font-weight: 950;
    font-size: clamp(1rem, 1.25vw, 1.38rem);
    letter-spacing: -.04em;
    white-space: nowrap;
}
.quality-brand img {
    max-width: 150px;
    max-height: 42px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.quality-brand:hover {
    color: var(--amber);
    opacity: 1;
    filter: grayscale(0);
    background: rgba(217,150,46,.045);
}
@keyframes qualityBrandMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .quality-brands__track { animation: none; flex-wrap: wrap; width: 100%; }
}
@media (max-width: 767.98px) {
    .service-cover-hero::after { height: 210px; }
    .quality-brands { margin-top: 2.5rem; }
    .quality-brands__rail { mask-image: none; -webkit-mask-image: none; }
    .quality-brand { min-width: 135px; height: 62px; }
}
