From 64dfac925a24cab717660968571d1aff1fa74b12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Tonh=C3=A4user?= Date: Thu, 11 Jun 2026 11:14:26 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20Fallbacks=20f=C3=BCr=20Tiefenflug=20(oh?= =?UTF-8?q?ne=20JS,=20reduzierte=20Bewegung,=20mobil)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- public/custom/tiefenflug.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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; } +}