feat: Medaille entfernt, Flug-Fotos erkennen Hoch- und Querformat

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Leon TonhäuserandClaude Fable 5 committed 2026-06-11 16:13:28 +02:00
1 parent 8f02002223
commit 96d4ebc679
3 files changed
+19 -42

No files matched your search

+4 -32
View File
@@ -276,11 +276,13 @@
.flug-foto {
position: absolute; left: 50%; top: 50%;
width: clamp(180px, 22vw, 300px);
aspect-ratio: 3 / 2;
aspect-ratio: 3 / 2; /* Fallback bis das Bild geladen ist – JS setzt das echte Format */
transform-style: preserve-3d;
will-change: transform, opacity;
pointer-events: none;
}
/* Hochformat (vom JS erkannt): schmaler, damit das Foto nicht zu hoch wird */
.flug-foto.hochformat { width: clamp(150px, 16vw, 220px); }
.flug-foto img {
width: 100%; height: 100%;
object-fit: cover;
@@ -322,36 +324,6 @@
border-radius: var(--radius-karte);
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}
/* 3D-Medaille: flache CSS-Münze, dreht sich dauerhaft um die Y-Achse */
.medaille-3d {
position: absolute; right: -48px; top: 50%;
width: 96px; height: 96px;
margin-top: -48px;
perspective: 420px;
z-index: 3;
}
.medaille-kern {
position: relative;
width: 100%; height: 100%;
transform-style: preserve-3d;
animation: muenzdrehung 6s linear infinite;
}
@keyframes muenzdrehung {
from { transform: rotateY(0deg); }
to { transform: rotateY(360deg); }
}
.medaille-seite {
position: absolute; inset: 0;
border-radius: 50%;
backface-visibility: hidden;
background: radial-gradient(circle at 35% 30%, #f3d27a, #c9a227 60%, #9a7a1c);
display: flex; align-items: center; justify-content: center;
font-weight: 600; font-size: 34px; color: #fff;
border: 3px solid #fff;
box-shadow: 0 10px 28px rgba(154, 122, 28, 0.45), inset 0 2px 6px rgba(255, 255, 255, 0.5);
}
.medaille-seite.hinten { transform: rotateY(180deg); }
/* Gold-Schriftzug: Verlauf wandert durch den Text */
.preis-text {
position: relative;
@@ -472,7 +444,7 @@
@media (prefers-reduced-motion: reduce) {
.flug-foto img, .flug-hinweis,
.medaille-kern, .preis-text, .preis-text .rieseln { animation: none; }
.preis-text, .preis-text .rieseln { animation: none; }
}
@media (max-width: 760px) {