<script>
// Den Parameter 'to' aus der URL abrufen
const urlParams = new URLSearchParams(window.location.search);
const targetUrl = urlParams.get('to');
if (targetUrl) {
// Die URL dekodieren und weiterleiten
window.location.href = decodeURIComponent(targetUrl);
} else {
// Optional: Weiterleitung zur Startseite, wenn keine URL angegeben ist
window.location.href="/de";
}
</script>