From fa17c1fefb3af47bbf1073ff65b12c55c76a78a5 Mon Sep 17 00:00:00 2001 From: Claude Code Date: Tue, 21 Apr 2026 01:48:40 +0200 Subject: [PATCH] Vorschau Hero: Slider unter Navbar + Endcard 7s - Slider-Container beginnt jetzt bei top:var(--nav-height) statt 0; das Video wurde zuvor oben durch die fixe Navbar ueberdeckt, obwohl object-fit:contain es komplett rendert - HERO_ENDCARD_MS von 3000 auf 7000 (User-Feedback: zu kurz) Rollback-Punkt: c85be47 --- vorschau/css/style.css | 3 ++- vorschau/js/app.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/vorschau/css/style.css b/vorschau/css/style.css index 9d1570b..d5235b4 100644 --- a/vorschau/css/style.css +++ b/vorschau/css/style.css @@ -75,7 +75,8 @@ a { color:inherit; text-decoration:none; } .hero-tagline { font-size:1.2rem; font-weight:300; color:rgba(255,255,255,0.9); margin-top:12px; } /* ==================== HERO SLIDER ==================== */ -.hero-slider { position:absolute; inset:0; z-index:1; } +/* Slider beginnt unter der Navbar, damit das Video nicht dahinter verschwindet */ +.hero-slider { position:absolute; top:var(--nav-height); left:0; right:0; bottom:0; z-index:1; } .hero-slide { position:absolute; inset:0; opacity:0; transition:opacity 0.6s ease; pointer-events:none; } .hero-slide.active { opacity:1; pointer-events:auto; } .hero-slide.exiting { opacity:0; transition:opacity 0.4s ease; } diff --git a/vorschau/js/app.js b/vorschau/js/app.js index fe2ccd9..3272fd1 100644 --- a/vorschau/js/app.js +++ b/vorschau/js/app.js @@ -49,7 +49,7 @@ var heroEndcardTimer = null; var heroFallbackTimer = null; var heroIsTransitioning = false; - var HERO_ENDCARD_MS = 3000; + var HERO_ENDCARD_MS = 7000; var HERO_FALLBACK_MS = 25000; function heroClearTimers() {