/* Gemeinsames Aussehen der Website (Farben wie im App-Icon: Phosphor-Grün auf Schwarz, hell und dunkel) */
:root { --bg: #f1f5f1; --ink: #0d0d0d; --muted: #4f5a52; --accent: #00863a; --green: #00a832; --teal: #007a2a; --card: #ffffff; --line: rgba(0, 60, 20, 0.16); }
@media (prefers-color-scheme: dark) {
  :root { --bg: #0d0d0d; --ink: #d9ffe3; --muted: #8aa892; --accent: #00ff41; --green: #39ff14; --teal: #00ff41; --card: #161a17; --line: rgba(0, 255, 65, 0.16); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; padding: 24px 16px 40px; background: var(--bg); color: var(--ink); line-height: 1.55;
  font-family: system-ui, -apple-system, "SF Pro Text", "Segoe UI", sans-serif;
}
main { width: 100%; max-width: 680px; margin: 0 auto; }
a { color: var(--accent); overflow-wrap: anywhere; }
h1, h2 { font-family: "JetBrains Mono", "Fira Code", ui-monospace, Menlo, Consolas, monospace; letter-spacing: -0.01em; }
h1 { margin: 0 0 4px; font-size: 1.9rem; line-height: 1.2; }
h2 { margin: 28px 0 6px; font-size: 1.15rem; }
p, ul { margin: 0 0 12px; }
ul { padding-left: 1.2em; }
.meta { color: var(--muted); margin-bottom: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin: 18px 0; }
.lang { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 12px; }
.back { display: inline-block; margin-bottom: 18px; text-decoration: none; font-weight: 600; }
footer { margin-top: 40px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
footer a { color: var(--muted); margin-right: 14px; }

/* Startseite – das Icon hat eigene runde Ecken und dunklen Rahmen, daher keine Kachel dahinter */
.home { min-height: calc(100vh - 64px); display: flex; flex-direction: column; justify-content: center; text-align: center; max-width: 440px; }
.home img { width: 112px; height: 112px; border-radius: 25px; margin: 0 auto; object-fit: contain; box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25), 0 0 28px rgba(0, 255, 65, 0.18); }
.home h1 { margin-top: 18px; font-size: 2.2rem; }
.home h1 span { background: linear-gradient(100deg, var(--green), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home h1::after { content: "_"; color: var(--accent); animation: blink 1.1s steps(1) infinite; }
.home .tagline { color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.home p { color: var(--muted); margin-bottom: 22px; }
.points { list-style: none; padding: 0; margin: 0 0 26px; color: var(--muted); text-align: left; display: grid; gap: 8px; }
.points li::before { content: "> "; color: var(--accent); font-family: ui-monospace, Menlo, monospace; font-weight: 700; }
.points li span { display: block; font-size: 0.9rem; padding-left: 1.4em; }
.stores { display: grid; gap: 10px; margin-bottom: 26px; }
.stores a {
  display: block; padding: 14px; border-radius: 16px; background: #0d0d0d; color: #00ff41; border: 2px solid #00ff41;
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, Menlo, monospace; font-weight: 700; text-decoration: none;
  box-shadow: 0 0 18px rgba(0, 255, 65, 0.25);
}
.stores a:hover, .stores a:focus-visible { background: #00ff41; color: #0d0d0d; }
.stores a small { display: block; font-weight: 400; opacity: 0.8; font-size: 0.82rem; }
.home footer { border: 0; margin-top: 8px; }
.home footer a { color: var(--ink); margin: 0 8px; }

@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .home h1::after { animation: none; } }


/* Sprache: lang.js setzt html[data-lang]; dann nur die aktive Sprache zeigen. Ohne JavaScript bleiben beide sichtbar. */
html[data-lang="de"] body [lang="en"], html[data-lang="en"] body [lang="de"], html[data-lang] .both-langs { display: none !important; }
html[data-lang] .lang { border-top: 0; margin-top: 0; padding-top: 0; }
.lang-switch { float: right; display: flex; gap: 0; justify-content: flex-end; margin: 0 0 6px; font-size: 0.85rem; }
.lang-switch a { color: var(--muted); text-decoration: none; padding: 4px 2px; }
.lang-switch a:hover, .lang-switch a:focus-visible { color: var(--accent); text-decoration: underline; }
html:not([data-lang]) .lang-switch { display: none; }
.home > .lang-switch { position: absolute; top: 14px; right: 16px; float: none; margin: 0; }
.home h1 > span[lang] { background: none; color: inherit; } /* zweisprachige Überschriften ohne Farbverlauf */
