Fix critical mobile optimizations for iPhone
All checks were successful
build-website / build (push) Successful in 1m29s

- Update viewport meta to prevent zoom-out issues
- Add video preload and smooth fallback transitions
- Implement iOS overscroll bounce prevention
- Center service offering buttons properly
- Add mobile-specific padding and touch target sizing
- Optimize video loading with canplaythrough event
- Add fade-out transition for fallback image

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-09-19 01:16:44 +02:00
parent 32b3083b77
commit 2d6ec4e432
4 changed files with 39 additions and 4 deletions

View File

@@ -397,6 +397,9 @@ html {
height: 100vh;
min-height: 600px;
overflow: hidden;
/* Prevent iOS overscroll bounce */
overscroll-behavior-y: none;
-webkit-overflow-scrolling: touch;
}
.hero-video-container {
@@ -424,6 +427,13 @@ html {
background-position: center;
background-repeat: no-repeat;
z-index: -1;
opacity: 1;
transition: opacity 0.5s ease-in-out;
}
.hero-image-fallback.fade-out {
opacity: 0;
pointer-events: none;
}
.hero-overlay {
@@ -1415,6 +1425,11 @@ html {
transition: var(--transition);
opacity: 1;
visibility: visible;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
margin: 0 auto;
}
/* Non-featured card buttons */