/*
 * momentarium – screen.css
 * Hero-Fix ohne harte Bildkante:
 * Das Hero-Bild füllt die gesamte Fläche aus.
 * Der Farbverlauf liegt als durchgehende Ebene darüber.
 */

:root {
    --mo-accent: #3f4937;
    --mo-ink: #2c2b27;
    --mo-muted: #6f6a61;
    --mo-paper: #f8f5ef;
    --mo-paper-deep: #eee8de;
    --mo-line: rgba(68, 61, 51, 0.16);
    --mo-card: rgba(255, 255, 255, 0.78);
    --mo-shadow: 0 16px 50px rgba(63, 51, 36, 0.11);
    --mo-radius: 8px;
    --mo-serif: Georgia, "Times New Roman", Times, serif;
    --mo-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mo-script: "Segoe Script", "URW Chancery L", "Apple Chancery", cursive;
    --mo-width: 1320px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 8% 8%, rgba(255,255,255,.7), transparent 27rem),
        #cfc6b9;
    color: var(--mo-ink);
    font-family: var(--gh-font-body, var(--mo-sans));
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.mo-menu-open {
    overflow: hidden;
}

img,
picture,
svg {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--mo-accent) 60%, white);
    outline-offset: 4px;
}

.mo-page-shell {
    width: min(calc(100% - 36px), 1440px);
    margin: 12px auto;
    overflow: hidden;
    background: var(--mo-paper);
    box-shadow: 0 20px 80px rgba(40, 34, 27, 0.18);
}

.mo-header {
    position: relative;
    z-index: 20;
    display: flex;
    min-height: 118px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 24px 60px 18px;
    background: rgba(248, 245, 239, 0.92);
}

.mo-brand {
    display: inline-flex;
    flex-direction: column;
    flex: 0 0 auto;
    line-height: 1;
}

.mo-brand-name {
    font-family: var(--mo-script);
    font-size: clamp(2.1rem, 3vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    transform: rotate(-1deg);
}

.mo-brand-tagline {
    margin-top: 8px;
    padding-left: 5px;
    color: #4a4843;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.17em;
}

.mo-header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.mo-navigation .nav {
    display: flex;
    align-items: center;
    gap: clamp(24px, 3.2vw, 48px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.mo-navigation .nav a {
    position: relative;
    display: block;
    padding: 12px 0;
    font-family: var(--mo-serif);
    font-size: 1rem;
    line-height: 1;
}

.mo-navigation .nav a::after {
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 1px;
    background: var(--mo-ink);
    content: "";
    opacity: 0;
    transform: scaleX(.5);
    transition: opacity .2s ease, transform .2s ease;
}

.mo-navigation .nav a:hover::after,
.mo-navigation .nav-current a::after {
    opacity: 1;
    transform: scaleX(1);
}

.mo-icon-button {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--mo-ink);
    cursor: pointer;
}

.mo-icon-button:hover {
    background: rgba(255,255,255,.8);
}

.mo-search-button svg {
    width: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.7;
}

.mo-menu-button {
    display: none;
    background: rgba(255,255,255,.75);
}

.mo-menu-button span {
    width: 18px;
    height: 1.5px;
    margin: 2px 0;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}

.mo-menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}

.mo-menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mo-menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
}

.mo-main {
    min-height: 60vh;
}

.mo-hero {
    position: relative;
    isolation: isolate;
    min-height: 455px;
    overflow: hidden;
    border-radius: 24px;
    background: var(--mo-paper);
}

/*
 * Der Verlauf liegt über der gesamten Hero-Fläche.
 * Weil das Bild ebenfalls die gesamte Hero-Fläche ausfüllt,
 * existiert keine separate linke Bildkante mehr.
 */
.mo-hero::after {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(
        90deg,
        var(--mo-paper) 0%,
        var(--mo-paper) 30%,
        rgba(248, 245, 239, .99) 38%,
        rgba(248, 245, 239, .94) 46%,
        rgba(248, 245, 239, .78) 55%,
        rgba(248, 245, 239, .50) 64%,
        rgba(248, 245, 239, .20) 72%,
        rgba(248, 245, 239, 0) 80%
    );
    content: "";
    pointer-events: none;
}

.mo-hero-copy {
    position: relative;
    z-index: 3;
    display: flex;
    width: min(58%, 680px);
    min-height: 455px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 52px 64px 64px;
    background: transparent;
}

.mo-hero-copy h1 {
    max-width: 520px;
    margin: 0;
    font-family: var(--gh-font-heading, var(--mo-serif));
    font-size: clamp(2.55rem, 4.4vw, 4.45rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.mo-hero-copy p {
    max-width: 430px;
    margin: 24px 0 0;
    white-space: pre-line;
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.55;
}

.mo-button {
    display: inline-flex;
    min-width: 178px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 30px;
    padding: 14px 20px 14px 24px;
    border: 1px solid var(--mo-accent);
    border-radius: 3px;
    background: var(--mo-accent);
    color: white;
    font-size: .96rem;
    transition: transform .2s ease, filter .2s ease;
}

.mo-button:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.mo-hero-visual {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    background: var(--mo-paper);
}

.mo-hero-visual picture,
.mo-hero-visual img {
    width: 100%;
    height: 100%;
}

.mo-hero-visual picture {
    display: block;
}

.mo-hero-visual img {
    display: block;
    object-fit: cover;
    object-position: 58% center;
}

.mo-hero-fallback {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 455px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(245,239,229,.18), rgba(158,133,103,.28)),
        radial-gradient(circle at 72% 22%, #f1e8da 0 5%, transparent 33%),
        linear-gradient(135deg, #cbbba7, #9d8266 78%);
}

.mo-fallback-sun {
    position: absolute;
    top: -18%;
    right: 10%;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: rgba(255,249,236,.34);
    filter: blur(2px);
}

.mo-fallback-branch {
    position: absolute;
    top: 2%;
    right: 9%;
    width: 33%;
    min-width: 190px;
    height: 78%;
    fill: none;
    stroke: rgba(64,58,46,.45);
    stroke-linecap: round;
    stroke-width: 4;
    filter: drop-shadow(22px 22px 12px rgba(48, 39, 28, .18));
}

.mo-fallback-table {
    position: absolute;
    right: -4%;
    bottom: -4%;
    left: 3%;
    height: 34%;
    background:
        linear-gradient(8deg, transparent 0 4%, rgba(74,45,25,.19) 5% 6%, transparent 7% 100%),
        linear-gradient(160deg, #806044, #4f3524);
    box-shadow: 0 -8px 25px rgba(46,31,20,.25);
    transform: rotate(-1deg);
}

.mo-fallback-cup {
    position: absolute;
    right: 35%;
    bottom: 17%;
    width: 116px;
    height: 140px;
    border-radius: 8px 8px 34px 34px;
    background: linear-gradient(90deg, #bda88e, #e3d3bb 58%, #a68e74);
    box-shadow: 0 14px 20px rgba(40,29,21,.25), inset 0 9px 0 #806b58;
}

.mo-fallback-cup::after {
    position: absolute;
    top: 32px;
    right: -42px;
    width: 58px;
    height: 65px;
    border: 12px solid #cbb79f;
    border-left-width: 8px;
    border-radius: 50%;
    content: "";
}

.mo-fallback-book {
    position: absolute;
    right: 4%;
    bottom: 7%;
    width: 40%;
    min-width: 280px;
    height: 94px;
    border: 1px solid rgba(65,52,39,.35);
    border-radius: 2px 10px 10px 2px;
    background: linear-gradient(172deg, #f0e7d7, #c8bba7);
    box-shadow: 8px 15px 18px rgba(42,29,20,.25);
    transform: rotate(3deg);
}

.mo-fallback-book::after {
    position: absolute;
    top: 22px;
    right: 24px;
    width: 47%;
    height: 2px;
    background: rgba(64,55,45,.25);
    box-shadow: 0 15px 0 rgba(64,55,45,.18), 0 30px 0 rgba(64,55,45,.14);
    content: "";
}

.mo-latest,
.mo-archive-content {
    padding: 36px 64px 46px;
    background: rgba(255,255,255,.46);
}

.mo-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.mo-section-heading h2 {
    margin: 0;
    font-family: var(--gh-font-heading, var(--mo-serif));
    font-size: 1.55rem;
    font-weight: 400;
}

.mo-section-heading > a {
    font-family: var(--mo-serif);
    font-size: .96rem;
}

.mo-section-heading > a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.mo-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.mo-card-grid-home {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mo-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--mo-line);
    border-radius: var(--mo-radius);
    background: var(--mo-card);
    box-shadow: 0 2px 12px rgba(63, 51, 36, 0.03);
    transition: transform .22s ease, box-shadow .22s ease;
}

.mo-card:hover {
    box-shadow: 0 16px 30px rgba(63, 51, 36, 0.11);
    transform: translateY(-4px);
}

.mo-card-image-link {
    display: block;
    aspect-ratio: 1.42 / 1;
    overflow: hidden;
    background: #b8a78f;
}

.mo-card-image-link picture,
.mo-card-image {
    width: 100%;
    height: 100%;
}

.mo-card-image {
    object-fit: cover;
    transition: transform .5s ease;
}

.mo-card:hover .mo-card-image {
    transform: scale(1.035);
}

.mo-card-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background:
        radial-gradient(circle at 25% 20%, rgba(255,255,255,.3), transparent 30%),
        linear-gradient(145deg, #79644e, #2e291f);
}

.mo-card-placeholder svg {
    width: 46%;
    fill: none;
    stroke: rgba(246,238,222,.72);
    stroke-linecap: round;
    stroke-width: 2;
}

.mo-card-content {
    min-height: 194px;
    padding: 18px 18px 20px;
}

.mo-card-meta {
    min-height: 1.3em;
    color: var(--mo-muted);
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.mo-card-meta a:hover {
    color: var(--mo-accent);
}

.mo-card-title {
    margin: 10px 0 0;
    font-family: var(--gh-font-heading, var(--mo-serif));
    font-size: clamp(1.22rem, 1.6vw, 1.48rem);
    font-weight: 400;
    letter-spacing: -.02em;
    line-height: 1.18;
}

.mo-card-title a:hover {
    color: var(--mo-accent);
}

.mo-card-excerpt {
    display: -webkit-box;
    margin: 14px 0 0;
    overflow: hidden;
    color: #514e48;
    font-size: .92rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.mo-empty-state {
    grid-column: 1 / -1;
    padding: 60px 24px;
    border: 1px dashed var(--mo-line);
    text-align: center;
}

.mo-empty-state h2,
.mo-empty-state h3 {
    margin: 0;
    font-family: var(--mo-serif);
    font-weight: 400;
}

.mo-empty-state p {
    max-width: 520px;
    margin: 10px auto 0;
    color: var(--mo-muted);
}

.mo-footer {
    display: flex;
    min-height: 124px;
    align-items: center;
    justify-content: center;
    gap: 36px;
    padding: 25px 64px;
    border-top: 1px solid rgba(68,61,51,.08);
    background: #ede7de;
}

.mo-footer-mark {
    flex: 0 0 54px;
}

.mo-footer-mark svg {
    width: 45px;
    fill: none;
    stroke: #6e705e;
    stroke-linecap: round;
    stroke-width: 1.7;
}

.mo-footer p {
    max-width: 760px;
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
}

.mo-archive-header {
    padding: 72px 64px 56px;
    background:
        radial-gradient(circle at 83% 20%, rgba(255,255,255,.72), transparent 23rem),
        #e9e1d5;
    text-align: center;
}

.mo-kicker {
    display: inline-block;
    margin: 0 0 14px;
    color: var(--mo-accent);
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.mo-archive-header h1,
.mo-article-header h1 {
    margin: 0;
    font-family: var(--gh-font-heading, var(--mo-serif));
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    font-weight: 400;
    letter-spacing: -.04em;
    line-height: 1.02;
}

.mo-archive-header > p:last-child {
    max-width: 650px;
    margin: 22px auto 0;
    color: var(--mo-muted);
    font-size: 1.08rem;
}

.mo-pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--mo-line);
}

.mo-pagination-link:last-child {
    text-align: right;
}

.mo-pagination-link:hover {
    color: var(--mo-accent);
}

.mo-pagination-current {
    color: var(--mo-muted);
    font-size: .86rem;
}

.mo-article {
    padding-bottom: 80px;
    background: rgba(255,255,255,.48);
}

.mo-article-header {
    max-width: 920px;
    margin: 0 auto;
    padding: 78px 40px 48px;
    text-align: center;
}

.mo-article-lead {
    max-width: 720px;
    margin: 25px auto 0;
    color: var(--mo-muted);
    font-family: var(--mo-serif);
    font-size: clamp(1.15rem, 2vw, 1.42rem);
    line-height: 1.5;
}

.mo-article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    color: var(--mo-muted);
    font-size: .82rem;
    letter-spacing: .03em;
}

.mo-article-feature {
    width: min(calc(100% - 80px), 1180px);
    margin: 0 auto 54px;
}

.mo-article-feature img {
    width: 100%;
    max-height: 760px;
    border-radius: var(--mo-radius);
    object-fit: cover;
}

.mo-article-feature figcaption {
    margin-top: 8px;
    color: var(--mo-muted);
    font-size: .82rem;
    text-align: center;
}

.mo-article-content {
    width: min(calc(100% - 48px), 760px);
    margin: 0 auto;
    font-family: var(--gh-font-body, var(--mo-serif));
    font-size: 1.12rem;
    line-height: 1.8;
}

.mo-article-content > * + * {
    margin-top: 1.35em;
}

.mo-article-content h2,
.mo-article-content h3,
.mo-article-content h4 {
    margin-top: 2em;
    font-family: var(--gh-font-heading, var(--mo-serif));
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.mo-article-content h2 {
    font-size: 2rem;
}

.mo-article-content h3 {
    font-size: 1.55rem;
}

.mo-article-content a {
    color: var(--mo-accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.mo-article-content blockquote {
    margin-right: 0;
    margin-left: 0;
    padding: 6px 0 6px 28px;
    border-left: 2px solid var(--mo-accent);
    color: #4d493f;
    font-family: var(--mo-serif);
    font-size: 1.35rem;
    font-style: italic;
}

.mo-article-content img {
    height: auto;
    border-radius: 5px;
}

.mo-article-content .kg-width-wide {
    width: min(100vw - 80px, 1060px);
    margin-left: 50%;
    transform: translateX(-50%);
}

.mo-article-content .kg-width-full {
    width: min(100vw - 36px, 1440px);
    margin-left: 50%;
    transform: translateX(-50%);
}

.mo-article-footer {
    display: flex;
    width: min(calc(100% - 48px), 760px);
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: 60px auto 0;
    padding-top: 30px;
    border-top: 1px solid var(--mo-line);
}

.mo-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mo-article-tags a {
    padding: 5px 10px;
    border: 1px solid var(--mo-line);
    border-radius: 999px;
    color: var(--mo-muted);
    font-size: .77rem;
}

.mo-back-link {
    flex: 0 0 auto;
    color: var(--mo-accent);
    font-size: .9rem;
}

.mo-page-article .mo-article-header {
    padding-bottom: 38px;
}

.mo-error-page {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: var(--mo-paper);
    text-align: center;
}

.mo-error-page h1 {
    max-width: 700px;
    margin: 0;
    font-family: var(--mo-serif);
    font-size: clamp(2.6rem, 7vw, 5.5rem);
    font-weight: 400;
    line-height: 1.05;
}

.mo-error-page p:not(.mo-kicker) {
    color: var(--mo-muted);
}

/* Ghost cards */
.kg-card {
    margin-top: 2.1em;
    margin-bottom: 2.1em;
}

.kg-gallery-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kg-gallery-row {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.kg-gallery-image {
    flex: 1 1 0;
}

.kg-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kg-embed-card iframe,
.kg-video-card video {
    width: 100%;
}

@media (max-width: 1180px) {
    .mo-header {
        padding-right: 36px;
        padding-left: 36px;
    }

    .mo-navigation .nav {
        gap: 24px;
    }

    .mo-card-grid-home {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mo-hero-copy {
        width: min(61%, 630px);
        padding-left: 48px;
    }

    .mo-hero::after {
        background: linear-gradient(
            90deg,
            var(--mo-paper) 0%,
            var(--mo-paper) 34%,
            rgba(248, 245, 239, .98) 43%,
            rgba(248, 245, 239, .88) 53%,
            rgba(248, 245, 239, .62) 64%,
            rgba(248, 245, 239, .28) 74%,
            rgba(248, 245, 239, 0) 84%
        );
    }
}

@media (max-width: 980px) {
    .mo-page-shell {
        width: min(calc(100% - 20px), 1440px);
        margin: 10px auto;
    }

    .mo-header {
        min-height: 94px;
        padding: 18px 24px;
    }

    .mo-brand-name {
        font-size: 2.2rem;
    }

    .mo-brand-tagline {
        font-size: .58rem;
    }

    .mo-menu-button {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .mo-navigation {
        position: fixed;
        z-index: 100;
        top: 92px;
        right: 10px;
        left: 10px;
        max-height: 0;
        overflow: hidden;
        border-radius: 0 0 10px 10px;
        background: rgba(248,245,239,.98);
        box-shadow: var(--mo-shadow);
        opacity: 0;
        pointer-events: none;
        transition: max-height .3s ease, opacity .2s ease;
    }

    .mo-navigation.is-open {
        max-height: calc(100vh - 105px);
        opacity: 1;
        pointer-events: auto;
    }

    .mo-navigation .nav {
        display: block;
        padding: 18px 28px 28px;
    }

    .mo-navigation .nav a {
        padding: 15px 4px;
        border-bottom: 1px solid var(--mo-line);
        font-size: 1.15rem;
    }

    .mo-navigation .nav a::after {
        display: none;
    }

    .mo-hero {
        min-height: 430px;
    }

    .mo-hero-copy {
        width: min(68%, 590px);
        min-height: 430px;
        padding: 54px 36px;
    }

    .mo-hero::after {
        background: linear-gradient(
            90deg,
            var(--mo-paper) 0%,
            var(--mo-paper) 42%,
            rgba(248, 245, 239, .98) 50%,
            rgba(248, 245, 239, .86) 61%,
            rgba(248, 245, 239, .56) 72%,
            rgba(248, 245, 239, .20) 82%,
            rgba(248, 245, 239, 0) 92%
        );
    }

    .mo-card-grid,
    .mo-card-grid-home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mo-latest,
    .mo-archive-content {
        padding-right: 36px;
        padding-left: 36px;
    }
}

@media (max-width: 760px) {
    body {
        background: var(--mo-paper);
    }

    .mo-page-shell {
        width: 100%;
        margin: 0;
        box-shadow: none;
    }

    .mo-header {
        min-height: 82px;
        padding: 14px 18px;
    }

    .mo-brand-name {
        font-size: 1.95rem;
    }

    .mo-brand-tagline {
        display: none;
    }

    .mo-header-actions {
        gap: 6px;
    }

    .mo-icon-button {
        width: 40px;
        height: 40px;
    }

    .mo-navigation {
        top: 81px;
        right: 0;
        left: 0;
        border-radius: 0;
    }

    .mo-hero {
        display: flex;
        min-height: 0;
        flex-direction: column;
        border-radius: 0;
        background: var(--mo-paper);
    }

    .mo-hero::after {
        display: none;
    }

    .mo-hero-copy {
        order: 2;
        width: 100%;
        min-height: 0;
        margin-top: -68px;
        padding: 104px 24px 48px;
        background: var(--mo-paper);
    }

    .mo-hero-copy h1 {
        font-size: clamp(2.55rem, 13vw, 4rem);
    }

    .mo-hero-visual {
        position: relative;
        inset: auto;
        order: 1;
        width: 100%;
        height: 44vh;
        min-height: 300px;
    }

    .mo-hero-visual::after {
        position: absolute;
        z-index: 2;
        right: 0;
        bottom: 0;
        left: 0;
        height: 42%;
        background: linear-gradient(
            180deg,
            rgba(248, 245, 239, 0) 0%,
            rgba(248, 245, 239, .18) 25%,
            rgba(248, 245, 239, .62) 62%,
            var(--mo-paper) 100%
        );
        content: "";
        pointer-events: none;
    }

    .mo-hero-fallback {
        min-height: 300px;
    }

    .mo-latest,
    .mo-archive-content {
        padding: 34px 20px 42px;
    }

    .mo-section-heading {
        align-items: flex-start;
    }

    .mo-section-heading h2 {
        font-size: 1.4rem;
    }

    .mo-section-heading > a {
        max-width: 140px;
        text-align: right;
    }

    .mo-card-grid,
    .mo-card-grid-home {
        grid-template-columns: 1fr;
    }

    .mo-card-image-link {
        aspect-ratio: 1.7 / 1;
    }

    .mo-card-content {
        min-height: 0;
    }

    .mo-footer {
        align-items: flex-start;
        gap: 18px;
        padding: 28px 22px 32px;
    }

    .mo-footer-mark {
        flex-basis: 38px;
    }

    .mo-footer p {
        font-size: .9rem;
    }

    .mo-archive-header {
        padding: 58px 24px 46px;
    }

    .mo-pagination {
        grid-template-columns: 1fr 1fr;
    }

    .mo-pagination-current {
        grid-column: 1 / -1;
        grid-row: 1;
        text-align: center;
    }

    .mo-article-header {
        padding: 58px 24px 38px;
    }

    .mo-article-feature {
        width: calc(100% - 32px);
        margin-bottom: 38px;
    }

    .mo-article-content {
        width: calc(100% - 40px);
        font-size: 1.04rem;
    }

    .mo-article-content .kg-width-wide,
    .mo-article-content .kg-width-full {
        width: calc(100vw - 20px);
    }

    .mo-article-footer {
        width: calc(100% - 40px);
        flex-direction: column;
        align-items: flex-start;
    }
}

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

/* ========================================================================== 
   momentarium 0.2 – Beitragsansicht
   ========================================================================== */

.mo-reading-progress {
    position: fixed;
    z-index: 250;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    overflow: hidden;
    pointer-events: none;
}

.mo-reading-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--mo-accent);
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
}

.mo-article-kicker-row {
    display: flex;
    min-height: 1.4em;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 13px;
    margin-bottom: 15px;
}

.mo-article-kicker-row .mo-kicker {
    margin: 0;
}

.mo-article-number {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    color: var(--mo-muted);
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.mo-article-number:has(.mo-number-value:empty) {
    display: none;
}

.mo-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mo-card-number {
    flex: 0 0 auto;
    color: color-mix(in srgb, var(--mo-muted) 82%, transparent);
    white-space: nowrap;
}

.mo-card-number:empty {
    display: none;
}

.mo-article-content > p:first-child {
    color: #403d37;
    font-size: 1.17em;
    line-height: 1.75;
}

.mo-article-content hr {
    width: 74px;
    height: 1px;
    margin: 3.2em auto;
    border: 0;
    background: var(--mo-line);
}

.mo-article-content ul,
.mo-article-content ol {
    padding-left: 1.35em;
}

.mo-article-content li + li {
    margin-top: .45em;
}

.mo-article-content code:not(pre code) {
    padding: .12em .34em;
    border: 1px solid rgba(68, 61, 51, .1);
    border-radius: 4px;
    background: rgba(238, 232, 222, .72);
    font-size: .88em;
}

.mo-article-content pre {
    overflow-x: auto;
    padding: 22px 24px;
    border-radius: 7px;
    background: #2f312d;
    color: #f7f3ea;
    font-size: .91rem;
    line-height: 1.65;
    tab-size: 4;
}

.mo-article-content pre code {
    color: inherit;
    font: inherit;
}

.mo-article-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem;
}

.mo-article-content th,
.mo-article-content td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--mo-line);
    text-align: left;
    vertical-align: top;
}

.mo-article-content th {
    font-weight: 700;
}

.mo-article-content figcaption {
    margin-top: 9px;
    color: var(--mo-muted);
    font-size: .81rem;
    line-height: 1.5;
    text-align: center;
}

.mo-article-content .kg-card + .kg-card {
    margin-top: 2.6em;
}

.mo-article-content .kg-callout-card {
    border: 1px solid var(--mo-line);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(63, 51, 36, .05);
}

.mo-article-content .kg-bookmark-card a {
    overflow: hidden;
    border: 1px solid var(--mo-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .62);
}

.mo-article-content .kg-button-card a.kg-btn {
    border-radius: 4px;
    background: var(--mo-accent);
    color: white;
    text-decoration: none;
}

.mo-article-content .kg-toggle-card,
.mo-article-content .kg-file-card,
.mo-article-content .kg-audio-card,
.mo-article-content .kg-product-card {
    border-color: var(--mo-line);
    border-radius: 8px;
}

.mo-article-content .kg-header-card {
    border-radius: 8px;
}

.mo-article-footer {
    align-items: flex-start;
}

.mo-article-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px 18px;
}

.mo-copy-link {
    position: relative;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--mo-accent);
    cursor: pointer;
    font-size: .9rem;
}

.mo-copy-link:hover,
.mo-back-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.mo-copy-link-success {
    display: none;
}

.mo-copy-link.is-copied .mo-copy-link-default {
    display: none;
}

.mo-copy-link.is-copied .mo-copy-link-success {
    display: inline;
}

.mo-post-navigation {
    display: grid;
    width: min(calc(100% - 80px), 1180px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 74px auto 0;
}

.mo-post-nav-link {
    display: flex;
    min-height: 132px;
    flex-direction: column;
    justify-content: center;
    padding: 24px 28px;
    border: 1px solid var(--mo-line);
    border-radius: var(--mo-radius);
    background:
        radial-gradient(circle at 90% 10%, rgba(255,255,255,.75), transparent 14rem),
        rgba(248, 245, 239, .78);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.mo-post-nav-link:hover {
    border-color: color-mix(in srgb, var(--mo-accent) 35%, var(--mo-line));
    box-shadow: 0 18px 38px rgba(63, 51, 36, .09);
    transform: translateY(-3px);
}

.mo-post-nav-direction {
    margin-bottom: 10px;
    color: var(--mo-muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.mo-post-nav-link strong {
    font-family: var(--gh-font-heading, var(--mo-serif));
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-weight: 400;
    line-height: 1.24;
}

.mo-post-nav-next {
    text-align: right;
}

.mo-post-navigation > :only-child.mo-post-nav-next {
    grid-column: 2;
}

@media (max-width: 760px) {
    .mo-article-kicker-row {
        margin-bottom: 13px;
    }

    .mo-card-meta {
        align-items: flex-start;
    }

    .mo-article-content > p:first-child {
        font-size: 1.1em;
    }

    .mo-article-content pre {
        margin-right: -10px;
        margin-left: -10px;
        padding: 18px;
        border-radius: 5px;
        font-size: .83rem;
    }

    .mo-article-footer {
        align-items: flex-start;
    }

    .mo-article-actions {
        justify-content: flex-start;
    }

    .mo-post-navigation {
        width: calc(100% - 32px);
        grid-template-columns: 1fr;
        margin-top: 54px;
    }

    .mo-post-navigation > :only-child.mo-post-nav-next,
    .mo-post-nav-next {
        grid-column: auto;
        text-align: left;
    }

    .mo-post-nav-link {
        min-height: 112px;
        padding: 21px 22px;
    }
}

