diff --git a/css/footer.css b/css/footer.css index 383bf3b..c481714 100644 --- a/css/footer.css +++ b/css/footer.css @@ -1,11 +1,13 @@ /* Footer‑Grundlayout */ footer { - position: sticky; - top: 100vh; /* Zwingt den Footer an den unteren Rand des sichtbaren Bereichs */ + position: relative; width: 100%; background: #333d43; text-align: center; padding: 10px 0; + + /* Berechnet die Resthöhe: 100% Bildschirmhöhe minus geschätzte Inhaltshöhe */ + margin-top: calc(100vh - 200px); } footer a {