/* Global Frontend CSS — automatisch aus FrontendController extrahiert */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --green:   #2e7d32; --green-d: #1b5e20; --green-l: #e8f5e9; --green-m: #a5d6a7;
    --text:    #1a2a1c; --text-2:  #3a5040; --text-3:  #88a08c;
    --bg:      #eef1ee; --card:    #ffffff;  --border:  #d5ddd6;
    --radius:  12px;
    --shadow:  0 1px 4px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.05);
    --shadow-h:0 6px 22px rgba(0,0,0,.11), 0 2px 6px rgba(0,0,0,.06);
    --header-text: #ffffff;
    --btn-bg:  #1b5e20;
    --btn-text:#ffffff;
}
body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 15px; /* leicht größer = angenehmer */
    color: var(--text); line-height: 1.6; min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; }

/* Header */
.site-header { border-bottom: 2px solid rgba(0,0,0,.18); position: sticky; top: 0; z-index: 200; box-shadow: 0 2px 12px rgba(0,0,0,.22); }
.header-inner { max-width: 1340px; margin: 0 auto; padding: 0 24px; height: 48px; display: flex; align-items: center; gap: 16px; }
.header-brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; gap: 0; }
.header-brand-name { font-size: 1.08rem; font-weight: 900; letter-spacing: -.03em; color: var(--header-text); font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; white-space: nowrap; }
.header-brand-sep { width: 1px; height: 16px; background: rgba(255,255,255,.22); margin: 0 10px; display: none; flex-shrink: 0; }
@media(min-width:900px) { .header-brand-sep { display: block; } }
.header-brand-tagline { display: none; font-size: .78rem; font-weight: 700; align-items: center; gap: 5px; white-space: nowrap; letter-spacing: .01em; }
@media(min-width:900px) { .header-brand-tagline { display: flex; } }
.header-tagline-icon { font-size: .88rem; line-height: 1; }
.header-nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.header-nav-link { color: var(--header-text); opacity: .9; font-size: .87rem; font-weight: 600; padding: 5px 14px; border-radius: 6px; transition: background .15s, opacity .15s; text-decoration: none; }
.header-nav-link:hover { background: rgba(255,255,255,.13); opacity: 1; }
.header-nav-link--dim { opacity: .35; cursor: not-allowed; pointer-events: none; }
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-cta { background: #e65100; color: #fff; font-size: .79rem; font-weight: 800; padding: 6px 14px; border-radius: 8px; text-decoration: none; display: flex; flex-direction: column; align-items: center; line-height: 1.25; gap: 1px; transition: background .15s, transform .1s; }
.header-cta:hover { background: #bf360c; transform: translateY(-1px); }
.header-cta-main { font-size: .79rem; font-weight: 800; }
.header-cta-sub  { font-size: .6rem; font-weight: 400; opacity: .8; }
.lang-btn { color: var(--header-text); opacity: .8; font-size: .76rem; font-weight: 700; padding: 4px 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 20px; text-decoration: none; transition: background .15s, opacity .15s; }
.lang-btn:hover { background: rgba(255,255,255,.14); opacity: 1; }

/* Footer — Trennlinie + lesbare Schrift */
.site-footer { text-align: center; padding: 24px; font-size: .82rem; }
.footer-pages { margin-bottom: 10px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.footer-pages a { text-decoration: none; }
.footer-pages a:hover { text-decoration: underline; }
.footer-copy { font-size: .8rem; opacity: .75; }

/* Page */
.page-hero { padding: 40px 0 28px; }
.page-title { font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 900; color: var(--green-d); letter-spacing: -.04em; margin-top: 8px; }
.page-content { max-width: 800px; width: 100%; margin: 0 auto; padding-bottom: 64px; }
.back-link { font-size: .82rem; color: var(--text-2); margin-bottom: 8px; display: inline-block; }
.back-link:hover { color: var(--green); }
.md-content h1 { font-size: 1.8rem; font-weight: 800; color: var(--green-d); margin: 32px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--green-l); }
.md-content h2 { font-size: 1.35rem; font-weight: 700; color: var(--green-d); margin: 28px 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.md-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin: 20px 0 8px; }
.md-content p  { margin-bottom: 14px; color: var(--text-2); }
.md-content a  { color: var(--green); text-decoration: underline; }
.md-content ul, .md-content ol { padding-left: 24px; margin-bottom: 14px; }
.md-content li { margin-bottom: 6px; color: var(--text-2); }
.md-content blockquote { border-left: 4px solid var(--green-m); margin: 16px 0; padding: 12px 18px; background: var(--green-l); border-radius: 0 var(--radius) var(--radius) 0; }
.md-content code { background: #1e1e2e; color: #cdd6f4; padding: 2px 6px; border-radius: 4px; font-size: .88em; font-family: Consolas, monospace; }
.md-content pre  { background: #1e1e2e; color: #cdd6f4; padding: 16px 20px; border-radius: var(--radius); overflow-x: auto; margin-bottom: 16px; }
.md-content hr   { border: none; border-top: 2px solid var(--border); margin: 24px 0; }
.md-content strong { font-weight: 700; color: var(--text); }
.error-page { text-align: center; padding: 80px 20px; }
.error-code { font-size: 6rem; font-weight: 900; color: var(--green-l); line-height: 1; }
.error-page p { color: var(--text-2); margin: 16px 0 32px; }
.btn-primary { display: inline-block; padding: 10px 24px; background: var(--green); color: #fff; border-radius: var(--radius); font-weight: 600; }

.site-footer a, .footer-pages a { color: var(--footer-text, #fff); }
