diff --git a/public/custom/tiefenflug.css b/public/custom/tiefenflug.css index 9745c28..7c0266b 100644 --- a/public/custom/tiefenflug.css +++ b/public/custom/tiefenflug.css @@ -342,3 +342,22 @@ color: #9a7a1c; } .konfetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; } + +/* ==================== FALLBACKS ==================== + - .kein-js: steht im HTML und wird von tiefenflug.js entfernt; + ohne JS bleibt sie stehen und das Intro verschwindet. + - .ohne-intro: setzt tiefenflug.js bei prefers-reduced-motion. + - mobil: weniger schwebende Fotos (data-mobil="aus"). */ + +.kein-js .flug-strecke, +.ohne-intro .flug-strecke { display: none; } + +@media (prefers-reduced-motion: reduce) { + .flug-foto img, .flug-hinweis { animation: none; } +} + +@media (max-width: 760px) { + .flug-foto[data-mobil="aus"] { display: none; } + .flug-strecke { height: 380vh; } + .flug-name { -webkit-text-stroke-width: 1px; } +}