From c737312adadd05d72dc5e063382a55f5f8c56638 Mon Sep 17 00:00:00 2001 From: Hermes Date: Thu, 4 Jun 2026 16:39:05 +0000 Subject: [PATCH] fix(css): mobile nav overflow, hero-bg as , map wrapper class MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - mobile (≤900px): hide .nav-cta (was overflowing viewport by 65px) - .nav-hamburger span: center inside button via left:50%; top:50% - .nav-hamburger.active states: add translate(-50%,-50%) so the X lines stay centered after rotation - .hero-bg: switch from background-* to object-fit/object-position (was an but CSS targeted background-image → 1024px wide hero-bg broke mobile layout) - responsive: also override nav.scrolled padding on mobile (specificity 0,1,1 > 0,0,1 → 3rem padding stayed in effect, pushing the hamburger off-screen with width:0 on scroll) - home/index.php: rename lage-map → lage-map-wrapper so the existing .lage-map-wrapper CSS (border, margin-top: 3rem, overflow: hidden, full-width 450px iframe) actually applies --- app/views/home/index.php | 2 +- public/css/haus-schleusingen.css | 25 ++++++++++++++++--------- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/app/views/home/index.php b/app/views/home/index.php index 87b6670..2dabdcf 100644 --- a/app/views/home/index.php +++ b/app/views/home/index.php @@ -233,7 +233,7 @@ $gridItems = [ -
+