/* Body scroll fix — preloader is removed so .loading never gets cleared */
/* Note: overflow-x:hidden on body/html breaks position:sticky in Safari */
html { overflow: visible !important; overflow-x: clip !important; height: auto !important; }
body, body.loading { overflow: visible !important; overflow-x: clip !important; height: auto !important; }
.preloader { display: none !important; }


/* Breadcrumbs: inside page hero, centered above title */
.breadcrumbs {
    background: transparent !important;
    border: none !important;
    border-bottom: none !important;
    padding: 0 !important;
    margin: 1rem 0 0.5rem 0 !important;
    text-align: center;
    display: block !important;
}
.breadcrumbs .container { padding: 0; }
.breadcrumbs__list {
    color: rgba(255,255,255,0.7) !important;
    font-size: 0.8rem !important;
    justify-content: center !important;
    letter-spacing: 0.05em;
}
.breadcrumbs__item a { color: rgba(255,255,255,0.6) !important; text-decoration: none !important; }
.breadcrumbs__item a:hover { color: var(--color-orange) !important; }
.breadcrumbs__item + .breadcrumbs__item::before { color: rgba(255,255,255,0.35) !important; }
.breadcrumbs__item--active { color: #fff !important; font-weight: 500 !important; }

/* Disable custom cursor — use system cursor */
.cursor { display: none !important; }
* { cursor: revert !important; }
a, button, [role="button"], select, .btn, label, summary { cursor: pointer !important; }
input, textarea { cursor: text !important; }

/* Hero title animation — start immediately, no preloader delay */
.hero__title .line:nth-child(1) .line__inner { animation-delay: 0.1s !important; }
.hero__title .line:nth-child(2) .line__inner { animation-delay: 0.25s !important; }
.hero__title .line:nth-child(3) .line__inner { animation-delay: 0.4s !important; }

/* Fix italic / serif letters being clipped at edges */
em { padding-right: 0.08em; padding-left: 0.02em; }
.hero__title em,
.section__title em,
.page-hero__title em,
h1 em, h2 em, h3 em {
    padding-right: 0.15em;
    padding-left: 0.04em;
}
/* Hero title line: remove overflow:hidden that clips italic letters */
.hero__title .line {
    overflow: visible !important;
}
/* Reviews slider name + marquee items: prevent edge clipping */
.reviews__card-name,
.usp-marquee__item {
    padding: 0 0.15em;
}

/* Hero images: dark purple border + rounded corners on both */
.hero__image--1 {
    border: 3px solid var(--color-bg-dark) !important;
    border-radius: 16px;
}
.hero__image--2 {
    border-color: var(--color-bg-dark) !important;
    border-radius: 16px;
}
.hero__image img {
    border-radius: 12px;
}

/* CTA banner: full width */

/* Hero overlays: more transparent so photos show through more */
.hero__bg-overlay {
    background:
        radial-gradient(ellipse at 70% 30%, rgba(212, 82, 58, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 70%, rgba(212, 82, 58, 0.04) 0%, transparent 50%),
        linear-gradient(160deg, rgba(26, 34, 48, 0.3) 0%, rgba(26, 34, 48, 0.7) 100%) !important;
}
.page-hero__overlay {
    background:
        radial-gradient(ellipse at center, rgba(224, 85, 53, 0.06) 0%, transparent 60%),
        linear-gradient(to bottom, rgba(22, 16, 42, 0.15) 0%, rgba(22, 16, 42, 0.55) 100%) !important;
}

/* Anchor nav pills: clean white buttons instead of pill outlines */
.anchor-nav {
    border-bottom: none !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
}
.anchor-nav__pill {
    border: none !important;
    background: #f5f1ec !important;
    color: var(--color-text) !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    transition: all 0.25s ease !important;
}
.anchor-nav__pill svg {
    display: none !important;
}
.anchor-nav__pill:hover {
    background: var(--color-orange) !important;
    color: #fff !important;
    transform: translateY(-1px);
}
.anchor-nav__pill.is-active {
    background: var(--color-orange) !important;
    color: #fff !important;
    box-shadow: 0 3px 12px rgba(232,97,42,0.3) !important;
}

/* Page hero subtitle: white text, more breathing room */
.page-hero__subtitle {
    color: rgba(255,255,255,0.85) !important;
    max-width: 500px !important;
    padding: 0 1.5rem !important;
    margin: 0.5rem auto 0 !important;
    line-height: 1.7 !important;
}

/* 10+ Jaar Ervaring float card: rounded corners */
.about__float-card {
    border-radius: 16px !important;
}

/* "Worldwide available" script text: bigger and closer to title */
.hero__script {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem) !important;
    margin-bottom: 0.5rem !important;
}

/* ====== MOBILE PERFORMANCE (Safari/iOS) ====== */
@media (max-width: 768px) {
    /* Disable backdrop-filter — very expensive on mobile Safari */
    .nav, .nav--scrolled, .search-overlay, .lightbox__backdrop,
    .sticky-cta, .nav__links--open, .preloader {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    /* Nav: solid bg when backdrop-filter is off (only when scrolled) */
    .nav--scrolled {
        background: rgba(255,255,255,0.98) !important;
    }

    /* Nav actions — prevent icon overlap on small screens */
    .nav__actions {
        gap: 0.5rem !important;
    }
    .nav__phone {
        width: 34px !important;
        height: 34px !important;
    }
    .nav__phone svg {
        width: 16px !important;
        height: 16px !important;
    }

    /* Disable floating background elements */
    .floating-el, .floating-elements {
        display: none !important;
    }

    /* Simplify powder/brush decorations */
    .powder, .brush-deco {
        display: none !important;
    }

    /* Hero title — more padding so text doesn't touch edges */
    .hero__content {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    .hero__title {
        font-size: clamp(2.2rem, 8vw, 3rem) !important;
        word-break: break-word;
    }
    .page-hero__title {
        font-size: clamp(2rem, 7vw, 3.5rem) !important;
        letter-spacing: 0.15em !important;
        padding: 0 1rem !important;
    }
    .section__title {
        padding: 0 0.5rem;
    }


    /* Reduce hero animation delays for faster load feel */
    .hero__title .line:nth-child(1) .line__inner { animation-delay: 0s !important; }
    .hero__title .line:nth-child(2) .line__inner { animation-delay: 0.1s !important; }
    .hero__title .line:nth-child(3) .line__inner { animation-delay: 0.2s !important; }

    /* Make hero elements visible faster — fallback if JS is slow */
    .hero__script, .hero__description, .hero__actions,
    .hero__google-review, .hero__scroll, .hero__clients {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    /* Simplify will-change to reduce GPU memory */
    * { will-change: auto !important; }

    /* Reduce parallax image scaling for smoother scroll */
    .quote-break__bg img {
        transform: none !important;
    }

    /* Anchor nav — sticky with solid bg */
    .anchor-nav {
        position: sticky !important;
        background: rgba(255,255,255,0.98) !important;
        z-index: 999 !important;
    }
    .anchor-nav__pill {
        font-size: 0.65rem !important;
        padding: 0.45rem 0.8rem !important;
    }

    /* USP marquee — prevent text clipping */
    .usp-marquee {
        overflow: visible !important;
    }
    .usp-marquee__track {
        padding: 0.5rem 0 !important;
    }

    /* Stats: 2 columns + 1 centered below */
    .about__stats {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 2rem !important;
    }
    .about__stat {
        width: 42% !important;
        justify-content: center !important;
        text-align: center !important;
    }
    .about__stat:last-child {
        width: 50% !important;
    }
    .about__stat-label {
        text-align: center !important;
    }
}

/* ====== PRICING FEATURES: only orange checkmarks, no dots ====== */
.pricing__card ul li::before {
    display: none !important;
}
.pricing__card ul li svg {
    stroke: var(--color-orange) !important;
    flex-shrink: 0;
    width: 18px !important;
    height: 18px !important;
}
