/* ==========================================================================
   Master Key — GSAP fade animations
   Header items and the TEXT at the top of the page are hidden until the script fades them in.
   The big images (hero slide, page header background) stay visible from the first paint:
   they are the "Largest Contentful Paint" measured by Google.
   (.mk-anim is added by an inline script in <head>, removed after 3.5s at most)
   ========================================================================== */
.mk-anim header .logo-header,
.mk-anim header .navbar-nav > li,
.mk-anim header .options-header > *,
.mk-anim .block-hero--gute .item-slide-hero .container,
.mk-anim .head-page > .container {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .mk-anim header .logo-header,
    .mk-anim header .navbar-nav > li,
    .mk-anim header .options-header > *,
    .mk-anim .block-hero--gute .item-slide-hero .container,
    .mk-anim .head-page > .container { opacity: 1; }
}

/* ---------- Home hero: layered entrances ---------- */
.block-hero--gute .mk-word {
    display: inline-block;
    will-change: transform, filter, opacity;
}
.block-hero--gute .item-slide-hero > img { will-change: transform, filter; }

/* Hero text case: top title in capitals, H1 with a capital at the start of each word */
.block-hero--gute .item-slide-hero .top-title { text-transform: uppercase; }
.block-hero--gute .item-slide-hero .title-h1 { text-transform: capitalize; }
