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

/* ==========================================================================
   gesundheit-fitness.com – "Vital"
   Frisches, helles Design: kühles Himmelsblau-Weiß, Primärblau aus dem Logo,
   Vital-Grün als Gegenspieler. Outfit (Überschriften) + Nunito Sans (Text).
   Signatur: Blau→Grün-Verlauf (wie das Herz im Logo), große Radien, Pill-Buttons.
   ========================================================================== */

:root {
    /* Farben */
    --primary:        #276EB6;
    --primary-dark:   #1c5594;
    --primary-deep:   #0f3a66;
    --secondary:      #2bb673;
    --secondary-dark: #17794b;
    --accent:         #29b6e6;
    --ink:            #14263a;
    --ink-soft:       #4d6176;
    --bg:             #f2f7fc;   /* body-Hintergrund */
    --surface:        #ffffff;
    --sky:            #e6f0fa;
    --mint:           #e4f6ec;
    --menu-bg:        #ffffff;   /* .outer-mainmenu-container / .site-header */
    --line:           #d9e5f0;

    --gradient-vital: linear-gradient(135deg, var(--primary) 0%, #2d9fb8 55%, var(--secondary) 100%);

    /* Typografie */
    --font-display: 'Outfit', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-body:    'Nunito Sans', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

    /* Formen */
    --radius-lg:   28px;
    --radius-md:   20px;
    --radius-sm:   12px;
    --shadow-soft: 0 1px 2px rgba(20, 38, 58, .05), 0 8px 24px -10px rgba(39, 110, 182, .18);
    --shadow-lift: 0 2px 4px rgba(20, 38, 58, .05), 0 22px 40px -18px rgba(39, 110, 182, .42);
    --logo-h:      60px;
    --header-h:    80px;
    --ease:        cubic-bezier(.22, .8, .24, 1);
}

/* ---------- Basis ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
    background-color: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.01em;
}

::selection { background: var(--primary); color: #fff; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { max-width: 1240px; padding-left: 20px; padding-right: 20px; }

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 1100;
    background: var(--primary); color: #fff; padding: 10px 18px; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-weight: 700; transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

.site-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1 0 auto; }

/* ---------- Header / Hauptmenü ---------- */
.site-header,
.outer-mainmenu-container {
    position: sticky; top: 0; z-index: 1000;
    background-color: var(--menu-bg);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(39, 110, 182, .45); }

.site-header__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    min-height: var(--header-h);
}

.site-header__logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-img { height: var(--logo-h); width: auto; display: block; }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--primary); }

.site-header__nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }

.nav-link {
    position: relative; display: block;
    padding: 9px 16px; border-radius: 999px;
    font-family: var(--font-display); font-weight: 500; font-size: 1rem;
    color: var(--ink); transition: background-color .2s ease, color .2s ease;
}
.nav-link:hover { background-color: var(--sky); color: var(--primary); }
.nav-link.active { color: var(--primary); background-color: var(--sky); font-weight: 600; }

.nav-item--cta { margin-left: 10px; }
.nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; border-radius: 999px;
    background: var(--gradient-vital); color: #fff;
    font-family: var(--font-display); font-weight: 600; font-size: 1rem;
    box-shadow: 0 10px 22px -12px rgba(39, 110, 182, .9);
    transition: transform .25s var(--ease), box-shadow .25s ease;
}
.nav-cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 26px -12px rgba(39, 110, 182, .9); }

.site-header__toggle {
    display: none; width: 46px; height: 46px; padding: 0;
    border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
    flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
.site-header__toggle span { display: block; width: 20px; height: 2px; background: var(--primary); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.site-header__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header__toggle.open span:nth-child(2) { opacity: 0; }
.site-header__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
    .nav-link { padding: 9px 12px; font-size: .95rem; }
}

@media (max-width: 991.98px) {
    :root { --logo-h: 52px; --header-h: 72px; }
    .site-header__toggle { display: inline-flex; }
    .site-header__nav {
        position: absolute; left: 0; right: 0; top: 100%;
        background: var(--menu-bg); border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 30px -22px rgba(39, 110, 182, .5);
        padding: 8px 20px 22px; display: none;
    }
    .site-header__nav.open { display: block; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
    .nav-link { padding: 13px 16px; border-radius: var(--radius-sm); font-size: 1.05rem; }
    .nav-item--cta { margin: 10px 0 0; }
    .nav-cta { display: flex; justify-content: center; padding: 14px 22px; }
}

/* ---------- Breadcrumb ---------- */
.site-breadcrumb { padding: 18px 0 0; font-size: .9rem; color: var(--ink-soft); }
.site-breadcrumb .breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; --bs-breadcrumb-divider-color: var(--primary); }
.site-breadcrumb .breadcrumb-item { padding: 0; color: var(--ink-soft); }
.site-breadcrumb .breadcrumb-item + .breadcrumb-item { padding-left: .6rem; }
.site-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: var(--primary); padding-right: .6rem; font-weight: 700; }
.site-breadcrumb .breadcrumb-item a { color: var(--ink-soft); font-weight: 600; }
.site-breadcrumb .breadcrumb-item a:hover { color: var(--primary); }
.site-breadcrumb .breadcrumb-item.active { color: var(--ink); }

/* ---------- Gemeinsame Bausteine ---------- */
.pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line);
    font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .02em; color: var(--primary);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); box-shadow: 0 0 0 4px rgba(43, 182, 115, .22); }

.btn-primary-fi,
.btn-ghost-fi {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; border-radius: 999px;
    font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.2;
    transition: transform .25s var(--ease), box-shadow .25s ease, background-color .2s ease, color .2s ease;
}
.btn-primary-fi { background: var(--primary); color: #fff; box-shadow: 0 14px 26px -14px rgba(39, 110, 182, .95); }
.btn-primary-fi:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost-fi { background: transparent; color: var(--primary); border: 2px solid var(--primary); padding: 12px 26px; }
.btn-ghost-fi:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* ---------- Startseite: Hero ---------- */
.hero-section {
    position: relative; overflow: hidden;
    padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 6vw, 88px);
    background:
        radial-gradient(520px 380px at 8% 0%, rgba(41, 182, 230, .22), transparent 70%),
        radial-gradient(560px 420px at 100% 100%, rgba(43, 182, 115, .20), transparent 70%),
        linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }

.hero-title { font-weight: 800; font-size: clamp(2.2rem, 4.6vw, 3.7rem); line-height: 1.08; margin: 20px 0 22px; color: var(--primary-deep); }
.hero-body { font-size: 1.15rem; color: var(--ink-soft); max-width: 56ch; }
.hero-body p { margin: 0 0 .9em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-feature { position: relative; display: block; color: var(--ink); isolation: isolate; }
.hero-feature::before {
    content: ''; position: absolute; inset: 22px -18px -22px 22px; z-index: -1;
    border-radius: var(--radius-lg); background: var(--gradient-vital); opacity: .9;
    transform: rotate(2.5deg);
}
.hero-feature__frame { display: block; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); background: var(--sky); aspect-ratio: 4 / 3; }
.hero-feature__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.hero-feature:hover .hero-feature__frame img { transform: scale(1.05); }
.hero-feature__meta {
    position: absolute; left: 16px; right: 16px; bottom: -24px;
    display: flex; flex-direction: column; gap: 4px;
    padding: 16px 20px; border-radius: var(--radius-md);
    background: var(--surface); box-shadow: var(--shadow-soft);
}
.hero-feature__cat { font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--secondary-dark); }
.hero-feature__title { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; line-height: 1.3; color: var(--ink); }
.hero-feature:hover .hero-feature__title { color: var(--primary); }

@media (max-width: 991.98px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-feature { margin-bottom: 36px; }
}

/* ---------- Startseite: Themenbereiche ---------- */
.home-wrapper { padding: 56px 0 80px; }
.home-category-section + .home-category-section { margin-top: 64px; }

/* ---------- Seitenaufbau ---------- */
.inner-wrapper { padding: 32px 0 80px; }

/* ---------- Artikel-Listen + Karten ---------- */
.article-list__header {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
    margin-bottom: 26px; padding-bottom: 18px; position: relative;
    border-bottom: 2px solid var(--line);
}
.article-list__header::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 88px; height: 2px; background: var(--gradient-vital); }
.article-list__title { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.15rem); font-weight: 800; }
.article-list__title a { color: var(--ink); }
.article-list__title a:hover { color: var(--primary); }
.article-list__subtitle { margin: 6px 0 0; color: var(--ink-soft); font-size: 1rem; max-width: 62ch; }
.article-list__more-link {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 18px; border-radius: 999px; background: var(--sky);
    font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--primary);
    transition: background-color .2s ease, color .2s ease;
}
.article-list__more-link:hover { background: var(--primary); color: #fff; }

.article-card {
    height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
    overflow: hidden; box-shadow: var(--shadow-soft);
    transition: transform .35s var(--ease), box-shadow .35s ease, border-color .25s ease;
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: rgba(39, 110, 182, .35); }
.article-card__link { display: flex; flex-direction: column; height: 100%; color: var(--ink); }
.article-card__link:hover { color: var(--ink); }

.article-card__image { aspect-ratio: 3 / 2; overflow: hidden; background: var(--sky); }
.article-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.article-card:hover .article-card__image img { transform: scale(1.06); }
.article-card__image--placeholder { background: var(--gradient-vital); opacity: .35; }

.article-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.article-card__date { font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: var(--secondary-dark); margin-bottom: 8px; }
.article-card__title { margin: 0 0 10px; font-size: 1.2rem; font-weight: 700; line-height: 1.3; transition: color .2s ease; }
.article-card:hover .article-card__title { color: var(--primary); }
.article-card__excerpt {
    margin: 0 0 16px; color: var(--ink-soft); font-size: .97rem; line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.article-card__readmore {
    margin-top: auto; display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--primary);
}
.article-card__readmore span { transition: transform .25s var(--ease); }
.article-card:hover .article-card__readmore span { transform: translateX(5px); }

@media (max-width: 575.98px) {
    .article-list__header { flex-direction: column; align-items: flex-start; }
}

/* ---------- Kategorie-Seite ---------- */
.page-hero {
    position: relative; overflow: hidden; margin-top: 24px;
    padding: clamp(34px, 5vw, 64px) 0;
}
.page-hero .container { position: relative; }
.page-hero__inner {
    position: relative; overflow: hidden;
    padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-lg);
    background: var(--gradient-vital); color: #fff;
}
.page-hero__inner::before, .page-hero__inner::after {
    content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .13); pointer-events: none;
}
.page-hero__inner::before { width: 320px; height: 320px; right: -90px; top: -120px; }
.page-hero__inner::after { width: 180px; height: 180px; right: 120px; bottom: -100px; }
.page-hero__count { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .03em; }
.page-hero__title { margin: 0 0 14px; font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; color: #fff; position: relative; }
.page-hero__intro { position: relative; max-width: 64ch; font-size: 1.12rem; color: rgba(255, 255, 255, .94); }
.page-hero__intro p { margin: 0; }
.page-hero + .inner-wrapper { padding-top: 8px; }

/* ---------- Pagination ---------- */
.pagination-nav { margin-top: 44px; }
.pagination-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pagination-link {
    display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 16px;
    border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
    font-family: var(--font-display); font-weight: 600; color: var(--ink);
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
a.pagination-link:hover { border-color: var(--primary); color: var(--primary); }
.pagination-item--active .pagination-link { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination-item--disabled .pagination-link { opacity: .45; }
.pagination-item--ellipsis span { color: var(--ink-soft); padding: 0 4px; }

/* ---------- Artikel-Detail ---------- */
.read-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 1200; background: var(--gradient-vital); transition: width .1s linear; }

.article-detail { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 52px); box-shadow: var(--shadow-soft); }
.article-detail__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 16px; font-size: .9rem; color: var(--ink-soft); font-weight: 600; }
.article-detail__cat {
    padding: 5px 14px; border-radius: 999px; background: var(--mint); color: var(--secondary-dark);
    font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
}
.article-detail__cat:hover { background: var(--secondary); color: #fff; }
.article-detail__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--line); }
.article-detail__title { margin: 0 0 28px; font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 800; line-height: 1.15; color: var(--primary-deep); }
.article-detail__image { margin: 0 0 36px; border-radius: var(--radius-md); overflow: hidden; background: var(--sky); }
.article-detail__image img { display: block; width: 100%; height: auto; aspect-ratio: 11 / 6; object-fit: cover; }

.content { font-size: 1.125rem; line-height: 1.85; color: #22364b; max-width: 72ch; }
.content > *:first-child { margin-top: 0; }
.content p { margin: 0 0 1.25em; }
.content h2, .content h3, .content h4, .content h5 { margin: 2em 0 .6em; color: var(--primary-deep); }
.content h2 { font-size: 1.8rem; }
.content h3 { font-size: 1.5rem; }
.content h4 { font-size: 1.3rem; position: relative; padding-left: 18px; }
.content h4::before { content: ''; position: absolute; left: 0; top: .18em; bottom: .18em; width: 5px; border-radius: 4px; background: var(--gradient-vital); }
.content h5 { font-size: 1.1rem; }
.content a { color: var(--primary); text-decoration: underline; text-decoration-color: rgba(39, 110, 182, .35); text-underline-offset: 3px; }
.content a:hover { text-decoration-color: currentColor; }
.content ul, .content ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.content li { margin-bottom: .45em; }
.content li::marker { color: var(--secondary); font-weight: 700; }
.content strong { color: var(--ink); font-weight: 700; }
.content img { border-radius: var(--radius-sm); margin: .6em 0; }
.content blockquote { margin: 1.8em 0; padding: 20px 26px; border-left: 5px solid var(--secondary); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--mint); font-size: 1.1rem; }
.content blockquote p:last-child { margin-bottom: 0; }
.content hr { border: 0; height: 2px; background: var(--line); margin: 2.4em 0; }
.content table { width: 100%; margin: 0 0 1.6em; border-collapse: collapse; font-size: 1rem; display: block; overflow-x: auto; }
.content th, .content td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; }
.content th { background: var(--sky); font-family: var(--font-display); }
.content iframe { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-md); margin: 1.6em 0; }

.page-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 48px); box-shadow: var(--shadow-soft); }
.page-body > h1:first-child { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--primary-deep); margin-bottom: .6em; }
.page-body iframe { max-width: 100%; border-radius: var(--radius-md); }

.related-articles { margin-top: 64px; }
.related-articles__title { margin: 0 0 26px; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; }

/* ---------- Sidebar ---------- */
.site-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 991.98px) { .site-sidebar { position: static; margin-top: 40px; } }

.fi-newsletter-cta {
    position: relative; overflow: hidden; padding: 28px 26px 30px; border-radius: var(--radius-lg);
    background: var(--gradient-vital); color: #fff; box-shadow: var(--shadow-lift);
}
.fi-newsletter-cta::after { content: ''; position: absolute; width: 190px; height: 190px; right: -70px; top: -70px; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.fi-newsletter-cta__badge {
    position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 14px;
    border-radius: 14px; background: #fff; color: var(--primary); font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1;
}
.fi-newsletter-cta__title { position: relative; margin: 0 0 8px; font-size: 1.5rem; font-weight: 800; color: #fff; }
.fi-newsletter-cta__text { position: relative; margin: 0 0 20px; font-size: 1rem; line-height: 1.55; color: rgba(255, 255, 255, .95); }
.fi-newsletter-cta__btn {
    position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px;
    background: #fff; color: var(--primary); font-family: var(--font-display); font-weight: 700; font-size: 1rem;
    transition: transform .25s var(--ease), box-shadow .25s ease;
}
.fi-newsletter-cta__btn:hover { color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 14px 22px -12px rgba(0, 0, 0, .45); }

.sidebar-widget { padding: 24px 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.sidebar-widget__title { margin: 0 0 14px; font-size: 1.15rem; font-weight: 800; }
.sidebar-categories { list-style: none; margin: 0; padding: 0; }
.sidebar-categories li + li { margin-top: 4px; }
.sidebar-categories a {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 10px 14px; border-radius: var(--radius-sm);
    font-family: var(--font-display); font-weight: 500; color: var(--ink);
    transition: background-color .2s ease, color .2s ease, padding-left .25s var(--ease);
}
.sidebar-categories a::after { content: '\2192'; color: var(--secondary); transition: transform .25s var(--ease); }
.sidebar-categories a:hover, .sidebar-categories a.active { background: var(--sky); color: var(--primary); padding-left: 18px; }
.sidebar-categories a:hover::after { transform: translateX(4px); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; padding: 52px 0 40px; text-align: center; background: linear-gradient(180deg, var(--sky) 0%, #dcebf8 100%); position: relative; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.site-footer::before { content: ''; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 120px; height: 5px; border-radius: 0 0 6px 6px; background: var(--gradient-vital); }
.site-footer__logo { display: inline-block; margin-bottom: 18px; }
.footer-logo { height: var(--logo-h); width: auto; display: block; }
.site-footer__copy { margin: 0 0 18px; color: var(--ink-soft); font-size: .95rem; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; }
.footer-nav a {
    padding: 8px 18px; border-radius: 999px; background: var(--surface);
    font-family: var(--font-display); font-weight: 500; font-size: .95rem; color: var(--primary);
    transition: background-color .2s ease, color .2s ease;
}
.footer-nav a:hover { background: var(--primary); color: #fff; }

/* ---------- Eingabefelder (Newsletter / Turnstile-Seiten) ---------- */
.page-body input[type="email"], .page-body input[type="text"] {
    width: 100%; padding: 14px 18px; border: 2px solid var(--line); border-radius: 999px; font: inherit;
}
.page-body input:focus { border-color: var(--primary); outline: none; }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
