@import url('/custom/assets/fonts/fonts.css');

/* ============================================================
   TOKENS
   ============================================================ */
:root {
    --primary:            #00C853;
    --primary-hover:      #00E060;
    --primary-ink:        #007A33;   /* Grün für Text auf hellem Grund (AA) */
    --primary-tint:       #E3F8EA;

    --secondary:          #0B2A1E;   /* Tiefes Waldgrün-Schwarz */
    --secondary-2:        #12402D;
    --secondary-soft:     #1B5B41;

    --bg:                 #F1F5EF;
    --surface:            #FFFFFF;
    --outer-mainmenu-bg:  #FFFFFF;

    --text:               #1A2B22;
    --text-muted:         #54675B;
    --line:               #DCE5DA;

    --font-display:       'Bricolage Grotesque', 'Segoe UI', sans-serif;
    --font-body:          'Figtree', 'Segoe UI', sans-serif;

    --logo-h:             80px;
    --maxw:               1180px;
    --gutter:             clamp(1rem, 4vw, 2rem);
    --radius:             14px;
    --radius-lg:          22px;
    --shadow-sm:          0 1px 2px rgba(11,42,30,.06), 0 2px 8px rgba(11,42,30,.05);
    --shadow-md:          0 10px 30px -8px rgba(11,42,30,.22);
    --ease:               cubic-bezier(.2,.7,.2,1);
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary-ink); text-underline-offset: .18em; }
a:hover { color: var(--secondary); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--secondary); line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.015em; font-weight: 700; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

.inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
    position: absolute; left: 1rem; top: -4rem; z-index: 200;
    background: var(--secondary); color: #fff; padding: .6rem 1rem; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ============================================================
   BUTTONS & SMALL PARTS
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1;
    padding: .95rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
    text-decoration: none; cursor: pointer;
    transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: var(--secondary); }
.btn-primary:hover { background: var(--primary-hover); color: var(--secondary); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-ink { background: var(--secondary); color: #fff; }
.btn-ink:hover { background: var(--primary); color: var(--secondary); }

.eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-family: var(--font-display); font-weight: 600; font-size: .85rem;
    letter-spacing: .14em; text-transform: uppercase; color: var(--primary-ink);
    margin-bottom: 1rem; text-decoration: none;
}
.eyebrow::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: var(--primary); }
.eyebrow-light { color: var(--primary); }
.eyebrow-link:hover { color: var(--secondary); }

.section-title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.5rem; }
.empty-note { color: var(--text-muted); }

/* ============================================================
   HEADER / NAV  (.outer-mainmenu-container = .site-header)
   ============================================================ */
.site-header,
.outer-mainmenu-container {
    background-color: var(--outer-mainmenu-bg);
    position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -12px rgba(11,42,30,.25); }

.nav-inner {
    max-width: var(--maxw); margin-inline: auto; padding: .5rem var(--gutter);
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav-logo { display: block; flex-shrink: 0; line-height: 0; }
.logo-img { height: var(--logo-h); width: auto; max-width: none; }

.nav-panel { display: flex; align-items: center; gap: 1.5rem; }
.nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
    position: relative; display: block; padding: .6rem .9rem;
    font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
    color: var(--secondary); text-decoration: none; border-radius: 999px;
    transition: background .25s, color .25s;
}
.nav-links a:hover { background: var(--primary-tint); color: var(--secondary); }
.nav-links a.active { background: var(--secondary); color: #fff; }

.nav-cta {
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--primary); color: var(--secondary); text-decoration: none;
    font-family: var(--font-display); font-weight: 700; font-size: .98rem;
    padding: .7rem 1.2rem; border-radius: 999px;
    transition: background .25s, transform .25s var(--ease);
}
.nav-cta:hover { background: var(--secondary); color: #fff; transform: translateY(-2px); }

.nav-toggle {
    display: none; width: 48px; height: 48px; border: 0; border-radius: 12px;
    background: var(--primary-tint); cursor: pointer; flex-direction: column;
    align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--secondary); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 960px) {
    :root { --logo-h: 60px; }
    .nav-toggle { display: flex; }
    .nav-panel {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 1rem;
        background: var(--outer-mainmenu-bg); padding: 1rem var(--gutter) 1.5rem;
        border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(11,42,30,.35);
        visibility: hidden; opacity: 0; transform: translateY(-8px);
        transition: opacity .25s, transform .25s var(--ease), visibility .25s;
    }
    .nav-panel.open { visibility: visible; opacity: 1; transform: none; }
    .nav-links { flex-direction: column; align-items: stretch; }
    .nav-links a { padding: .9rem 1rem; }
    .nav-cta { justify-content: center; padding: .95rem 1.2rem; }
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-bar { background: var(--surface); border-bottom: 1px solid var(--line); }
.breadcrumb-bar .inner { padding-block: .7rem; }
.breadcrumb { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; font-size: .9rem; color: var(--text-muted); }
.breadcrumb-item + .breadcrumb-item::before { content: var(--bs-breadcrumb-divider, '/'); padding: 0 .55rem; color: var(--line); }
.breadcrumb-item a { color: var(--primary-ink); text-decoration: none; font-weight: 500; }
.breadcrumb-item a:hover { text-decoration: underline; }
.breadcrumb-item.active { color: var(--text-muted); }

/* ============================================================
   HOME
   ============================================================ */
.home-hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(0,200,83,.28), transparent 60%),
        radial-gradient(600px 400px at -5% 110%, rgba(0,200,83,.16), transparent 60%),
        var(--secondary);
    padding-block: clamp(3rem, 7vw, 6rem);
}
.home-hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: linear-gradient(115deg, #000 0%, transparent 70%);
            mask-image: linear-gradient(115deg, #000 0%, transparent 70%);
}
.home-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.home-intro-title { font-size: clamp(2.4rem, 5.6vw, 4.4rem); color: #fff; letter-spacing: -.03em; font-weight: 800; margin-bottom: 1.2rem; }
.home-intro-body { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.82); max-width: 34em; }
.home-intro-body p:last-child { margin-bottom: 0; }
.home-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero-card {
    position: relative; display: block; aspect-ratio: 5 / 4; border-radius: var(--radius-lg); overflow: hidden;
    text-decoration: none; color: #fff; background: var(--secondary-2);
    box-shadow: 0 30px 60px -25px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.1);
    transform: rotate(1.4deg); transition: transform .5s var(--ease);
}
.hero-card:hover { transform: rotate(0) translateY(-4px); color: #fff; }
.hero-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hero-card:hover img { transform: scale(1.05); }
.hero-card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(6,24,16,.88) 100%); }
.hero-card-content { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.1rem, 3vw, 1.8rem); display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; }
.hero-category { background: var(--primary); color: var(--secondary); font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .75rem; border-radius: 999px; }
.hero-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.15; letter-spacing: -.01em; }
.hero-btn { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--primary); }

.home-chips { background: var(--surface); border-bottom: 1px solid var(--line); }
.chips-row { display: flex; flex-wrap: wrap; gap: .6rem; padding-block: 1rem; }
.chip {
    font-family: var(--font-display); font-weight: 600; font-size: .95rem; text-decoration: none;
    color: var(--secondary); background: var(--primary-tint); padding: .5rem 1.1rem; border-radius: 999px;
    transition: background .25s, color .25s, transform .25s var(--ease);
}
.chip:hover { background: var(--secondary); color: #fff; transform: translateY(-2px); }

.home-categories { padding-block: clamp(2.5rem, 6vw, 4.5rem); scroll-margin-top: 100px; }
.cat-section + .cat-section { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.cat-header { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 2px solid var(--secondary); }
.cat-num { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--primary-ink); }
.cat-header h2 { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.4rem); flex: 1; }
.cat-header h2 a { color: inherit; text-decoration: none; }
.cat-header h2 a:hover { color: var(--primary-ink); }
.cat-more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.cat-more svg { transition: transform .25s var(--ease); }
.cat-more:hover svg { transform: translateX(4px); }

.home-newsletter { background: var(--primary); }
.home-newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; padding-block: clamp(2rem, 5vw, 3.2rem); }
.home-newsletter h2 { color: var(--secondary); font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: .3rem; }
.home-newsletter p { color: var(--secondary); margin: 0; font-size: 1.1rem; }

@media (max-width: 880px) {
    .home-hero-grid { grid-template-columns: 1fr; }
    .hero-card { transform: none; aspect-ratio: 16 / 11; }
}

/* ============================================================
   KARTEN / ARTICLE LIST
   ============================================================ */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.75rem); }
@media (max-width: 960px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .article-grid { grid-template-columns: 1fr; } }

.article-card { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card-link:hover { color: inherit; }
.card-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--secondary-2); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.article-card:hover .card-img img { transform: scale(1.06); }
.card-tag { position: absolute; left: .9rem; top: .9rem; background: var(--surface); color: var(--secondary); font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.4rem 1.5rem; }
.card-title { font-size: 1.28rem; margin-bottom: .6rem; transition: color .25s; }
.article-card:hover .card-title { color: var(--primary-ink); }
.card-excerpt { color: var(--text-muted); font-size: .98rem; line-height: 1.55; margin-bottom: 1.2rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-arrow { margin-top: auto; display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 700; color: var(--primary-ink); }
.card-arrow svg { transition: transform .3s var(--ease); }
.article-card:hover .card-arrow svg { transform: translateX(5px); }

/* ============================================================
   KATEGORIE-SEITE
   ============================================================ */
.page-hero { background: var(--secondary); color: #fff; padding-block: clamp(2.5rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(0,200,83,.4), transparent 68%); pointer-events: none; }
.page-hero .eyebrow { color: var(--primary); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: .8rem; }
.category-desc { max-width: 38em; font-size: 1.15rem; color: rgba(255,255,255,.82); position: relative; z-index: 1; }
.category-desc p:last-child { margin-bottom: 0; }
.category-list { padding-block: clamp(2rem, 5vw, 3.5rem); }

.pagination-wrap { margin-top: 2.5rem; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.page-link { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .8rem; border-radius: 12px; background: var(--surface); color: var(--secondary); font-family: var(--font-display); font-weight: 700; text-decoration: none; box-shadow: var(--shadow-sm); transition: background .25s, color .25s; }
a.page-link:hover { background: var(--primary); color: var(--secondary); }
.page-item.active .page-link { background: var(--secondary); color: #fff; }
.page-item.disabled .page-link { opacity: .45; box-shadow: none; }

/* ============================================================
   ARTIKEL
   ============================================================ */
.article-head { padding-top: clamp(2rem, 5vw, 3.5rem); max-width: 920px; margin-inline: 0; }
.article-wrap > .article-head { margin-inline: auto; max-width: var(--maxw); }
.article-head h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; max-width: 20em; }
.article-meta { color: var(--text-muted); font-size: .95rem; margin: 0; }
.article-hero { margin-block: 1.5rem 0; }
.article-hero img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

.article-body, .page-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.article-main, .page-main { min-width: 0; }
@media (max-width: 960px) { .article-body, .page-body { grid-template-columns: 1fr; } }

.article-content { font-size: 1.1rem; max-width: 46rem; }
.article-content > :first-child { margin-top: 0; }
.article-content h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.article-content h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 2.2em; }
.article-content h3 { font-size: 1.4rem; margin-top: 1.9em; }
.article-content h4 { font-size: 1.15rem; margin-top: 1.7em; }
.article-content h2::before { content: ''; display: block; width: 42px; height: 4px; border-radius: 4px; background: var(--primary); margin-bottom: .6rem; }
.page-main.article-content h2::before { display: none; }
.article-content ul, .article-content ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.article-content li { margin-bottom: .45em; }
.article-content li::marker { color: var(--primary-ink); font-weight: 700; }
.article-content strong { color: var(--secondary); }
.article-content img { border-radius: var(--radius); margin-block: 1.5em; }
.article-content blockquote { margin: 1.8em 0; padding: 1.1em 1.4em; background: var(--primary-tint); border-left: 5px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-display); font-size: 1.2rem; }
.article-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .98rem; }
.article-content th, .article-content td { padding: .7rem .9rem; border-bottom: 1px solid var(--line); text-align: left; }
.article-content th { background: var(--secondary); color: #fff; font-family: var(--font-display); }
.article-content iframe { max-width: 100%; border-radius: var(--radius); background: var(--surface); }

.related-wrap { padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }

/* ============================================================
   SIDEBAR
   ============================================================ */
.article-sidebar { position: sticky; top: calc(var(--logo-h) + 40px); }
@media (max-width: 960px) { .article-sidebar { position: static; } }
.sidebar { display: grid; gap: 1.25rem; }
.sidebar-block { background: var(--surface); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.sidebar-title { font-size: 1.15rem; margin-bottom: 1rem; }
.sidebar-cats { list-style: none; margin: 0; padding: 0; }
.sidebar-cats li + li { border-top: 1px solid var(--line); }
.sidebar-cats a { display: flex; justify-content: space-between; align-items: center; padding: .7rem 0; color: var(--secondary); font-weight: 600; text-decoration: none; transition: color .2s, padding .25s var(--ease); }
.sidebar-cats a::after { content: '→'; color: var(--primary-ink); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .25s var(--ease); }
.sidebar-cats a:hover, .sidebar-cats a.active { color: var(--primary-ink); padding-left: .35rem; }
.sidebar-cats a:hover::after, .sidebar-cats a.active::after { opacity: 1; transform: none; }

.fi-newsletter-cta { background: var(--secondary); color: #fff; position: relative; overflow: hidden; }
.fi-newsletter-cta::after { content: ''; position: absolute; right: -50px; bottom: -60px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(0,200,83,.45), transparent 70%); pointer-events: none; }
.sidebar-kicker { display: inline-block; background: var(--primary); color: var(--secondary); font-family: var(--font-display); font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .7rem; border-radius: 999px; margin-bottom: .9rem; }
.fi-newsletter-cta__text { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.3; color: #fff; margin-bottom: 1.2rem; }
.fi-newsletter-cta .btn-ink { background: var(--primary); color: var(--secondary); position: relative; z-index: 1; }
.fi-newsletter-cta .btn-ink:hover { background: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--secondary); color: rgba(255,255,255,.8); margin-top: 0; }
.footer-inner { max-width: var(--maxw); margin-inline: auto; padding: clamp(2.2rem, 5vw, 3.5rem) var(--gutter); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.1rem; }
.footer-logo-link { display: inline-block; background: #fff; border-radius: var(--radius); padding: .5rem 1rem; line-height: 0; }
.footer-logo { height: 64px; width: auto; max-width: none; }
.footer-copy { margin: 0; font-size: .95rem; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.6rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.14); width: 100%; max-width: 560px; }
.footer-nav a { color: #fff; font-weight: 500; text-decoration: none; padding: .3rem 0; background: linear-gradient(var(--primary), var(--primary)) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease), color .2s; }
.footer-nav a:hover { color: var(--primary); background-size: 100% 2px; }

/* ============================================================
   SEITEN (Newsletter, Impressum, 404 ...)
   ============================================================ */
.page-wrap .page-body { padding-top: clamp(2.2rem, 5vw, 3.5rem); }
.page-main { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(1.4rem, 4vw, 2.6rem); box-shadow: var(--shadow-sm); max-width: none; }
.page-main > h1:first-child { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; }
.layout-page .page-main > h1:first-child::after { content: ''; display: block; width: 56px; height: 5px; border-radius: 5px; background: var(--primary); margin-top: .6rem; }

/* ============================================================
   MOTION
   ============================================================ */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.home-intro > *, .page-hero .inner > *, .article-head > * { animation: rise .8s var(--ease) both; }
.home-intro > :nth-child(2), .page-hero .inner > :nth-child(2), .article-head > :nth-child(2) { animation-delay: .08s; }
.home-intro > :nth-child(3), .page-hero .inner > :nth-child(3), .article-head > :nth-child(3) { animation-delay: .16s; }
.home-intro > :nth-child(4) { animation-delay: .24s; }
.hero-card { animation: rise 1s .2s var(--ease) both; }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.is-visible.article-card:hover { transform: translateY(-6px); transition-delay: 0s; transition-duration: .35s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}
