-
-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathprivacy.html
More file actions
553 lines (500 loc) · 24.7 KB
/
Copy pathprivacy.html
File metadata and controls
553 lines (500 loc) · 24.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- SEO: canonical + robots -->
<link rel="canonical" href="https://wordfeather.com/privacy.html">
<meta name="robots" content="index, follow">
<!-- Open Graph -->
<meta property="og:title" content="Datenschutz | WordFeather">
<meta property="og:description" content="Datenschutzerklärung für den WordFeather — A1 bis C2 Lernmaterialien.">
<meta property="og:url" content="https://wordfeather.com/privacy.html">
<meta property="og:image" content="https://wordfeather.com/og-image.png">
<meta property="og:type" content="website">
<meta property="og:site_name" content="WordFeather">
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Datenschutz | WordFeather">
<meta name="twitter:description" content="Datenschutzerklärung für den WordFeather — A1 bis C2 Lernmaterialien.">
<meta name="twitter:image" content="https://wordfeather.com/og-image.png">
<meta name="theme-color" content="#1d4ed8">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<meta name="apple-mobile-web-app-title" content="WordFeather">
<link rel="icon" type="image/x-icon" href="/icons/favicon.ico">
<link rel="icon" type="image/png" sizes="16x16" href="/icons/16.png">
<link rel="icon" type="image/png" sizes="32x32" href="/icons/32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/icons/96.png">
<link rel="icon" type="image/png" sizes="192x192" href="/icons/192.png">
<link rel="apple-touch-icon" sizes="180x180" href="/icons/180.png">
<link rel="manifest" href="/manifest.json">
<title>Privacy & Impressum · WordFeather</title>
<meta name="description" content="Privacy policy, data protection notice, and Impressum for the WordFeather (Goethe A1–C2) open-source educational site.">
<script>
(function () {
try {
var t = localStorage.getItem('theme') ||
(window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light');
document.documentElement.setAttribute('data-bs-theme', t);
} catch (e) {}
})();
</script>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<style>
:root {
--page-bg: #f0f4ff;
--page-text: #1e293b;
--muted-text: #475569;
--card-bg: #ffffff;
--card-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.07);
--hero-gradient: linear-gradient(135deg, #1d4ed8 0%, #6366f1 100%);
--panel-bg: #f8faff;
--panel-border: #dbeafe;
--info-border: #1d4ed8;
--info-bg: #eff6ff;
--primary: #1d4ed8;
--border: #e5e7eb;
}
[data-bs-theme="dark"] {
--page-bg: #0b1121;
--page-text: #e2e8f0;
--muted-text: #94a3b8;
--card-bg: #111827;
--card-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.45);
--hero-gradient: linear-gradient(135deg, #1e3a8a 0%, #4338ca 100%);
--panel-bg: #1a2740;
--panel-border: #1e3a6e;
--info-border: #3b82f6;
--info-bg: #172039;
--primary: #3b82f6;
--border: #1f2937;
}
[data-bs-theme="dark"] .site-footer { background: #1e293b !important; color: #e2e8f0; border-color: #374151 !important; }
[data-bs-theme="dark"] .site-footer .text-secondary { color: #94a3b8 !important; }
[data-bs-theme="dark"] .site-footer .btn-outline-secondary { color: #94a3b8; border-color: #475569; }
[data-bs-theme="dark"] .site-footer .btn-outline-secondary:hover { background: #334155; color: #e2e8f0; }
html { scroll-behavior: smooth; }
body {
background: var(--page-bg);
font-family: 'Inter', sans-serif;
color: var(--page-text);
line-height: 1.7;
min-height: 100vh;
}
.hero-banner {
background: var(--hero-gradient);
color: #fff;
padding: 3rem 1rem 2rem;
text-align: center;
position: relative;
overflow: hidden;
}
.hero-banner::before {
content: '';
position: absolute;
inset: 0;
background: radial-gradient(ellipse at 70% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
pointer-events: none;
}
.hero-banner h1 {
font-size: clamp(1.6rem, 4vw, 2.4rem);
font-weight: 800;
letter-spacing: -0.03em;
margin-bottom: 0.4rem;
}
.hero-banner p { font-size: 1rem; opacity: 0.9; margin: 0; }
.lang-tabs {
display: flex;
gap: 0.5rem;
margin-bottom: 1.5rem;
justify-content: center;
flex-wrap: wrap;
}
.lang-tabs button {
padding: 0.5rem 1.25rem;
background: var(--card-bg);
color: var(--page-text);
border: 1px solid var(--border);
border-radius: 999px;
font-size: 0.9rem;
font-weight: 600;
cursor: pointer;
transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.lang-tabs button:hover { background: var(--panel-bg); }
.lang-tabs button.active {
background: var(--primary);
color: #fff;
border-color: var(--primary);
}
.doc {
background: var(--card-bg);
border: 1px solid var(--border);
border-radius: 0.85rem;
box-shadow: var(--card-shadow);
padding: clamp(1.5rem, 3vw, 2.25rem);
}
.doc h1 {
font-size: 1.6rem;
font-weight: 800;
margin-bottom: 1rem;
color: var(--page-text);
}
.doc h2 {
font-size: 1.15rem;
font-weight: 700;
margin-top: 1.75rem;
margin-bottom: 0.6rem;
color: var(--primary);
padding-bottom: 0.3rem;
border-bottom: 1px solid var(--panel-border);
}
.doc a { color: var(--primary); font-weight: 500; }
.doc a:hover { text-decoration: underline; }
.doc code {
background: var(--panel-bg);
padding: 2px 6px;
border-radius: 4px;
font-size: 0.9em;
}
.doc.hidden { display: none; }
.updated {
margin-top: 2rem;
padding-top: 1rem;
border-top: 1px solid var(--border);
color: var(--muted-text);
font-size: 0.85rem;
}
a:focus-visible, button:focus-visible {
outline: 3px solid #93c5fd;
outline-offset: 2px;
}
</style>
</head>
<body id="top">
<div id="header-placeholder"></div>
<script>
(function () {
var path = window.location.pathname.replace(/\\/g, '/');
var levelMatch = path.match(/\/(A1|A2|B1|B2|C1|C2)\//);
var prefix = levelMatch ? '../' : '';
var headerFallback = '<nav class="navbar navbar-expand-lg navbar-dark bg-primary shadow-sm sticky-top"><div class="container"><a class="navbar-brand" href="index.html">🪶 WordFeather</a><button class="navbar-toggler border-0" type="button" data-bs-toggle="collapse" data-bs-target="#siteNavbar" aria-controls="siteNavbar" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button><div class="collapse navbar-collapse" id="siteNavbar"><ul class="navbar-nav me-auto mb-2 mb-lg-0 ms-lg-2" id="nav-main-links"><li class="nav-item"><a class="nav-link" href="index.html" id="nav-home">Home</a></li><li class="nav-item dropdown"><a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false" id="nav-levels">Levels</a><ul class="dropdown-menu"><li><a class="dropdown-item" href="A1/index.html" data-level="A1">A1 – Beginner</a></li><li><a class="dropdown-item" href="A2/index.html" data-level="A2">A2 – Elementary</a></li><li><hr class="dropdown-divider"></li><li><a class="dropdown-item" href="B1/index.html" data-level="B1">B1 – Intermediate</a></li><li><a class="dropdown-item" href="B2/index.html" data-level="B2">B2 – Upper-Intermediate</a></li><li><hr class="dropdown-divider"></li><li><a class="dropdown-item" href="C1/index.html" data-level="C1">C1 – Advanced</a></li><li><a class="dropdown-item" href="C2/index.html" data-level="C2">C2 – Mastery</a></li></ul></li><li class="nav-item"><a class="nav-link" href="dictionary.html" id="nav-dictionary">📖 Dictionary</a></li><li class="nav-item"><a class="nav-link ext-highlight quiz-highlight" href="quiz.html" id="nav-quiz">🎯 Quiz</a></li><li class="nav-item"><a class="nav-link ext-highlight leben-highlight" href="https://leben.wordfeather.com" target="_blank" rel="noopener" id="nav-leben"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="12" viewBox="0 0 5 3" style="vertical-align:middle;margin-right:3px;border-radius:1px" aria-hidden="true"><rect width="5" height="1" y="0" fill="#000"/><rect width="5" height="1" y="1" fill="#D00"/><rect width="5" height="1" y="2" fill="#FFCE00"/></svg>Leben in Deutschland</a></li></ul><div class="d-flex ms-lg-3 mt-2 mt-lg-0"><button id="themeToggle" class="btn btn-outline-light btn-sm theme-toggle" type="button" aria-label="Toggle color theme" title="Toggle color theme">🌙 Dark</button></div></div></div></nav>';
function renderHeader(html) {
html = html.replace(/BASE\//g, prefix);
document.getElementById('header-placeholder').innerHTML = html;
var btn = document.getElementById('themeToggle');
if (btn) {
function sync() {
var dark = document.documentElement.getAttribute('data-bs-theme') === 'dark';
btn.textContent = dark ? '☀️ Light' : '🌙 Dark';
}
sync();
btn.addEventListener('click', function () {
var next = document.documentElement.getAttribute('data-bs-theme') === 'dark' ? 'light' : 'dark';
document.documentElement.setAttribute('data-bs-theme', next);
localStorage.setItem('theme', next);
sync();
});
}
}
fetch(prefix + 'header.html')
.then(function (r) { return r.ok ? r.text() : Promise.reject(); })
.then(renderHeader)
.catch(function () { renderHeader(headerFallback); });
})();
</script>
<div class="hero-banner">
<h1>🔒 Privacy & Impressum</h1>
<p>Datenschutz & rechtliche Hinweise — transparent und kurz.</p>
</div>
<main class="container py-4 py-lg-5" style="max-width: 820px;">
<div class="lang-tabs" role="tablist" aria-label="Language selection">
<button class="active" data-lang="en" role="tab" aria-selected="true">English</button>
<button data-lang="de" role="tab" aria-selected="false">Deutsch</button>
</div>
<section class="doc" id="doc-en" lang="en">
<h1>Privacy & Impressum</h1>
<p>
This page provides transparency about who runs this website, what data is processed,
and how to get in touch.
</p>
<h2>About this site</h2>
<p>
This is a free, non-commercial, open-source educational resource for learners preparing
for the Goethe-Institut German exams (<em>Goethe-Zertifikat A1–C2</em>). It is hosted on
GitHub Pages.
</p>
<p>
The site does not sell anything, does not run advertising, does not require registration,
and does not store any personal user data.
</p>
<h2>Operator / Impressum</h2>
<p>
This site is operated as a personal hobby project by an individual based in Germany.
</p>
<p>
For any questions, corrections, takedown requests, or legal notices, please open an issue
on the project's GitHub repository:<br>
<a href="https://github.com/abdullahbutt/wordfeather/issues"
target="_blank" rel="noopener">github.com/abdullahbutt/wordfeather/issues</a>
</p>
<p>
Issues are publicly visible by default. If you need a private channel, please mention
this in your issue and a private email will be exchanged.
</p>
<h2>Data we process</h2>
<p>
We use <strong>Cloudflare Web Analytics</strong>, which is a privacy-respecting
analytics service:
</p>
<ul>
<li>It does <strong>not</strong> use cookies or any other client-side storage.</li>
<li>It does <strong>not</strong> track users across sites.</li>
<li>It does <strong>not</strong> fingerprint browsers or build user profiles.</li>
<li>It collects only aggregated, anonymous metrics: page URL, country, referrer,
browser, device type, and timing.</li>
<li>IP addresses are processed transiently and not stored.</li>
</ul>
<p>
Because no personal data is collected, no consent banner is required under the EU GDPR
(Art. 6) or the German TTDSG (§ 25). Cloudflare's analytics privacy details:
<a href="https://www.cloudflare.com/web-analytics/" target="_blank" rel="noopener">
cloudflare.com/web-analytics</a>.
</p>
<h2>Local browser storage</h2>
<p>
The site uses your browser's <strong>localStorage</strong> only to remember your preferences:
</p>
<ul>
<li>Your chosen theme (light or dark mode)</li>
<li>Your chosen language for this page (English or Deutsch)</li>
</ul>
<p>
This data stays on your device and is never sent to any server. You can clear it any time
via your browser settings.
</p>
<h2>Service Worker (offline mode)</h2>
<p>
If your browser supports it, the site installs a service worker that caches pages on your
device so you can read them without an internet connection. Cached files stay on your
device only and are never transmitted elsewhere.
</p>
<h2>External links and resources</h2>
<p>The site links to and embeds resources from:</p>
<ul>
<li><a href="https://www.goethe.de/" target="_blank" rel="noopener">goethe.de</a> — official Goethe-Institut</li>
<li><a href="https://cdn.jsdelivr.net/" target="_blank" rel="noopener">jsDelivr CDN</a> — Bootstrap CSS framework</li>
<li><a href="https://fonts.googleapis.com/" target="_blank" rel="noopener">Google Fonts</a> — Inter font</li>
<li><a href="https://github.com/" target="_blank" rel="noopener">GitHub Pages</a> — hosting infrastructure</li>
<li><a href="https://www.cloudflare.com/" target="_blank" rel="noopener">Cloudflare</a> — anonymous analytics</li>
</ul>
<p>
These third parties may receive standard technical information from your browser
(such as your IP address) when their resources are loaded. Each operates under its own
privacy policy.
</p>
<h2>Source content and copyright</h2>
<p>
Content on this site consists of original educational material and exercises created for
Goethe-Zertifikat exam preparation. References to exam formats are based on publicly
available Goethe-Institut information.
</p>
<p>
This site is not affiliated with, endorsed by, or connected to the Goethe-Institut.
"Goethe-Zertifikat" and related names are trademarks of the Goethe-Institut and are used
here only to describe the exam level the materials target.
</p>
<h2>Your rights</h2>
<p>
Because no personally identifiable data is stored, there is no personal record to access,
rectify, or delete. If you believe data about you is being processed in error, please open
a GitHub issue and it will be addressed.
</p>
<h2>Changes to this notice</h2>
<p>
If anything material changes (for example, if a new analytics tool is added), this page
will be updated and the date below will reflect the change.
</p>
<p class="updated">Last updated: 2026-04-27</p>
</section>
<section class="doc hidden" id="doc-de" lang="de">
<h1>Datenschutz & Impressum</h1>
<p>
Diese Seite informiert transparent darüber, wer diese Website betreibt, welche Daten
verarbeitet werden und wie eine Kontaktaufnahme möglich ist.
</p>
<h2>Über diese Website</h2>
<p>
Dies ist ein kostenloses, nicht-kommerzielles Open-Source-Lernangebot für Personen, die
sich auf die Deutschprüfungen des Goethe-Instituts (<em>Goethe-Zertifikat A1–C2</em>)
vorbereiten. Die Seite wird über GitHub Pages bereitgestellt.
</p>
<p>
Auf der Seite werden keine Produkte verkauft, keine Werbung geschaltet, keine Registrierung
verlangt und keine personenbezogenen Nutzerdaten gespeichert.
</p>
<h2>Betreiber / Impressum</h2>
<p>
Diese Seite ist ein privates, nicht-kommerzielles Hobbyprojekt einer in Deutschland
ansässigen Privatperson.
</p>
<p>
Anfragen, Korrekturen, Beschwerden oder rechtliche Hinweise bitte über das
GitHub-Issue-System des Projekts einreichen:<br>
<a href="https://github.com/abdullahbutt/wordfeather/issues"
target="_blank" rel="noopener">github.com/abdullahbutt/wordfeather/issues</a>
</p>
<p>
Issues sind standardmäßig öffentlich sichtbar. Wird ein vertraulicher Kanal benötigt,
bitte dies im Issue erwähnen — eine private E-Mail-Korrespondenz kann dann eingerichtet
werden.
</p>
<h2>Verarbeitete Daten</h2>
<p>
Die Seite nutzt <strong>Cloudflare Web Analytics</strong>, einen datenschutzfreundlichen
Analysedienst:
</p>
<ul>
<li>Es werden <strong>keine</strong> Cookies und keine clientseitigen Speichermechanismen verwendet.</li>
<li>Es findet <strong>kein</strong> seitenübergreifendes Nutzer-Tracking statt.</li>
<li>Es werden <strong>keine</strong> Browser-Fingerabdrücke erstellt und keine Nutzerprofile gebildet.</li>
<li>Erfasst werden nur aggregierte, anonyme Metriken: Seiten-URL, Land, Referrer, Browser, Gerätetyp, Ladezeit.</li>
<li>IP-Adressen werden nur kurz transient verarbeitet und nicht gespeichert.</li>
</ul>
<p>
Da keine personenbezogenen Daten erhoben werden, ist gemäß DSGVO Art. 6 und TTDSG § 25
keine Einwilligung (Cookie-Banner) erforderlich. Details:
<a href="https://www.cloudflare.com/web-analytics/" target="_blank" rel="noopener">
cloudflare.com/web-analytics</a>.
</p>
<h2>Lokaler Browser-Speicher</h2>
<p>
Die Seite nutzt <strong>localStorage</strong> ausschließlich, um Ihre Einstellungen zu merken:
</p>
<ul>
<li>Gewähltes Farbschema (hell oder dunkel)</li>
<li>Gewählte Sprache für diese Seite (Englisch oder Deutsch)</li>
</ul>
<p>
Diese Daten verbleiben ausschließlich auf Ihrem Gerät und werden zu keinem Zeitpunkt an
einen Server übertragen. Sie können sie jederzeit über die Einstellungen Ihres Browsers
löschen.
</p>
<h2>Service Worker (Offline-Modus)</h2>
<p>
Sofern der Browser dies unterstützt, registriert die Seite einen Service Worker, der
Inhalte lokal zwischenspeichert. So sind die Inhalte auch ohne Internetverbindung lesbar.
Die zwischengespeicherten Dateien verbleiben auf Ihrem Gerät und werden nicht weitergegeben.
</p>
<h2>Externe Verlinkungen und Ressourcen</h2>
<p>Die Seite verlinkt auf bzw. lädt Ressourcen von:</p>
<ul>
<li><a href="https://www.goethe.de/" target="_blank" rel="noopener">goethe.de</a> — offizielles Goethe-Institut</li>
<li><a href="https://cdn.jsdelivr.net/" target="_blank" rel="noopener">jsDelivr CDN</a> — Bootstrap CSS</li>
<li><a href="https://fonts.googleapis.com/" target="_blank" rel="noopener">Google Fonts</a> — Inter-Schriftart</li>
<li><a href="https://github.com/" target="_blank" rel="noopener">GitHub Pages</a> — Hosting</li>
<li><a href="https://www.cloudflare.com/" target="_blank" rel="noopener">Cloudflare</a> — anonymes Analytics</li>
</ul>
<p>
Beim Laden dieser Ressourcen erhalten die jeweiligen Drittanbieter technische Informationen
vom Browser (z. B. die IP-Adresse). Es gelten jeweils deren eigene Datenschutzbestimmungen.
</p>
<h2>Quelle der Inhalte und Urheberrecht</h2>
<p>
Die Inhalte dieser Seite sind eigenständige, für Bildungszwecke erstellte Materialien und
Übungen zur Vorbereitung auf das Goethe-Zertifikat. Verweise auf Prüfungsformate basieren
auf öffentlich verfügbaren Informationen des Goethe-Instituts.
</p>
<p>
Diese Seite steht in keiner Verbindung zum Goethe-Institut und wird von diesem weder
unterstützt noch unterhalten. „Goethe-Zertifikat" und verwandte Namen sind Marken des
Goethe-Instituts und werden hier ausschließlich zur Beschreibung des Prüfungsniveaus
verwendet, auf das die Materialien abzielen.
</p>
<h2>Ihre Rechte</h2>
<p>
Da keine personenbezogenen Daten gespeichert werden, gibt es keine personenbezogenen
Datensätze, auf die Sie Auskunft, Berichtigung oder Löschung beanspruchen könnten. Falls
Sie Anlass zu der Annahme haben, dass dennoch Daten von Ihnen verarbeitet wurden, eröffnen
Sie bitte ein GitHub-Issue.
</p>
<h2>Änderungen dieser Erklärung</h2>
<p>
Bei wesentlichen Änderungen (z. B. Einbindung eines neuen Analyse-Tools) wird diese Seite
aktualisiert; das Datum unten ändert sich entsprechend.
</p>
<p class="updated">Stand: 2026-04-26</p>
</section>
</main>
<div id="footer-placeholder"></div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
<script>
(function () {
var tabs = document.querySelectorAll('.lang-tabs button');
var docs = {
en: document.getElementById('doc-en'),
de: document.getElementById('doc-de')
};
function showLang(code) {
if (!docs[code]) code = 'en';
Object.keys(docs).forEach(function (k) {
docs[k].classList.toggle('hidden', k !== code);
});
tabs.forEach(function (b) {
var active = b.dataset.lang === code;
b.classList.toggle('active', active);
b.setAttribute('aria-selected', String(active));
});
document.documentElement.lang = code;
try { localStorage.setItem('privacyLang', code); } catch (e) {}
}
tabs.forEach(function (b) {
b.addEventListener('click', function () { showLang(b.dataset.lang); });
});
var pref = 'en';
try {
var stored = localStorage.getItem('privacyLang');
if (stored === 'en' || stored === 'de') pref = stored;
} catch (e) {}
showLang(pref);
})();
</script>
<script>
(function () {
var path = window.location.pathname.replace(/\\/g, '/');
var levelMatch = path.match(/\/(A1|A2|B1|B2|C1|C2)\//);
var prefix = levelMatch ? '../' : '';
var footerFallback = '<footer class="site-footer mt-5 py-4 border-top"><div class="container"><div class="row g-3 align-items-center"><div class="col-lg text-center text-lg-start"><p class="mb-1 fw-semibold">🪶 WordFeather — Goethe-Zertifikat A1 to C2</p><p class="mb-0 text-secondary small">Official certification materials for German language proficiency</p></div><div class="col-lg-auto"><div class="d-flex justify-content-center gap-2 flex-wrap"><a href="https://www.goethe.de" class="btn btn-sm btn-outline-secondary" target="_blank" rel="noopener">Goethe-Institut ↗</a><a href="https://github.com/abdullahbutt/wordfeather" class="btn btn-sm btn-outline-secondary" target="_blank" rel="noopener">⭐ Star on GitHub</a><a href="https://www.paypal.com/paypalme/abdullahbuttde" class="btn btn-sm fw-semibold" style="background:#ffdd00;border-color:#ffdd00;color:#1a1a1a;" target="_blank" rel="noopener">☕ Buy me a Coffee</a></div></div></div><hr class="my-3" style="opacity:0.15;"><div class="d-flex justify-content-center gap-3 flex-wrap small"><a href="privacy.html" class="text-secondary text-decoration-none">Privacy & Impressum</a><span class="text-secondary">·</span><a href="https://github.com/abdullahbutt/wordfeather/issues" target="_blank" rel="noopener" class="text-secondary text-decoration-none">Contact (GitHub Issues)</a></div></div></footer>';
function renderFooter(html) {
html = html.replace(/BASE\//g, prefix);
document.getElementById('footer-placeholder').innerHTML = html;
}
fetch(prefix + 'footer.html?v=' + Date.now())
.then(function (r) { return r.ok ? r.text() : Promise.reject(); })
.then(renderFooter)
.catch(function () { renderFooter(footerFallback); });
})();
</script>
<script defer src="https://static.cloudflareinsights.com/beacon.min.js"
data-cf-beacon='{"token": "d435b2572b82459cb083e37f7c734b75"}'></script>
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/sw.js')
.then(function(reg) {
reg.update();
reg.addEventListener('updatefound', function() {
var newWorker = reg.installing;
newWorker.addEventListener('statechange', function() {
if (newWorker.state === 'activated') {
console.log('App updated to latest version');
}
});
});
})
.catch(function(err) { console.log('SW failed:', err); });
}
</script>
</body>
</html>