diff --git a/style.css b/style.css index 118fb5a..e52d326 100755 --- a/style.css +++ b/style.css @@ -41,9 +41,19 @@ body { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; - background: var(--bg-main); !important; - color: var(--text-main); !important; + background: var(--bg-main) !important; + color: var(--text-main) !important; line-height: 1.45; + + /* Sticky-Footer Basis: Inhalt wächst, Footer wird nach unten gedrückt */ + min-height: 100vh; + display: flex; + flex-direction: column; +} + +/* Optional: falls ihr
nutzt, wächst es im Flex-Layout */ +main { + flex: 1 0 auto; } /* ========================================================== @@ -406,7 +416,9 @@ body { FOOTER ========================================================== */ .footer { - margin-top: 3rem; + /* Entfernt das alte spacing und macht den Footer 'sticky' */ + margin-top: auto; + background: var(--bg-header); color: rgba(255, 255, 255, 0.85); border-top: 1px solid rgba(255, 255, 255, 0.08);