/* ═══════════════════════════════════════════════════════
   MATSCHFINGER GHOST THEME — screen.css
   Design System: "Honest Craft"
   Echtes Leben. Schön gemacht.
   ═══════════════════════════════════════════════════════ */

/* ─── HONEST CRAFT DESIGN TOKENS ─────────────────────── */
:root {
    --matsch-brown:   #6B4F3A;
    --matsch-gold:    #D4A853;
    --matsch-cream:   #FAF4EC;
    --matsch-terra:   #C4714A;
    --matsch-sage:    #7A9B6F;
    --matsch-ink:     #2C1F14;
    --matsch-cream-warm: #F5EDE0;
    --matsch-cream-dark: #EDE4D5;
    --matsch-brown-light: #8B7355;
    --matsch-gold-muted: #B89B78;
    --matsch-border: #E8DDD0;
    --matsch-gold-border: rgba(212, 168, 83, 0.25);
    --matsch-fail-bg: #FDF0EC;
    --mess-1: #7A9B6F;
    --mess-2: #D4A853;
    --mess-3: #C4714A;
    --mess-4: #A0342A;
    --matsch-indoor: #EEF3FF;
    --matsch-indoor-text: #4A6FA5;
    --matsch-outdoor: #EAF5EC;
    --matsch-outdoor-text: #4A8B5C;
    --matsch-both: #FEF5E7;
    --matsch-both-text: #C4714A;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Caveat', cursive;
    --font-logo: 'Quicksand', var(--font-body);
    --space-xs: 8px; --space-sm: 16px; --space-md: 24px; --space-lg: 40px; --space-xl: 64px;
    --radius: 12px; --radius-lg: 16px; --radius-pill: 50px;
    --shadow: 0 2px 12px rgba(107, 79, 58, 0.08);
    --shadow-hover: 0 8px 28px rgba(107, 79, 58, 0.14);
    --max-width: 960px; --nav-max-width: 1080px;
}
body.season-fruehling { --matsch-sage: #6BC5A0; }
body.season-sommer { --matsch-terra: #E8934A; --matsch-sage: #52B788; }
body.season-herbst { --matsch-terra: #C0392B; }
body.season-winter { --matsch-sage: #5BA4CF; --matsch-terra: #8B6FA8; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-body); color: var(--matsch-ink); background: var(--matsch-cream); min-height: 100vh; line-height: 1.6; }
a { color: var(--matsch-brown); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--matsch-gold); }
img { max-width: 100%; height: auto; display: block; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.mf-site { min-height: 100vh; display: flex; flex-direction: column; }
.mf-main { flex: 1; max-width: var(--max-width); margin: 0 auto; padding: var(--space-md) var(--space-sm) var(--space-xl); width: 100%; }

/* ── HEADER ── */
.mf-header { border-bottom: 1px solid rgba(107, 79, 58, 0.08); }
.mf-nav { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--space-md); max-width: var(--nav-max-width); margin: 0 auto; }
.mf-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--matsch-brown); }
.mf-logo img { height: 48px !important; width: auto !important; max-height: 48px; object-fit: contain; }
.mf-logo--small img { height: 36px !important; width: auto !important; max-height: 36px; object-fit: contain; }
.mf-logo__icon { height: 32px; width: auto; }
.mf-logo__text { font-family: var(--font-display); font-size: 22px; color: var(--matsch-ink); font-weight: 900; font-style: italic; }
.mf-logo--small .mf-logo__text { font-size: 18px; }
.mf-nav__links { display: flex; align-items: center; gap: 6px; }
.mf-nav__link { padding: 7px 16px; border-radius: var(--radius-pill); font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--matsch-brown-light); text-decoration: none; transition: all 0.2s ease; }
.mf-nav__link:hover, .mf-nav__link--active { background: var(--matsch-cream-warm); color: var(--matsch-ink); font-weight: 700; }
.mf-nav__cta { padding: 8px 18px; border-radius: var(--radius-pill); background: var(--matsch-brown); color: #fff !important; font-family: var(--font-body); font-size: 13px; font-weight: 700; margin-left: 6px; text-decoration: none; transition: all 0.2s ease; }
.mf-nav__cta:hover { background: var(--matsch-gold); color: #fff !important; }
.mf-nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.mf-nav__toggle span { display: block; width: 22px; height: 2px; background: var(--matsch-ink); border-radius: 2px; transition: all 0.3s ease; }

/* ── HERO ── */
.mf-hero { text-align: center; padding: var(--space-xl) var(--space-md) var(--space-lg); }
.mf-hero__title { font-family: var(--font-display); font-size: 38px; font-weight: 900; font-style: italic; color: var(--matsch-ink); margin-bottom: 10px; line-height: 1.15; }
.mf-hero__subtitle { font-family: var(--font-body); font-size: 16px; color: var(--matsch-gold-muted); max-width: 520px; margin: 0 auto; line-height: 1.6; }

/* ── NEWSLETTER CTA ── */
.mf-newsletter { text-align: center; border-radius: var(--radius-lg); margin-bottom: var(--space-lg); }
.mf-newsletter--hero { background: linear-gradient(135deg, var(--matsch-brown) 0%, #8B6A4A 40%, var(--matsch-gold) 100%); padding: 36px 32px; position: relative; overflow: hidden; }
.mf-newsletter__bg-emoji { position: absolute; top: -10px; right: -10px; font-size: 80px; opacity: 0.08; }
.mf-newsletter--hero .mf-newsletter__title { color: #fff; }
.mf-newsletter--hero .mf-newsletter__text { color: rgba(250, 244, 236, 0.75); }
.mf-newsletter--inline { background: #fff; padding: 28px; box-shadow: var(--shadow); border: 1.5px solid var(--matsch-gold-border); margin-top: 32px; }
.mf-newsletter__emoji { font-size: 28px; margin-bottom: var(--space-xs); }
.mf-newsletter__title { font-family: var(--font-display); font-size: 24px; font-weight: 900; font-style: italic; color: var(--matsch-ink); margin-bottom: 6px; }
.mf-newsletter__title--small { font-size: 19px; }
.mf-newsletter__text { font-family: var(--font-body); font-size: 14px; color: var(--matsch-gold-muted); margin-bottom: 18px; }
.mf-newsletter__form { display: flex; gap: 10px; max-width: 400px; margin: 0 auto; justify-content: center; }
.mf-newsletter__button { padding: 11px 28px; border-radius: var(--radius-pill); border: none; font-family: var(--font-body); font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.2s ease; }
.mf-newsletter--hero .mf-newsletter__button { background: var(--matsch-cream); color: var(--matsch-brown); }
.mf-newsletter--hero .mf-newsletter__button:hover { background: #fff; transform: translateY(-1px); }
.mf-newsletter--inline .mf-newsletter__button { background: var(--matsch-brown); color: #fff; }
.mf-newsletter--inline .mf-newsletter__button:hover { background: var(--matsch-gold); transform: translateY(-1px); }

/* ── POST GRID ── */
.mf-feed__title { font-family: var(--font-display); font-size: 24px; font-weight: 900; font-style: italic; color: var(--matsch-ink); margin-bottom: var(--space-md); }
.mf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ── POST CARD ── */
.mf-card { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease; animation: fadeInUp 0.4s ease both; }
.mf-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.mf-card__link { display: block; text-decoration: none; color: inherit; }
.mf-card__image { height: 160px; overflow: hidden; position: relative; background: linear-gradient(135deg, var(--matsch-cream-warm), var(--matsch-border)); }
.mf-card__image img { width: 100%; height: 100%; object-fit: cover; }
.mf-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 54px; background: linear-gradient(135deg, var(--matsch-terra), var(--matsch-gold)); }
.mf-card__duration { position: absolute; top: 10px; right: 10px; background: rgba(255, 255, 255, 0.92); border-radius: var(--radius-pill); padding: 4px 10px; font-family: var(--font-body); font-size: 11px; font-weight: 700; color: var(--matsch-ink); }
.mf-card__mess { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 3px; }
.mf-card__mess-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35); }
.mf-card__mess-dot--filled-1 { background: var(--mess-1); }
.mf-card__mess-dot--filled-2 { background: var(--mess-2); }
.mf-card__mess-dot--filled-3 { background: var(--mess-3); }
.mf-card__mess-dot--filled-4 { background: var(--mess-4); }
.mf-card__body { padding: var(--space-sm) 18px 18px; }
.mf-card__title { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--matsch-ink); margin-bottom: 4px; line-height: 1.3; }
.mf-card__excerpt { font-family: var(--font-body); font-size: 12px; color: var(--matsch-gold-muted); margin-bottom: 12px; line-height: 1.4; }
.mf-card__meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }

/* ── BADGES ── */
.mf-badge { padding: 3px 10px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; font-family: var(--font-body); background: var(--matsch-cream-warm); color: var(--matsch-brown); display: inline-block; }
.mf-badge--tag { background: var(--matsch-cream-warm); color: var(--matsch-brown); }
.mf-badge--sage { background: color-mix(in srgb, var(--matsch-sage) 12%, transparent); color: var(--matsch-sage); }
.mf-badge--terra { background: color-mix(in srgb, var(--matsch-terra) 10%, transparent); color: var(--matsch-terra); }

/* ── SINGLE POST ── */
.mf-post { max-width: 680px; margin: 0 auto; animation: fadeIn 0.3s ease; }
.mf-post__back { display: inline-flex; align-items: center; gap: 6px; color: var(--matsch-brown-light); font-family: var(--font-body); font-size: 14px; font-weight: 600; padding-bottom: var(--space-sm); text-decoration: none; }
.mf-post__back:hover { color: var(--matsch-brown); }
.mf-post__hero { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: var(--space-md); max-height: 400px; }
.mf-post__hero img { width: 100%; height: 100%; object-fit: cover; }
.mf-post__title { font-family: var(--font-display); font-size: 32px; font-weight: 900; font-style: italic; color: var(--matsch-ink); margin-bottom: 6px; line-height: 1.15; }
.mf-post__subtitle { font-family: var(--font-body); font-size: 15px; color: var(--matsch-gold-muted); margin-bottom: 20px; }
.mf-post__meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.mf-post__meta .mf-badge { padding: 5px 14px; font-size: 13px; font-weight: 600; }
.mf-post__content { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); margin-bottom: var(--space-md); }
.mf-post__back-bottom { text-align: center; padding-top: 28px; }

/* ── GHOST CONTENT ── */
.gh-content { font-family: var(--font-body); font-size: 15px; color: var(--matsch-ink); line-height: 1.75; }
.gh-content h2 { font-family: var(--font-display); font-size: 22px; font-weight: 900; font-style: italic; color: var(--matsch-ink); margin: 32px 0 14px; }
.gh-content h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--matsch-ink); margin: 24px 0 10px; }
.gh-content p { margin-bottom: var(--space-sm); }
.gh-content ul, .gh-content ol { margin: 0 0 var(--space-sm) 20px; }
.gh-content li { margin-bottom: 6px; }
.gh-content blockquote { border-left: 4px solid var(--matsch-gold); padding: 20px var(--space-md); margin: 24px 0; background: var(--matsch-cream-warm); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-accent); font-size: 20px; font-weight: 700; color: var(--matsch-ink); transform: rotate(-0.5deg); }
.gh-content blockquote cite, .gh-content blockquote footer { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 400; color: var(--matsch-gold-muted); margin-top: var(--space-xs); transform: rotate(0.5deg); }
.gh-content hr { border: none; border-top: 1px solid var(--matsch-border); margin: 32px 0; }
.gh-content img { border-radius: var(--radius); margin: var(--space-md) 0; }
.gh-content figcaption { font-size: 13px; color: var(--matsch-brown-light); text-align: center; margin-top: -16px; margin-bottom: var(--space-md); }
.gh-content .kg-callout-card { border-radius: var(--radius); padding: 22px 28px; margin: 20px 0; }
.gh-content .kg-callout-card-red, .gh-content .kg-callout-card-yellow { background: var(--matsch-fail-bg); border-left: 4px solid var(--matsch-terra); }
.gh-content .kg-toggle-card { border-radius: var(--radius); border: 1.5px solid var(--matsch-border); margin: var(--space-sm) 0; }

/* ── MESS LEVEL ── */
.mf-mess-level { display: inline-flex; gap: 4px; align-items: center; }
.mf-mess-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--matsch-border); }
.mf-mess-dot--1 { background: var(--mess-1); }
.mf-mess-dot--2 { background: var(--mess-2); }
.mf-mess-dot--3 { background: var(--mess-3); }
.mf-mess-dot--4 { background: var(--mess-4); }

/* ── PAGES ── */
.mf-page { max-width: 720px; margin: 0 auto; animation: fadeIn 0.4s ease; }
.mf-page__title { font-family: var(--font-display); font-size: 30px; font-weight: 900; font-style: italic; color: var(--matsch-ink); margin-bottom: var(--space-md); text-align: center; padding-top: var(--space-md); }
.mf-page__content { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }

/* ── TAG ARCHIVE ── */
.mf-tag-header { text-align: center; padding: var(--space-lg) var(--space-md) 28px; }
.mf-tag-header__title { font-family: var(--font-display); font-size: 30px; font-weight: 900; font-style: italic; color: var(--matsch-ink); margin-bottom: var(--space-xs); }
.mf-tag-header__desc { font-family: var(--font-body); font-size: 15px; color: var(--matsch-gold-muted); max-width: 480px; margin: 0 auto; }

/* ── ERROR ── */
.mf-error { text-align: center; padding: 80px 20px; animation: fadeIn 0.4s ease; }
.mf-error__emoji { font-size: 64px; margin-bottom: var(--space-sm); }
.mf-error__title { font-family: var(--font-display); font-size: 30px; font-weight: 900; font-style: italic; color: var(--matsch-ink); margin-bottom: 10px; }
.mf-error__text { font-family: var(--font-body); font-size: 15px; color: var(--matsch-gold-muted); margin-bottom: 28px; max-width: 400px; margin-left: auto; margin-right: auto; }

/* ── BUTTONS ── */
.mf-btn { display: inline-block; padding: 11px 22px; border-radius: var(--radius-pill); font-family: var(--font-body); font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.2s ease; text-decoration: none; border: none; }
.mf-btn--primary { background: var(--matsch-brown); color: #fff; }
.mf-btn--primary:hover { background: var(--matsch-gold); color: #fff; transform: translateY(-1px); }
.mf-btn--outline { background: transparent; color: var(--matsch-brown); border: 2px solid var(--matsch-brown); }
.mf-btn--outline:hover { background: var(--matsch-brown); color: #fff; }

/* ── PAGINATION ── */
.mf-pagination { display: flex; align-items: center; justify-content: center; gap: 20px; padding: var(--space-lg) 0 var(--space-md); }
.mf-pagination__link { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--matsch-brown); text-decoration: none; padding: 8px 18px; border-radius: var(--radius-pill); border: 2px solid var(--matsch-border); transition: all 0.2s ease; }
.mf-pagination__link:hover { border-color: var(--matsch-brown); background: var(--matsch-cream-warm); }
.mf-pagination__info { font-family: var(--font-body); font-size: 13px; color: var(--matsch-brown-light); }

/* ── FOOTER ── */
.mf-footer { border-top: 1px solid rgba(107, 79, 58, 0.1); max-width: var(--max-width); margin: 0 auto; padding: 32px 20px; }
.mf-footer__inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: var(--space-md); }
.mf-footer__tagline { font-family: var(--font-body); font-size: 12px; color: var(--matsch-brown-light); margin-top: var(--space-xs); max-width: 280px; line-height: 1.5; }
.mf-footer__columns { display: flex; gap: 28px; }
.mf-footer__heading { font-family: var(--font-body); font-size: 11px; font-weight: 800; color: var(--matsch-brown-light); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: var(--space-xs); }
.mf-footer__link { display: block; font-family: var(--font-body); font-size: 13px; color: var(--matsch-brown-light); font-weight: 500; margin-bottom: 4px; text-decoration: none; }
.mf-footer__link:hover { color: var(--matsch-brown); }
.mf-footer__bottom { border-top: 1px solid rgba(107, 79, 58, 0.08); margin-top: var(--space-md); padding-top: var(--space-sm); text-align: center; }
.mf-footer__bottom p { font-family: var(--font-body); font-size: 11px; color: var(--matsch-gold-muted); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .mf-grid { grid-template-columns: repeat(2, 1fr); }
    .mf-hero__title { font-size: 30px; }
    .mf-post__title { font-size: 26px; }
    .mf-post__content { padding: var(--space-md) 20px; }
    .mf-footer__inner { flex-direction: column; }
    .mf-footer__columns { gap: 32px; }
}
@media (max-width: 520px) {
    .mf-grid { grid-template-columns: 1fr; }
    .mf-nav__links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--matsch-cream); flex-direction: column; justify-content: center; align-items: center; gap: var(--space-sm); z-index: 100; }
    .mf-nav__links.is-open { display: flex; }
    .mf-nav__link { font-size: 18px; padding: 12px 24px; }
    .mf-nav__cta { font-size: 16px; padding: 12px 28px; margin-left: 0; }
    .mf-nav__toggle { display: flex; }
    .mf-logo img { height: 36px !important; max-height: 36px; }
    .mf-hero__title { font-size: 26px; }
    .mf-hero__subtitle { font-size: 14px; }
    .mf-newsletter--hero { padding: 28px 20px; }
    .mf-newsletter__title { font-size: 20px; }
    .mf-post__title { font-size: 24px; }
    .mf-page__content { padding: var(--space-md) 18px; }
    .mf-footer__columns { flex-wrap: wrap; gap: var(--space-md); }
}

/* ── GHOST CONTENT WIDTH CLASSES (required by Ghost) ── */
.gh-content .kg-width-wide {
    margin-left: -32px;
    margin-right: -32px;
    max-width: none;
}
.gh-content .kg-width-full {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: none;
    width: auto;
}
.gh-content .kg-width-wide img,
.gh-content .kg-width-full img {
    width: 100%;
}
@media (max-width: 520px) {
    .gh-content .kg-width-wide {
        margin-left: -18px;
        margin-right: -18px;
    }
}

/* ── PAGE HERO IMAGE ── */
.mf-page__hero {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-md);
    max-height: 360px;
}
.mf-page__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── LOGO IMAGE — sizing handled in header section above ── */

/* ═══════════════════════════════════════════════════════
   PHASE 3-4: DETAIL TEMPLATES & CONTENT STYLING
   Honest Craft — Matschfinger-specific components
   ═══════════════════════════════════════════════════════ */

/* ── MESS-LEVEL INDICATOR (post detail) ── */
.mf-mess-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: var(--matsch-cream-warm);
}
.mf-mess-indicator .mf-mess-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.mf-mess-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    color: var(--matsch-brown);
    margin-left: 4px;
}

/* ── LOCATION BADGES (colored) ── */
.mf-badge--indoor {
    background: var(--matsch-indoor);
    color: var(--matsch-indoor-text);
}
.mf-badge--outdoor {
    background: var(--matsch-outdoor);
    color: var(--matsch-outdoor-text);
}
.mf-badge--both {
    background: var(--matsch-both);
    color: var(--matsch-both-text);
}

/* ═══════════════════════════════════════════════════════
   GHOST CONTENT — Matschfinger Section Styling
   Targets specific H2 headings and their content
   to apply Honest Craft visual treatment
   ═══════════════════════════════════════════════════════ */

/* ── Kinder-Urteil Blockquotes: Caveat font, cream bg, slight rotation ── */
.gh-content blockquote {
    border-left: 4px solid var(--matsch-gold);
    padding: 20px var(--space-md);
    margin: 20px 0;
    background: var(--matsch-cream-warm);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-family: var(--font-accent);
    font-size: 22px;
    font-weight: 700;
    color: var(--matsch-ink);
    line-height: 1.5;
    transform: rotate(-0.3deg);
    position: relative;
}
.gh-content blockquote p {
    margin-bottom: 0;
}
.gh-content blockquote + p {
    font-size: 13px;
    color: var(--matsch-gold-muted);
    margin-top: -12px;
    margin-bottom: var(--space-sm);
}

/* ── Section headings with emoji: special treatment ── */
.gh-content h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 900;
    font-style: italic;
    color: var(--matsch-ink);
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--matsch-border);
}
.gh-content h2:first-child {
    margin-top: 0;
}
.gh-content h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--matsch-ink);
    margin: 28px 0 10px;
}

/* ── Bold intro paragraph (first element) ── */
.gh-content > p:first-child {
    font-size: 17px;
    font-weight: 600;
    color: var(--matsch-brown);
    line-height: 1.65;
    margin-bottom: var(--space-md);
}

/* ── Horizontal rules as section dividers ── */
.gh-content hr {
    border: none;
    border-top: 2px solid var(--matsch-border);
    margin: 36px 0;
}

/* ── Lists styling (materials, steps) ── */
.gh-content ul {
    list-style: none;
    margin: 0 0 var(--space-sm) 0;
    padding: 0;
}
.gh-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    line-height: 1.65;
}
.gh-content ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--matsch-gold);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.5;
}
.gh-content ol {
    margin: 0 0 var(--space-sm) 0;
    padding: 0;
    counter-reset: step-counter;
    list-style: none;
}
.gh-content ol li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 12px;
    line-height: 1.65;
    counter-increment: step-counter;
}
.gh-content ol li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--matsch-gold), var(--matsch-brown));
    color: #fff;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ── Emphasis & strong ── */
.gh-content strong {
    color: var(--matsch-ink);
    font-weight: 700;
}
.gh-content em {
    color: var(--matsch-brown);
    font-style: italic;
}

/* ── Italic paragraphs (Matschfinger-Tagebuch style) ── */
.gh-content p > em:only-child {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--matsch-brown);
    line-height: 1.7;
    padding: 16px 20px;
    background: var(--matsch-cream-warm);
    border-left: 3px solid var(--matsch-gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 4px 0;
}

/* ── Images inside content ── */
.gh-content img {
    border-radius: var(--radius);
    margin: var(--space-md) 0;
    box-shadow: var(--shadow);
}

/* ── Post content wrapper: remove background on detail page ── */
.mf-post .mf-post__content {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-bottom: 0;
}

/* ── Post meta spacing ── */
.mf-post__meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    align-items: center;
}
.mf-post__meta .mf-badge {
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 600;
}

/* ── Themenfeld tags under post (filtered from visible tags) ── */
.mf-post__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--matsch-border);
}
.mf-post__tags a {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--matsch-brown-light);
    background: var(--matsch-cream-warm);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: all 0.2s ease;
}
.mf-post__tags a:hover {
    background: var(--matsch-brown);
    color: #fff;
}

/* ── Newsletter CTA: enhanced for post detail ── */
.mf-post .mf-newsletter--inline {
    margin-top: 40px;
    border-radius: var(--radius-lg);
}

/* ── Related posts / "Passt auch zu" section ── */
.mf-related {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid var(--matsch-border);
}
.mf-related__title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 900;
    font-style: italic;
    color: var(--matsch-ink);
    margin-bottom: var(--space-md);
}
.mf-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

/* ═══════════════════════════════════════════════════════
   INDEX PAGE ENHANCEMENTS
   ═══════════════════════════════════════════════════════ */

/* ── Card hover: illustrated hand as pseudo-element ── */
.mf-card:hover .mf-card__image::after {
    content: "🖐️";
    position: absolute;
    bottom: 8px;
    left: 8px;
    font-size: 20px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

/* ── Index hero: add subtle texture ── */
.mf-hero {
    position: relative;
}
.mf-hero::before {
    content: "🖐️";
    position: absolute;
    top: 24px;
    right: 10%;
    font-size: 48px;
    opacity: 0.04;
    transform: rotate(15deg);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE: Phase 3-4 additions
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .mf-related__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gh-content h2 {
        font-size: 20px;
    }
    .gh-content blockquote {
        font-size: 19px;
        padding: 16px 18px;
    }
}
@media (max-width: 520px) {
    .mf-related__grid {
        grid-template-columns: 1fr;
    }
    .gh-content ol li {
        padding-left: 32px;
    }
    .gh-content ol li::before {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }
}

/* ═══════════════════════════════════════════════════════
   PHASE 3-4 REFINEMENTS — based on live testing
   ═══════════════════════════════════════════════════════ */

/* ── Fix: Reduce excessive spacing between sections ── */
.gh-content hr + hr,
.gh-content hr + p:empty,
.gh-content hr + p:empty + hr {
    display: none;
}
.gh-content hr {
    margin: 28px 0;
}

/* ── Fix: Tags section — limit visual noise ── */
.mf-post__tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--matsch-border);
}
.mf-post__tags a {
    font-size: 11px;
    padding: 3px 10px;
}

/* ── "Auf einen Blick" → handled by Sync/JS section detection (.mf-section--ueberblick) ── */

/* ── Ehrlich gesagt / Fail section styling ──
   Targets the section that follows the "Ehrlich gesagt" heading.
   Since we can't target by H2 text content in CSS alone,
   we style based on content structure patterns. */

/* Generic: any paragraph following a bold-only paragraph gets subtle treatment */
.gh-content p > strong:first-child:last-child {
    color: var(--matsch-ink);
}

/* ── Kinder-Urteil: star rating visual enhancement ── */
.gh-content p > strong:only-child {
    display: inline-block;
}

/* ── "Auf einen Blick" mobile → handled by .mf-section--ueberblick ── */

/* ═══════════════════════════════════════════════════════
   HONEST CRAFT SECTIONS — JS-detected wrappers
   Applied by main.js based on H2 heading text
   ═══════════════════════════════════════════════════════ */

/* ── Base section ── */
.mf-section {
    border-radius: var(--radius);
    padding: 24px 28px;
    margin: 28px 0;
}
.mf-section h2 {
    margin-top: 0 !important;
    padding-bottom: 0;
    border-bottom: none;
}

/* ── Ehrlich gesagt — Fail-Sektion ── */
.mf-section--ehrlich {
    background: var(--matsch-fail-bg);
    border-left: 4px solid var(--matsch-terra);
}
.mf-section--ehrlich h2 {
    color: var(--matsch-terra) !important;
}

/* ── Matschfinger-Moment — Tipp ── */
.mf-section--moment {
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.08) 0%, rgba(122, 155, 111, 0.06) 100%);
    border-left: 4px solid var(--matsch-gold);
}
.mf-section--moment h2 {
    color: var(--matsch-brown) !important;
}

/* ── Kinder-Urteil — kompakte Quote-Box (Sprint 3.5 Issue 7) ── */
.mf-section--kinder-urteil {
    padding: var(--space-md);
    border-left: 3px solid var(--matsch-gold);
    background: rgba(212, 168, 83, 0.05);
    border-radius: 0;
}
.mf-section--kinder-urteil h2 {
    font-size: 1.25rem;
    margin: 0 0 var(--space-sm) 0;
}
.mf-section--kinder-urteil blockquote {
    font-family: var(--font-hand);
    font-size: 1.1rem;
    line-height: 1.4;
    max-width: 36em;
    margin: var(--space-sm) 0 0 0;
    padding-left: var(--space-md);
    border-left: 2px solid var(--matsch-gold);
}
.mf-section--kinder-urteil .stars,
.mf-section--kinder-urteil p > strong:first-child:last-child {
    font-weight: 600;
    color: var(--matsch-braun);
    margin-bottom: var(--space-xs);
}

/* ── Matschfinger-Tagebuch ── */
.mf-section--tagebuch {
    background: var(--matsch-cream-warm);
    border-left: 3px solid var(--matsch-gold);
    position: relative;
}
.mf-section--tagebuch::before {
    content: "📖";
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 24px;
    opacity: 0.2;
}
/* Remove duplicate italic-paragraph borders inside tagebuch */
.mf-section--tagebuch p > em:only-child {
    display: inline;
    background: transparent;
    border-left: none;
    padding: 0;
    border-radius: 0;
    margin: 0;
}

/* ── Auf einen Blick — Filter-Strip (Sprint 3.5 Issue 5) ──
   Rules-only Container, kein Box-Frame. Lisa scannt in 1 Sekunde. */
.mf-section--ueberblick {
    background: transparent;
    padding: var(--space-md) 0;
    margin: var(--space-md) 0;
    border-top: 1px solid rgba(107, 79, 58, 0.15);
    border-bottom: 1px solid rgba(107, 79, 58, 0.15);
    border-radius: 0;
}
.mf-section--ueberblick h2 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--matsch-braun);
    margin: 0 0 var(--space-sm) 0;
}
.mf-section--ueberblick p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--matsch-dark);
    margin: var(--space-xs) 0;
}
.mf-section--ueberblick ul {
    background: transparent !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
}
.mf-section--ueberblick li::before {
    color: var(--matsch-sage) !important;
}

/* ── Was du brauchst — Materials (Issue 6: h4-Spacing) ── */
.mf-section--material {
    background: #fff;
    border: 1.5px solid var(--matsch-border);
    box-shadow: var(--shadow);
}
.mf-section--material h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--matsch-braun);
    margin: var(--space-md) 0 var(--space-xs) 0;
}
.mf-section--material h2 + h4,
.mf-section--material h4:first-child {
    margin-top: 0;
}
.mf-section--material ul {
    margin: 0 0 var(--space-sm) 0;
}
.mf-section--material li {
    margin-bottom: var(--space-xs);
    line-height: 1.5;
}

/* ── Aufräumen — praktisch, ruhig, Sage-Akzent (Sprint 3.5 Issue 4) ──
   D5-Hybrid: border-left mit Token (saisonal mitfärbend),
   background als statisches rgba (subtil, saisonblind). */
.mf-section--aufraeumen {
    padding: var(--space-md) var(--space-lg);
    border-left: 4px solid var(--matsch-sage);
    background: rgba(122, 155, 111, 0.05);
    margin: var(--space-md) 0;
    border-radius: 0;
}
.mf-section--aufraeumen h2 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--matsch-braun);
    margin: 0 0 var(--space-sm) 0;
}
.mf-section--aufraeumen p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ── Altersstufen — text-block, kein Box-Frame (Sprint 3.5 Issue 4) ── */
.mf-section--altersstufen {
    padding: var(--space-md) 0;
    margin: var(--space-md) 0;
    background: transparent;
    border-radius: 0;
}
.mf-section--altersstufen h2 {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--matsch-braun);
    margin: 0 0 var(--space-sm) 0;
}
.mf-section--altersstufen p {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}
.mf-section--altersstufen p strong {
    display: inline-block;
    color: var(--matsch-terra);
    margin-right: var(--space-xs);
}

/* ── Phase-2-Container — Spacing-Normalisierung (Sprint 3.5 Issues 1+2) ── */
.mf-phase-2-pre,
.mf-phase-2-post {
    margin: var(--space-lg) 0;
}
.mf-phase-2-pre > .mf-section + .mf-section,
.mf-phase-2-post > .mf-section + .mf-section {
    margin-top: var(--space-md);
}
.mf-phase-2-pre > .mf-section:first-child,
.mf-phase-2-post > .mf-section:first-child {
    margin-top: 0;
}

/* ═══════════════════════════════════════════════════════
   SCENE IMAGE — Second image (Kind in Spielszene)
   First image in content gets special full-width treatment
   ═══════════════════════════════════════════════════════ */
.gh-content img.mf-scene-image {
    width: calc(100% + 64px);
    margin-left: -32px;
    margin-right: -32px;
    max-width: none;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(107, 79, 58, 0.12);
    margin-top: 32px;
    margin-bottom: 32px;
}

@media (max-width: 520px) {
    .gh-content img.mf-scene-image {
        width: calc(100% + 36px);
        margin-left: -18px;
        margin-right: -18px;
    }
    .mf-section {
        padding: 18px 20px;
        margin: 20px -4px;
    }
}

/* ═══════════════════════════════════════════════════════
   MESS-LEVEL DOTS FIX — ensure visibility
   ═══════════════════════════════════════════════════════ */
.mf-mess-indicator {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    background: var(--matsch-cream-warm);
    border: 1px solid var(--matsch-border);
}
.mf-mess-indicator .mf-mess-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.mf-mess-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    color: var(--matsch-brown);
    margin-left: 2px;
}

/* Override generic mess-dot with explicit backgrounds */
.mf-mess-indicator .mf-mess-dot--1 { background-color: #7A9B6F !important; }
.mf-mess-indicator .mf-mess-dot--2 { background-color: #D4A853 !important; }
.mf-mess-indicator .mf-mess-dot--3 { background-color: #C4714A !important; }
.mf-mess-indicator .mf-mess-dot--4 { background-color: #A0342A !important; }

/* ═══════════════════════════════════════════════════════
   TABLES — Honest Craft Styling
   ═══════════════════════════════════════════════════════ */
.gh-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 24px 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1.5px solid var(--matsch-border);
    font-size: 14px;
    line-height: 1.5;
}
.gh-content table thead {
    background: var(--matsch-cream-warm);
}
.gh-content table thead th {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    color: var(--matsch-brown);
    text-align: left;
    padding: 12px 16px;
    border-bottom: 2px solid var(--matsch-border);
    letter-spacing: 0.3px;
}
.gh-content table tbody td {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--matsch-ink);
    padding: 10px 16px;
    border-bottom: 1px solid rgba(107, 79, 58, 0.06);
    vertical-align: top;
}
.gh-content table tbody tr:last-child td {
    border-bottom: none;
}
.gh-content table tbody tr:nth-child(even) {
    background: rgba(250, 244, 236, 0.5);
}
.gh-content table tbody tr:hover {
    background: var(--matsch-cream-warm);
}

/* Mobile: horizontal scroll for wide tables */
@media (max-width: 520px) {
    .gh-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 13px;
    }
    .gh-content table thead th,
    .gh-content table tbody td {
        padding: 8px 12px;
        white-space: nowrap;
    }
}

/* ═══════════════════════════════════════════════════════
   MATSCHIFESTO — Custom About Page
   Honest Craft Manifesto Design
   ═══════════════════════════════════════════════════════ */

/* ── Hero ── */
.mf-manifesto__hero {
    text-align: center;
    padding: 60px var(--space-md) 40px;
    position: relative;
    overflow: hidden;
}
.mf-manifesto__hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(107, 79, 58, 0.03) 0%, rgba(212, 168, 83, 0.06) 50%, rgba(122, 155, 111, 0.04) 100%);
    z-index: 0;
}
.mf-manifesto__hero-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}
.mf-manifesto__hero-emoji {
    font-size: 56px;
    display: block;
    margin-bottom: 16px;
    filter: drop-shadow(0 2px 8px rgba(107, 79, 58, 0.15));
}
.mf-manifesto__title {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 900;
    font-style: italic;
    color: var(--matsch-ink);
    margin-bottom: 16px;
    line-height: 1.1;
}
.mf-manifesto__subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--matsch-brown-light);
    line-height: 1.65;
    max-width: 520px;
    margin: 0 auto;
}

/* ── Content wrapper ── */
.mf-manifesto__content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ── Section headings: Fraunces with decorative underline ── */
.mf-manifesto__content h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    font-style: italic;
    color: var(--matsch-ink);
    margin: 56px 0 20px;
    padding-bottom: 0;
    border-bottom: none;
    text-align: center;
    position: relative;
}
.mf-manifesto__content h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--matsch-gold), var(--matsch-terra));
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ── Bold intro paragraph ── */
.mf-manifesto__content > p:first-child,
.mf-manifesto__content > p:first-of-type {
    font-size: 20px;
    font-weight: 700;
    color: var(--matsch-brown);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* ── Regular paragraphs ── */
.mf-manifesto__content p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--matsch-ink);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Italic paragraphs as pull-quotes ── */
.mf-manifesto__content p > em:only-child {
    display: block;
    font-family: var(--font-accent);
    font-size: 20px;
    color: var(--matsch-brown);
    text-align: center;
    padding: 16px 32px;
    background: transparent;
    border-left: none;
    border-radius: 0;
    margin: 24px auto;
    max-width: 520px;
    line-height: 1.5;
}

/* ── HRs as subtle section breaks ── */
.mf-manifesto__content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--matsch-border), transparent);
    margin: 40px auto;
    max-width: 200px;
}

/* ── Principle paragraphs: Bold start = principle card ── */
.mf-manifesto__content .mf-principle {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin: 16px auto;
    max-width: 680px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--matsch-gold);
    position: relative;
}
.mf-manifesto__content .mf-principle strong:first-child {
    color: var(--matsch-brown);
    font-size: 15px;
}

/* Alternate principle colors — applied by JavaScript using CSS variables */

/* ── "Der Name" section: emotional large type ── */
.mf-manifesto__content .mf-section--name {
    text-align: center;
    padding: 40px 24px;
    margin: 48px 0;
    background: linear-gradient(135deg, rgba(107, 79, 58, 0.04) 0%, rgba(212, 168, 83, 0.06) 100%);
    border-radius: var(--radius-lg);
}
.mf-manifesto__content .mf-section--name h2 {
    font-size: 32px;
    margin-top: 0;
}
.mf-manifesto__content .mf-section--name h2::after {
    display: none;
}
.mf-manifesto__content .mf-section--name p {
    font-size: 17px;
    max-width: 580px;
}

/* ── "Wie wir testen" section: trust block ── */
.mf-manifesto__content .mf-section--testen {
    background: var(--matsch-cream-warm);
    border: 1.5px solid var(--matsch-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    margin: 40px auto;
    max-width: 720px;
}
.mf-manifesto__content .mf-section--testen h2 {
    text-align: left;
    margin-top: 0;
    font-size: 24px;
}
.mf-manifesto__content .mf-section--testen h2::after {
    margin: 12px 0 0;
}

/* ── "Mitmachen" section ── */
.mf-manifesto__content .mf-section--mitmachen {
    text-align: center;
    padding: 32px 24px;
    margin: 40px auto;
    max-width: 600px;
}
.mf-manifesto__content .mf-section--mitmachen h2 {
    font-size: 26px;
}
.mf-manifesto__content .mf-section--mitmachen a {
    color: var(--matsch-brown);
    text-decoration: underline;
    text-decoration-color: var(--matsch-gold);
    text-underline-offset: 3px;
    font-weight: 600;
}
.mf-manifesto__content .mf-section--mitmachen a:hover {
    color: var(--matsch-gold);
}

/* ── Lists in manifesto ── */
.mf-manifesto__content ul {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* ── CTA section ── */
.mf-manifesto__cta {
    max-width: 600px;
    margin: 48px auto 32px;
    padding: 0 var(--space-md);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .mf-manifesto__title { font-size: 34px; }
    .mf-manifesto__subtitle { font-size: 16px; }
    .mf-manifesto__content h2 { font-size: 24px; }
    .mf-manifesto__hero { padding: 40px var(--space-sm) 28px; }
    .mf-manifesto__hero-emoji { font-size: 44px; }
}
@media (max-width: 520px) {
    .mf-manifesto__title { font-size: 28px; }
    .mf-manifesto__content .mf-principle { padding: 18px 20px; }
    .mf-manifesto__content .mf-section--name { padding: 28px 18px; }
    .mf-manifesto__content .mf-section--testen { padding: 24px 20px; }
}

/* ═══════════════════════════════════════════════════════
   PHASE B: CORE UX & CONVERSION
   ═══════════════════════════════════════════════════════ */

/* ── B1: INDEX PAGE IMPROVEMENTS ── */
.mf-feed__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
    gap: 8px;
}
.mf-feed__count {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--matsch-gold-muted);
    font-weight: 600;
}
.mf-newsletter--bottom {
    margin-top: var(--space-lg);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Better card placeholder without feature image */
.mf-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    background: linear-gradient(135deg, var(--matsch-cream-warm) 0%, var(--matsch-cream-dark) 100%);
    position: relative;
}
.mf-card__placeholder::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(107,79,58,0.03) 0%, rgba(212,168,83,0.08) 100%);
}

/* ── B3: 404 PAGE BRANDING ── */
.mf-error {
    text-align: center;
    padding: 60px 20px 80px;
    max-width: 500px;
    margin: 0 auto;
}
.mf-error__handprint {
    font-size: 64px;
    margin-bottom: 8px;
    filter: drop-shadow(0 2px 8px rgba(107, 79, 58, 0.15));
    animation: fadeInUp 0.5s ease both;
}
.mf-error__code {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 900;
    font-style: italic;
    color: var(--matsch-cream-dark);
    line-height: 1;
    margin-bottom: 8px;
    animation: fadeInUp 0.5s ease 0.1s both;
}
.mf-error__title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    font-style: italic;
    color: var(--matsch-ink);
    margin-bottom: 12px;
    animation: fadeInUp 0.5s ease 0.2s both;
}
.mf-error__text {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--matsch-brown-light);
    margin-bottom: 28px;
    line-height: 1.6;
    animation: fadeInUp 0.5s ease 0.3s both;
}
.mf-error__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
    animation: fadeInUp 0.5s ease 0.4s both;
}
.mf-error__hint {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--matsch-gold-muted);
    animation: fadeInUp 0.5s ease 0.5s both;
}
.mf-error__hint a {
    color: var(--matsch-brown);
    text-decoration: underline;
    text-decoration-color: var(--matsch-gold);
    text-underline-offset: 2px;
}

/* ── B5: STICKY NEWSLETTER FOOTER BAR ── */
.mf-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--matsch-brown);
    color: #fff;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 90;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -2px 16px rgba(44, 31, 20, 0.15);
}
.mf-sticky-bar.is-visible {
    transform: translateY(0);
}
.mf-sticky-bar__text {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: rgba(250, 244, 236, 0.9);
}
.mf-sticky-bar__text strong {
    color: #fff;
    font-weight: 700;
}
.mf-sticky-bar__btn {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    background: var(--matsch-gold);
    color: var(--matsch-ink);
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.mf-sticky-bar__btn:hover {
    background: #E0B85F;
}
.mf-sticky-bar__close {
    background: none;
    border: none;
    color: rgba(250, 244, 236, 0.5);
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    flex-shrink: 0;
}
.mf-sticky-bar__close:hover {
    color: #fff;
}

/* ── B6: FEATURE IMAGE POSITIONING ── */
.mf-post__hero {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-md);
    max-height: 480px;
}
.mf-post__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.mf-card__image img {
    object-position: center;
}

/* ── B2: READING PROGRESS BAR ── */
.mf-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--matsch-gold), var(--matsch-terra));
    z-index: 100;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* ── B2: MOBILE REFINEMENTS ── */
@media (max-width: 520px) {
    .mf-sticky-bar {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 16px;
    }
    .mf-sticky-bar__text {
        font-size: 13px;
        flex: 1;
        min-width: 0;
    }
    .mf-error__code {
        font-size: 56px;
    }
    .mf-error__title {
        font-size: 22px;
    }
    .mf-post__hero {
        max-height: 320px;
        border-radius: var(--radius);
    }
    /* Larger touch targets on mobile */
    .mf-badge {
        padding: 6px 14px;
        font-size: 12px;
    }
    .mf-card__meta .mf-badge {
        padding: 4px 10px;
    }
}

/* ═══════════════════════════════════════════════════════
   FILTERS — Client-side Spielideen Filter
   ═══════════════════════════════════════════════════════ */
.mf-filters {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow);
    border: 1px solid var(--matsch-border);
}
.mf-filters__row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.mf-filters__row:last-of-type {
    margin-bottom: 0;
}
.mf-filters__label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    color: var(--matsch-brown);
    min-width: 60px;
    flex-shrink: 0;
}
.mf-filters__group {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.mf-filter-btn {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--matsch-brown-light);
    background: var(--matsch-cream);
    border: 1.5px solid transparent;
    border-radius: var(--radius-pill);
    padding: 5px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
.mf-filter-btn:hover {
    background: var(--matsch-cream-warm);
    border-color: var(--matsch-border);
}
.mf-filter-btn.is-active {
    background: var(--matsch-brown);
    color: #fff;
    border-color: var(--matsch-brown);
}
.mf-filter-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.mf-filters__status {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--matsch-gold-muted);
    margin-top: 10px;
    text-align: right;
    min-height: 18px;
}

/* Card hide/show animation */
.mf-card.is-hidden {
    display: none;
}

/* Empty state */
.mf-filters__empty {
    text-align: center;
    padding: 48px 20px;
}
.mf-filters__empty-emoji {
    font-size: 48px;
    margin-bottom: 12px;
}
.mf-filters__empty-text {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--matsch-gold-muted);
    margin-bottom: 20px;
}

/* ── Filter toggle (mobile only) ── */
.mf-filters__toggle {
    display: none;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--matsch-brown);
    align-items: center;
    gap: 8px;
}
.mf-filters__toggle-icon { font-size: 16px; }
.mf-filters__toggle-text { flex: 1; text-align: left; }
.mf-filters__toggle-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: var(--matsch-gold-muted);
}
.mf-filters__toggle.is-open .mf-filters__toggle-arrow {
    transform: rotate(180deg);
}

/* Active filter indicator on toggle */
.mf-filters__toggle-count {
    font-size: 11px;
    font-weight: 700;
    background: var(--matsch-gold);
    color: var(--matsch-ink);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
}

/* Mobile: collapsible filters */
@media (max-width: 520px) {
    .mf-filters__toggle {
        display: flex;
        padding: 4px 0;
    }
    .mf-filters__body {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, opacity 0.25s ease;
        opacity: 0;
    }
    .mf-filters__body.is-open {
        max-height: 400px;
        opacity: 1;
        margin-top: 12px;
    }
}

/* Desktop: filters always visible, toggle hidden */
@media (min-width: 521px) {
    .mf-filters__body {
        display: block !important;
        max-height: none !important;
        opacity: 1 !important;
    }
}

/* Mobile: horizontal scroll for filter groups */
@media (max-width: 520px) {
    .mf-filters {
        padding: 16px 18px;
    }
    .mf-filters__label {
        min-width: 50px;
        font-size: 12px;
    }
    .mf-filter-btn {
        font-size: 11px;
        padding: 4px 10px;
    }
}

/* ═══════════════════════════════════════════════════════
   GHOST PORTAL — Honest Craft Styling
   Override Ghost's built-in signup/signin portal
   ═══════════════════════════════════════════════════════ */
:root {
    --ghost-accent-color: #6B4F3A;
}

/* Portal iframe overlay styling via Ghost's CSS variables */
.gh-portal-popup-wrapper {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* ═══════════════════════════════════════════════════════
   D1: PRINT STYLESHEET
   Lisa druckt die Spielidee aus → Kühlschrank.
   Fokus: Materialien, Schritte, Kinder-Urteil.
   Entfernt: Navigation, Footer, Newsletter, Filter, Sticky Bar.
   ═══════════════════════════════════════════════════════ */
@media print {
    /* ── Hide non-essential elements ── */
    .mf-header,
    .mf-footer,
    .mf-nav,
    .mf-newsletter,
    .mf-newsletter--inline,
    .mf-newsletter--bottom,
    .mf-sticky-bar,
    .mf-progress,
    .mf-post__back,
    .mf-post__back-bottom,
    .mf-related,
    .mf-filters,
    .mf-hero,
    .mf-error__actions,
    .mf-post__tags,
    #mf-filter-empty,
    [data-portal] {
        display: none !important;
    }

    /* ── Reset backgrounds and shadows ── */
    body {
        background: #fff !important;
        color: #000 !important;
        font-size: 11pt;
        line-height: 1.5;
    }
    .mf-site, .mf-main {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .mf-post, .mf-page {
        max-width: 100% !important;
    }

    /* ── Print header: Logo + Title ── */
    .mf-post__title {
        font-size: 22pt !important;
        color: #000 !important;
        margin-bottom: 4pt;
        page-break-after: avoid;
    }
    .mf-post__subtitle {
        font-size: 10pt !important;
        color: #444 !important;
        margin-bottom: 12pt;
    }

    /* ── Feature image: smaller for print ── */
    .mf-post__hero {
        max-height: 200px !important;
        margin-bottom: 12pt;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    /* ── Meta bar: inline, compact ── */
    .mf-post__meta {
        margin-bottom: 12pt;
        gap: 4px !important;
    }
    .mf-badge, .mf-mess-indicator {
        border: 1px solid #ccc !important;
        background: #f5f5f5 !important;
        color: #333 !important;
        font-size: 8pt !important;
        padding: 2px 6px !important;
        border-radius: 4px !important;
    }

    /* ── Content styling for print ── */
    .gh-content {
        font-size: 10pt !important;
    }
    .gh-content h2 {
        font-size: 14pt !important;
        color: #000 !important;
        border-bottom: 1px solid #ccc !important;
        page-break-after: avoid;
        margin-top: 16pt;
    }
    .gh-content h3 {
        font-size: 12pt !important;
        page-break-after: avoid;
    }
    .gh-content p {
        orphans: 3;
        widows: 3;
    }
    .gh-content img {
        max-height: 200px !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        page-break-inside: avoid;
    }
    .gh-content img.mf-scene-image {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
    }

    /* ── Sections: remove backgrounds, keep borders ── */
    .mf-section {
        background: transparent !important;
        box-shadow: none !important;
        padding: 8pt 12pt !important;
        margin: 8pt 0 !important;
        page-break-inside: avoid;
    }
    .mf-section--ehrlich {
        border-left: 3px solid #C4714A !important;
        background: #fdf0ec !important;
    }
    .mf-section--material {
        border: 1px solid #ccc !important;
    }
    .mf-section--kinder-urteil {
        border-left: 3px solid #D4A853 !important;
    }

    /* ── Blockquotes ── */
    .gh-content blockquote {
        border-left: 3px solid #D4A853 !important;
        background: #f9f5ed !important;
        font-size: 12pt !important;
        transform: none !important;
        page-break-inside: avoid;
    }

    /* ── Tables ── */
    .gh-content table {
        border: 1px solid #ccc !important;
        border-radius: 0 !important;
        font-size: 9pt !important;
    }
    .gh-content table th {
        background: #f0f0f0 !important;
    }

    /* ── Lists ── */
    .gh-content ul li::before {
        color: #333 !important;
    }

    /* ── Footer print branding ── */
    .mf-post::after {
        content: "matschfinger.de — Weniger Bildschirm. Mehr Abenteuer.";
        display: block;
        text-align: center;
        font-family: sans-serif;
        font-size: 8pt;
        color: #999;
        margin-top: 24pt;
        padding-top: 12pt;
        border-top: 1px solid #ddd;
    }

    /* ── Links: show URL ── */
    .gh-content a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 8pt;
        color: #666;
    }
    .gh-content a[href^="/"]::after {
        content: " (matschfinger.de" attr(href) ")";
        font-size: 8pt;
        color: #666;
    }

    /* ── Page breaks ── */
    .mf-section--tagebuch {
        page-break-before: auto;
    }
}

/* ═══════════════════════════════════════════════════════
   SHOP PAGE — Custom Template
   Product cards, categories, Lemonsqueezy integration
   ═══════════════════════════════════════════════════════ */

/* ── Shop Hero ── */
.mf-shop__hero {
    text-align: center;
    padding: 48px var(--space-md) 32px;
    position: relative;
}
.mf-shop__hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(212,168,83,0.06) 0%, rgba(107,79,58,0.03) 50%, rgba(122,155,111,0.04) 100%);
    z-index: 0;
}
.mf-shop__hero-inner {
    position: relative;
    z-index: 1;
    max-width: 580px;
    margin: 0 auto;
}
.mf-shop__hero-emoji {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}
.mf-shop__title {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 900;
    font-style: italic;
    color: var(--matsch-ink);
    margin-bottom: 12px;
    line-height: 1.1;
}
.mf-shop__subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--matsch-brown-light);
    line-height: 1.6;
}

/* ── Shop Content ── */
.mf-shop__content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ── Category Headings ── */
.mf-shop__content h2 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 900;
    font-style: italic;
    color: var(--matsch-ink);
    text-align: center;
    margin: 48px 0 12px;
    border-bottom: none;
    padding-bottom: 0;
}
.mf-shop__content h2::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--matsch-gold), var(--matsch-terra));
    margin: 10px auto 0;
    border-radius: 2px;
}

/* ── Product Cards Grid ── */
.mf-shop__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin: 28px 0 40px;
}

/* ── Individual Product Card ── */
.mf-product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--matsch-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}
.mf-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* Product Image */
.mf-product-card__image {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--matsch-cream-warm), var(--matsch-cream-dark));
    display: flex;
    align-items: center;
    justify-content: center;
}
.mf-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.mf-product-card__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

/* Product Badge (Neu, Kommt bald, Bestseller) */
.mf-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    z-index: 2;
}
.mf-product-badge--neu {
    background: var(--matsch-gold);
    color: var(--matsch-ink);
}
.mf-product-badge--soon {
    background: var(--matsch-cream-warm);
    color: var(--matsch-brown);
    border: 1px solid var(--matsch-border);
}
.mf-product-badge--hit {
    background: var(--matsch-terra);
    color: #fff;
}

/* Product Body */
.mf-product-card__body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.mf-product-card__type {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--matsch-gold-muted);
    margin-bottom: 6px;
}
.mf-product-card__name {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 900;
    font-style: italic;
    color: var(--matsch-ink);
    margin-bottom: 8px;
    line-height: 1.25;
}
.mf-product-card__desc {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--matsch-brown-light);
    line-height: 1.55;
    margin-bottom: 16px;
    flex: 1;
}
.mf-product-card__price {
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 800;
    color: var(--matsch-ink);
    margin-bottom: 12px;
}
.mf-product-card__price small {
    font-size: 13px;
    font-weight: 600;
    color: var(--matsch-gold-muted);
}

/* Product CTA Button */
.mf-product-card__cta {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 11px 20px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}
.mf-product-card__cta--buy {
    background: var(--matsch-brown);
    color: #fff;
}
.mf-product-card__cta--buy:hover {
    background: var(--matsch-gold);
    color: var(--matsch-ink);
}
.mf-product-card__cta--soon {
    background: var(--matsch-cream-warm);
    color: var(--matsch-brown-light);
    border: 1.5px solid var(--matsch-border);
    cursor: default;
}
.mf-product-card__cta--notify {
    background: transparent;
    color: var(--matsch-brown);
    border: 1.5px solid var(--matsch-brown);
}
.mf-product-card__cta--notify:hover {
    background: var(--matsch-brown);
    color: #fff;
}

/* ── Shop CTA section ── */
.mf-shop__cta {
    max-width: 560px;
    margin: 32px auto 24px;
    padding: 0 var(--space-md);
}

/* ── Intro text below category headings ── */
.mf-shop__content > p {
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
    color: var(--matsch-brown-light);
    line-height: 1.65;
}

/* ── Shop Responsive ── */
@media (max-width: 768px) {
    .mf-shop__title { font-size: 30px; }
    .mf-shop__grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }
}
@media (max-width: 520px) {
    .mf-shop__title { font-size: 26px; }
    .mf-shop__hero { padding: 36px var(--space-sm) 24px; }
    .mf-shop__grid {
        grid-template-columns: 1fr;
    }
    .mf-product-card__image { aspect-ratio: 3 / 2; }
}

/* ═══════════════════════════════════════════════════════
   ZONE-3 CONTENT-ARCHITEKTUR
   Zone 1+2: explizite Sync-Sections (.mf-phase-2-pre/post)
   Zone 3:   "Für Entdecker" — Toggle-Container
   (Zone-2-Divider entfernt in Sprint 3.5 — Phase 2 hat
    jetzt explizite Sections mit eigenen H2-Headern.)
   ═══════════════════════════════════════════════════════ */

/* ── Zone-3 Container ("Für Entdecker") ── */
.mf-zone--entdecker {
    background: rgba(107, 79, 58, 0.04);
    border-radius: 16px;
    padding: 32px 24px;
    margin-top: 48px;
}
.mf-zone__header {
    margin-bottom: var(--space-lg);
}
.mf-zone__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--matsch-braun);
    margin: 0 0 var(--space-xs);
}
.mf-zone__subtitle {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--matsch-braun);
    opacity: 0.6;
    margin: 0 0 var(--space-md);
}

/* Toggles innerhalb des Zone-3-Containers: weniger Außenabstand */
.mf-zone--entdecker .mf-toggle {
    margin: 12px 0;
}
.mf-zone--entdecker .mf-toggle:first-of-type {
    margin-top: 0;
}
.mf-zone--entdecker .mf-toggle:last-child {
    margin-bottom: 0;
}

/* "Alles aufklappen"-Button im Zone-Header: kein extra Margin oben */
.mf-zone__header .mf-toggle-all {
    margin-top: 0;
}

/* ── Mobile ── */
@media (max-width: 520px) {
    .mf-zone--entdecker {
        padding: 20px 16px;
        border-radius: 0;
        margin-left: -16px;
        margin-right: -16px;
    }
}

/* ── Print ── */
@media print {
    .mf-zone--entdecker {
        background: transparent !important;
        border: 1.5px solid #ccc !important;
        border-radius: 8px !important;
        padding: 16pt 12pt !important;
    }
}

/* ═══════════════════════════════════════════════════════
   TIER-3 TOGGLE SECTIONS — Collapsible <details>/<summary>
   Varianten, Warum passiert das, Tagebuch, Passt auch zu
   ═══════════════════════════════════════════════════════ */

/* ── Toggle-Section Basis ── */
.mf-toggle {
    border-radius: 12px;
    padding: 0;
    margin: 28px 0;
    border: 1.5px solid rgba(107, 79, 58, 0.15);
    overflow: hidden;
}

/* ── Summary (Klickbare Zeile) ── */
.mf-toggle__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 14px 24px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--matsch-braun);
    cursor: pointer;
    list-style: none;
    user-select: none;
    -webkit-user-select: none;
    transition: background 0.2s ease;
}
.mf-toggle__summary:hover {
    background: rgba(107, 79, 58, 0.04);
}
/* Tastatur-Fokus: Brand-Outline statt Browser-Default-Glow.
   :focus-visible greift nur bei Tab-Navigation, nicht beim Klick. */
.mf-toggle__summary:focus {
    outline: none;
}
.mf-toggle__summary:focus-visible {
    outline: 2px solid var(--matsch-braun);
    outline-offset: 2px;
    background: rgba(107, 79, 58, 0.06);
}
/* Native Marker entfernen (Safari + Chrome) */
.mf-toggle__summary::-webkit-details-marker {
    display: none;
}

/* ── Chevron-Icon via CSS ── */
.mf-toggle__summary::after {
    content: '';
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    margin-left: var(--space-md);
    border-right: 2.5px solid var(--matsch-braun);
    border-bottom: 2.5px solid var(--matsch-braun);
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}
.mf-toggle[open] > .mf-toggle__summary::after {
    transform: rotate(45deg);
}

/* ── Content-Bereich mit Animation (Grid-Trick) ── */
.mf-toggle__content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}
.mf-toggle[open] > .mf-toggle__content {
    grid-template-rows: 1fr;
}
.mf-toggle__inner {
    overflow: hidden;
    padding: 0 24px;
}
.mf-toggle[open] > .mf-toggle__content > .mf-toggle__inner {
    padding-bottom: 20px;
}

/* ── Reduced Motion: Animation komplett abschalten ── */
@media (prefers-reduced-motion: reduce) {
    .mf-toggle__content,
    .mf-toggle__summary,
    .mf-toggle__summary::after {
        transition: none;
    }
}

/* ── Tier-3 Section-spezifische Styles ── */
.mf-section--varianten {
    border-color: var(--matsch-sage);
}
.mf-section--varianten > .mf-toggle__summary {
    color: var(--matsch-sage);
}
.mf-section--varianten > .mf-toggle__summary::after {
    border-color: var(--matsch-sage);
}

.mf-section--warum {
    border-color: var(--matsch-gold);
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.04) 0%, transparent 100%);
}
.mf-section--warum > .mf-toggle__summary {
    color: var(--matsch-braun);
}

.mf-section--tagebuch.mf-toggle {
    border-color: var(--matsch-gold);
    background: var(--matsch-cream);
    position: relative;
}
.mf-section--tagebuch.mf-toggle > .mf-toggle__summary {
    color: var(--matsch-braun);
}
.mf-section--tagebuch.mf-toggle::before {
    content: "📖";
    position: absolute;
    top: 12px;
    right: 52px;
    font-size: 20px;
    opacity: 0.15;
    pointer-events: none;
}

.mf-section--crosslinks {
    border-color: var(--matsch-terra);
}
.mf-section--crosslinks > .mf-toggle__summary {
    color: var(--matsch-terra);
}
.mf-section--crosslinks > .mf-toggle__summary::after {
    border-color: var(--matsch-terra);
}

/* ── "Alles aufklappen"-Button ── */
.mf-toggle-all {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin: var(--space-lg) 0 var(--space-sm);
    padding: 8px 16px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--matsch-braun);
    background: transparent;
    border: 1.5px solid rgba(107, 79, 58, 0.15);
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.mf-toggle-all:hover {
    background: rgba(107, 79, 58, 0.06);
    border-color: var(--matsch-braun);
}

/* ── Mobile ── */
@media (max-width: 520px) {
    .mf-toggle__summary {
        padding: 12px 16px;
        font-size: 1.05rem;
    }
    .mf-toggle__inner {
        padding: 0 16px;
    }
    .mf-toggle {
        margin: 20px -4px;
    }
    .mf-section--tagebuch.mf-toggle::before {
        right: 44px;
    }
}

/* ── Print: Toggles offen, kein Chevron ── */
@media print {
    .mf-toggle {
        border: 1px solid #ccc !important;
        background: transparent !important;
    }
    .mf-toggle__summary::after {
        display: none !important;
    }
    .mf-toggle-all {
        display: none !important;
    }
    /* <details>-Content zwangs-sichtbar (UA-Default überschreiben) */
    .mf-toggle > .mf-toggle__content {
        display: block !important;
    }
    .mf-toggle > .mf-toggle__content > .mf-toggle__inner {
        overflow: visible !important;
        padding: 0 24px 16px !important;
    }
    /* Summary als H2-Ersatz: Section-Header statt UI-Bar */
    .mf-toggle__summary {
        display: block;
        cursor: default;
        min-height: 0;
        padding: 8px 24px 4px;
        font-size: 1.3rem;
        break-after: avoid;
        page-break-after: avoid;
    }
}

/* ═══════════════════════════════════════════════════════
   PROPERTY-BILDER (Sync v3, via alt-Text)
   Ghost strippt Custom Classes → Selektion über alt-Attribut
   ═══════════════════════════════════════════════════════ */

.gh-content figure:has(img[alt*="Kind in Aktion"]),
.gh-content figure:has(img[alt*="Vorbereitung"]),
.gh-content figure:has(img[alt*="Detail"]),
.gh-content figure:has(img[alt*="Kinderhände"]) {
    max-height: 400px;
    overflow: hidden;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.gh-content figure:has(img[alt*="Kind in Aktion"]) img,
.gh-content figure:has(img[alt*="Vorbereitung"]) img,
.gh-content figure:has(img[alt*="Detail"]) img,
.gh-content figure:has(img[alt*="Kinderhände"]) img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Hero etwas prominenter */
.gh-content figure:has(img[alt*="Kind in Aktion"]) { max-height: 480px; }
.gh-content figure:has(img[alt*="Kind in Aktion"]) img { height: 480px; }

/* Bild-Fokus: object-position via alt-text suffix */
.gh-content figure:has(img[alt$="— oben"]) img { object-position: top; }
.gh-content figure:has(img[alt$="— mitte"]) img { object-position: center; }
.gh-content figure:has(img[alt$="— unten"]) img { object-position: bottom; }

/* =========================================
   KI-Bilder Transparenz Section (Matschifesto)
   ========================================= */

.mf-ki-transparenz {
    margin: var(--space-xl) 0;
    padding: var(--space-lg) 0;
}

.mf-ki-transparenz__inner {
    max-width: 720px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-lg) var(--space-lg) calc(var(--space-lg) + 4px);
    border-left: 4px solid var(--matsch-sage);
    position: relative;
}

.mf-ki-transparenz__title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-style: italic;
    font-size: 1.8rem;
    color: var(--matsch-dark);
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.mf-ki-transparenz__accent {
    font-family: var(--font-hand);
    font-weight: 700;
    font-size: 2.1rem;
    color: var(--matsch-sage);
    display: inline-block;
    transform: rotate(-2deg);
    transform-origin: left center;
}

.mf-ki-transparenz__body {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--matsch-dark);
}

.mf-ki-transparenz__body p {
    margin-bottom: var(--space-md);
}

.mf-ki-transparenz__body p:last-child {
    margin-bottom: 0;
    font-style: italic;
    color: var(--matsch-braun);
}

/* Responsive */
@media (max-width: 768px) {
    .mf-ki-transparenz__inner {
        padding: var(--space-md) var(--space-md) var(--space-md) calc(var(--space-md) + 4px);
    }

    .mf-ki-transparenz__title {
        font-size: 1.5rem;
    }

    .mf-ki-transparenz__accent {
        font-size: 1.75rem;
    }
}

/* Print */
@media print {
    .mf-ki-transparenz__inner {
        border-left: 3px solid #000;
    }
}

/* ════════════════════════════════════════════════════════
   NOTFALLKOFFER LANDING PAGE
   Lead-Magnet-Landing, Pinterest-Funnel-Ziel.
   Mobile-First: Defaults sind Mobile, Desktop via min-width.
   ════════════════════════════════════════════════════════ */

.nk-page {
    background: var(--matsch-cream);
    color: var(--matsch-ink);
    font-family: var(--font-body);
}

/* A11y helper, scoped to nk- */
.nk-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Hero ─────────────────────────────────────────────── */

.nk-hero {
    background: var(--matsch-cream);
    padding: var(--space-md) var(--space-sm) var(--space-lg);
}

.nk-hero__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.nk-hero__media {
    text-align: center;
}

.nk-hero__media img {
    max-width: 100%;
    height: auto;
    max-height: 30vh;
    width: auto;
    display: inline-block;
    filter: drop-shadow(0 8px 24px rgba(107, 79, 58, 0.18));
}

.nk-hero__copy {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.nk-hero__title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 900;
    font-size: clamp(1.6rem, 5vw + 0.5rem, 2.6rem);
    line-height: 1.15;
    color: var(--matsch-ink);
    margin: 0;
    letter-spacing: -0.01em;
}

.nk-hero__subtitle {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--matsch-brown);
    margin: 0;
}

.nk-hero__body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--matsch-brown);
    margin: var(--space-sm) 0 0;
}

/* ── Signup-Form ──────────────────────────────────────── */

.nk-signup-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-top: var(--space-xs);
}

.nk-signup-form__input {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 14px 16px;
    min-height: 48px;
    border: 2px solid var(--matsch-border);
    border-radius: var(--radius);
    background: #fff;
    color: var(--matsch-ink);
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
}

.nk-signup-form__input:focus {
    outline: none;
    border-color: var(--matsch-gold);
    box-shadow: 0 0 0 3px var(--matsch-gold-border);
}

.nk-signup-form__microcopy {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--matsch-brown-light);
    margin: 0;
}

.nk-signup-form__button {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    padding: 14px 24px;
    min-height: 52px;
    background: var(--matsch-gold);
    color: var(--matsch-ink);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.15s ease;
    box-shadow: var(--shadow);
}

.nk-signup-form__button:hover,
.nk-signup-form__button:focus-visible {
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

.nk-signup-form__button:focus-visible {
    outline: 3px solid var(--matsch-ink);
    outline-offset: 2px;
}

.nk-signup-form__button:active {
    transform: translateY(0);
}

.nk-signup-form__sender {
    font-family: var(--font-accent);
    font-size: 1.05rem;
    color: var(--matsch-brown);
    margin: var(--space-xs) 0 0;
    text-align: center;
    transform: rotate(-1deg);
}

/* ── Was-drin: 7 Karten ───────────────────────────────── */

.nk-cards {
    background: var(--matsch-cream-warm);
    padding: var(--space-lg) var(--space-sm);
}

.nk-cards__headline {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 900;
    font-size: clamp(1.5rem, 4vw + 0.4rem, 2.2rem);
    line-height: 1.2;
    color: var(--matsch-ink);
    text-align: center;
    margin: 0 auto var(--space-md);
    max-width: var(--max-width);
}

.nk-cards__grid {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: var(--max-width);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-sm);
}

.nk-card {
    background: #fff;
    border: 1px solid var(--matsch-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    box-shadow: var(--shadow);
}

.nk-card__emoji {
    font-size: 2.4rem;
    line-height: 1;
    display: inline-block;
}

.nk-card__title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 900;
    font-size: 1.3rem;
    line-height: 1.2;
    color: var(--matsch-ink);
    margin: 0;
}

.nk-card__teaser {
    font-family: var(--font-body);
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--matsch-brown);
    margin: 0;
}

/* ── Trust-Block ──────────────────────────────────────── */

.nk-trust {
    background: var(--matsch-cream);
    padding: var(--space-lg) var(--space-sm);
}

.nk-trust__headline {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 900;
    font-size: clamp(1.5rem, 4vw + 0.4rem, 2.2rem);
    line-height: 1.2;
    color: var(--matsch-ink);
    text-align: center;
    margin: 0 auto var(--space-md);
    max-width: var(--max-width);
}

.nk-trust__items {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.nk-trust__item {
    text-align: left;
}

.nk-trust__item-title {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--matsch-terra);
    margin: 0 0 var(--space-xs);
}

.nk-trust__item-body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--matsch-ink);
    margin: 0;
}

/* ── Second-Chance-CTA ────────────────────────────────── */

.nk-cta-secondary {
    background: var(--matsch-cream-warm);
    padding: var(--space-lg) var(--space-sm);
}

.nk-cta-secondary__inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.nk-cta-secondary__headline {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 900;
    font-size: clamp(1.4rem, 3.5vw + 0.4rem, 2rem);
    line-height: 1.2;
    color: var(--matsch-ink);
    margin: 0 0 var(--space-sm);
}

.nk-cta-secondary__body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--matsch-brown);
    margin: 0 0 var(--space-md);
}

.nk-signup-form--compact {
    align-items: stretch;
}

/* ── Desktop (≥768px) ─────────────────────────────────── */

@media (min-width: 768px) {

    .nk-hero {
        padding: var(--space-xl) var(--space-md);
    }

    .nk-hero__inner {
        flex-direction: row;
        align-items: center;
        gap: var(--space-lg);
    }

    .nk-hero__media,
    .nk-hero__copy {
        flex: 1 1 0;
    }

    .nk-hero__media img {
        max-height: none;
        max-width: 100%;
    }

    .nk-hero__inner--success {
        flex-direction: column;
        text-align: center;
        max-width: 640px;
    }

    .nk-signup-form {
        gap: var(--space-sm);
    }

    .nk-cards {
        padding: var(--space-xl) var(--space-md);
    }

    .nk-cards__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .nk-trust {
        padding: var(--space-xl) var(--space-md);
    }

    .nk-trust__items {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
    }

    .nk-cta-secondary {
        padding: var(--space-xl) var(--space-md);
    }

}

/* ── Reduced Motion ───────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    .nk-signup-form__button {
        transition: none;
    }
    .nk-signup-form__button:hover,
    .nk-signup-form__button:focus-visible {
        transform: none;
    }
}

/* ── Print ────────────────────────────────────────────── */

@media print {
    .nk-signup-form,
    .nk-cta-secondary {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════
   DETAILSEITE v2 — Phase-1-Komponenten (Sprint 2 / Pinterest-Launch)
   ═══════════════════════════════════════════════════════ */

/* Tag-CSV ist nur für JS-Konsumierung, nie sichtbar */
#mf-tag-data {
    display: none !important;
}

/* Formel-Strip — Pin-Continuity-Anker oben in Phase 1 */
.gh-content .mf-formel-strip {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--matsch-brown);
    background: var(--matsch-cream-warm);
    border-left: 4px solid var(--matsch-gold);
    padding: 1.25rem 1.75rem;
    margin: 2.5rem 0 1rem;
    border-radius: 4px;
    letter-spacing: 0.01em;
}

/* Mini-Kinder-Urteil — Caveat-Banner unter Formel-Strip */
.gh-content .mf-mini-urteil {
    font-family: var(--font-accent);
    font-size: 2.75rem;
    line-height: 1.1;
    color: var(--matsch-terra);
    text-align: center;
    margin: 1.5rem 0 2.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* CTA-Card — gemeinsame Basis für Pos-1 + Pos-2 */
.gh-content .mf-cta {
    background: var(--matsch-cream-warm);
    border: 2px solid var(--matsch-gold);
    border-radius: 10px;
    padding: 2rem 2rem 2.25rem;
    margin: 3rem 0;
    text-align: center;
}

.gh-content .mf-cta h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin: 0 0 0.75rem;
    color: var(--matsch-brown);
}

.gh-content .mf-cta p {
    font-size: 1.05rem;
    margin: 0 0 1.5rem;
    color: var(--matsch-ink);
}

.gh-content .mf-cta .mf-btn {
    display: inline-block;
    background: var(--matsch-terra);
    color: var(--matsch-cream);
    padding: 0.85rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 1.05rem;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.gh-content .mf-cta .mf-btn:hover {
    background: var(--matsch-brown);
    transform: translateY(-1px);
}

/* Pos-2 — Notfallkoffer-Fallback */
.gh-content .mf-cta--pos2 {
    border-color: var(--matsch-sage);
    background: linear-gradient(180deg, var(--matsch-cream-warm) 0%, var(--matsch-cream) 100%);
}

.gh-content .mf-cta--pos2 .mf-btn {
    background: var(--matsch-sage);
}

.gh-content .mf-cta--pos2 .mf-btn:hover {
    background: var(--matsch-brown);
}

/* Sub-Schritt-H3 (gefolgt von Bild) — kleiner als "So geht's"-H2 */
.gh-content h3:has(+ figure) {
    font-size: 1.4rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

@media (max-width: 600px) {
    .gh-content .mf-formel-strip {
        font-size: 1.15rem;
        padding: 1rem 1.25rem;
    }

    .gh-content .mf-mini-urteil {
        font-size: 2.25rem;
    }

    .gh-content .mf-cta {
        padding: 1.5rem 1.25rem 1.75rem;
        margin: 2rem 0;
    }

    .gh-content .mf-cta h3 {
        font-size: 1.25rem;
    }
}
