:root {
  --bg: #0e0e0d;
  --surface: #161614;
  --line: #2a2a27;
  --text: #ecebe6;
  --muted: #8d8c85;
  --accent: #d9f26b;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color-scheme: dark; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: #111; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* language switch: elements carry lang="de" / lang="en" */
html[lang="de"] [lang="en"], html[lang="en"] [lang="de"] { display: none !important; }

main { max-width: 680px; margin: 0 auto; padding: 12vh 24px 64px; }
main.wide { max-width: 920px; }
main.legal { padding-top: 10vh; }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8vh; font-size: 14px; }
.topbar a, .langbtn { color: var(--muted); transition: color .2s ease; }
.topbar a:hover, .langbtn:hover { color: var(--accent); }
.langbtn { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font: inherit; cursor: pointer; }
.langbtn b { color: var(--text); font-weight: 500; }

h1 { font-size: clamp(44px, 9vw, 72px); line-height: 1; font-weight: 600; letter-spacing: -0.04em; }
h1 .hl { color: var(--accent); }
.lead { margin-top: 20px; max-width: 46ch; color: var(--muted); font-size: 18px; }

h2.label { margin: 72px 0 12px; font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* link list */
.links { border-top: 1px solid var(--line); }
.links a { display: flex; align-items: center; gap: 16px; padding: 20px 4px; border-bottom: 1px solid var(--line); transition: padding .2s ease, color .2s ease; }
.links .ico { flex: none; width: 24px; height: 24px; fill: currentColor; color: var(--muted); transition: color .2s ease; }
.links a:hover .ico, .links a:focus-visible .ico { color: var(--accent); }
.links .name { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.links .hint { color: var(--muted); font-size: 14px; margin-left: auto; text-align: right; }
.links .arrow { color: var(--muted); transition: transform .2s ease, color .2s ease; }
.links a:hover, .links a:focus-visible { padding-left: 12px; color: var(--accent); }
.links a:hover .arrow, .links a:focus-visible .arrow { transform: translate(3px, -3px); color: var(--accent); }

/* app card */
.app { display: flex; align-items: center; gap: 20px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s ease; }
.app:hover { border-color: #3b3b37; }
a.app:hover h3 { color: var(--accent); }
.icon { flex: none; width: 64px; height: 64px; border-radius: 15px; background: var(--accent); color: #111; display: grid; place-items: center; font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.app h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; transition: color .2s ease; }
.app p { color: var(--muted); font-size: 15px; margin-top: 2px; }

/* buttons */
.badge { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; flex: none; font-size: 14px; font-weight: 500; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.pico { width: 16px; height: 16px; fill: currentColor; }
.badge:hover, .badge:focus-visible { background: var(--accent); color: #111; border-color: var(--accent); }
.badge.big { margin: 32px 0 0; padding: 14px 22px; font-size: 16px; background: var(--accent); color: #111; border-color: var(--accent); }
.badge.big .pico { width: 20px; height: 20px; }
.badge.big:hover, .badge.big:focus-visible { background: var(--text); border-color: var(--text); }

/* feature + step lists */
.features { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; }
.feature { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.feature:nth-child(even) { padding: 28px 0 28px 28px; border-left: 1px solid var(--line); }
.feature svg { width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.feature h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.feature p { margin-top: 6px; color: var(--muted); font-size: 15px; }

.steps { list-style: none; counter-reset: s; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.steps li::before { content: counter(s, decimal-leading-zero); color: var(--accent); font-size: 14px; font-variant-numeric: tabular-nums; padding-top: 4px; }
.steps span { color: var(--muted); }
.steps b { color: var(--text); font-weight: 500; }

/* legal text */
.legal h1 { font-size: clamp(36px, 7vw, 52px); }
.legal .meta { margin-top: 12px; color: var(--muted); font-size: 15px; }
.legal section { margin-top: 40px; }
.legal h2 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 10px; }
.legal p, .legal li { color: #bdbcb5; font-size: 15.5px; line-height: 1.7; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 20px; margin-top: 10px; display: grid; gap: 8px; }
.legal strong { color: var(--text); font-weight: 500; }
.legal a:not(.back) { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.legal a:not(.back):hover { color: var(--accent); text-decoration-color: var(--accent); }

footer { margin-top: 96px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
footer nav { display: flex; gap: 20px; }
footer a { transition: color .2s ease; }
footer a:hover { color: var(--accent); }

@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(even) { padding: 24px 0; border-left: 0; }
}
@media (max-width: 520px) {
  .app { flex-wrap: wrap; }
  .app .badge { margin-left: 0; width: 100%; justify-content: center; }
  .links .hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.site { display: inline-block; margin-top: 8px; color: var(--text); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); transition: color .2s ease, text-decoration-color .2s ease; }
.site:hover { color: var(--accent); text-decoration-color: var(--accent); }
