style: Bento-Karten lebendiger – Hände greifen ineinander, Uhr tickt, Polaroids fächern auf

- Reibungsloser Ablauf: Hände einander zugewandt positioniert (links
  Handrücken, rechts offene Handfläche), greifen in der Mitte ineinander
- schnelle Lieferung: Zeiger rotieren per CSS-Keyframes (Minute 4s, Stunde 48s)
- Spezialisiert auf Sportfotografie: Polaroid-Stapel fächert beim
  Scroll-Einblenden auf, sodass alle drei Fotos sichtbar sind
- prefers-reduced-motion: Uhr statisch, Polaroids direkt aufgefächert

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Leon TonhäuserandClaude Fable 5 committed 2026-06-13 00:47:40 +02:00
1 parent 12de67f915
commit 7810fde312
1 file changed
+22 -5
+22 -5
View File
@@ -232,6 +232,12 @@ body { transition: opacity 0.3s ease-out, transform 0.3s ease-out, filter 0.3s e
.einblenden { opacity: 1; transform: none; transition: none; }
body { transition: none; }
.seite-ausgang, .seite-eingang { opacity: 1; transform: none; filter: none; }
.lieferung-uhr line { animation: none; }
/* ohne Scroll-Animation: Polaroids direkt aufgefächert zeigen */
.polaroid { transition: none; }
.polaroid:nth-child(1) { transform: translate(-110%, -56%) rotate(-13deg); }
.polaroid:nth-child(2) { transform: translate(10%, -62%) rotate(11deg); }
.polaroid:nth-child(3) { transform: translate(-50%, -38%) rotate(-2deg); }
}
/* ==================== FOTO-GRID (Startseite + Portfolio) ==================== */
@@ -291,11 +297,16 @@ body { transition: opacity 0.3s ease-out, transform 0.3s ease-out, filter 0.3s e
position: absolute; left: 50%; top: 50%; width: 150px;
padding: 8px 8px 28px; background: #fff; border-radius: 6px;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.polaroid img { width: 100%; height: 118px; object-fit: cover; border-radius: 3px; display: block; }
.polaroid:nth-child(1) { transform: translate(-78%, -42%) rotate(-10deg); }
.polaroid:nth-child(2) { transform: translate(-22%, -56%) rotate(8deg); }
.polaroid:nth-child(1) { transform: translate(-78%, -42%) rotate(-10deg); transition-delay: 0.1s; }
.polaroid:nth-child(2) { transform: translate(-22%, -56%) rotate(8deg); transition-delay: 0.2s; }
.polaroid:nth-child(3) { transform: translate(-50%, -50%) rotate(-2deg); }
/* beim Einblenden auffächern, damit alle drei Fotos sichtbar sind */
.bento-karte.sichtbar .polaroid:nth-child(1) { transform: translate(-110%, -56%) rotate(-13deg); }
.bento-karte.sichtbar .polaroid:nth-child(2) { transform: translate(10%, -62%) rotate(11deg); }
.bento-karte.sichtbar .polaroid:nth-child(3) { transform: translate(-50%, -38%) rotate(-2deg); }
/* Karte 2: Objektiv */
.bento-equipment img { max-height: 240px; margin: auto auto 0; object-fit: contain; }
@@ -328,9 +339,10 @@ body { transition: opacity 0.3s ease-out, transform 0.3s ease-out, filter 0.3s e
/* Karte 4: Reibungsloser Ablauf (zwei Hände) */
.ablauf-haende { position: relative; flex: 1; min-height: 240px; margin-bottom: 18px; }
.ablauf-haende img { position: absolute; max-width: 70%; }
.ablauf-haende img:first-child { top: 6%; right: -8%; }
.ablauf-haende img:last-child { bottom: 4%; left: -8%; }
.ablauf-haende img { position: absolute; max-width: 76%; }
/* Hand von links (Handrücken) greift in die offene Hand von rechts */
.ablauf-haende img:first-child { top: 38%; left: -10%; z-index: 1; }
.ablauf-haende img:last-child { top: 30%; right: -10%; }
/* Karte 5: Überzeugende Ergebnisse (Bild als Fläche) */
.bento-ergebnisse { min-height: 220px; justify-content: flex-start; }
@@ -352,6 +364,11 @@ body { transition: opacity 0.3s ease-out, transform 0.3s ease-out, filter 0.3s e
/* Karte 7: schnelle Lieferung (Uhr) */
.lieferung-titel { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.lieferung-uhr { margin: auto auto -60px; display: block; }
/* Zeiger drehen um die Zifferblatt-Mitte (Linien starten im Mittelpunkt 110/110) */
.lieferung-uhr line { transform-box: view-box; transform-origin: 50% 50%; }
.lieferung-uhr line:nth-of-type(1) { animation: uhr-zeiger 4s linear infinite; }
.lieferung-uhr line:nth-of-type(2) { animation: uhr-zeiger 48s linear infinite; }
@keyframes uhr-zeiger { to { transform: rotate(360deg); } }
@media (max-width: 809.98px) {
.bento-grid { grid-template-columns: 1fr; }