/* SPDX-License-Identifier: AGPL-3.0-or-later
   Copyright (C) 2026 LUSAGA
   Lizenztext: siehe Datei LICENSE im Hauptverzeichnis des Repositories. */

:root {
  color-scheme: light dark;
  --bg: #f6f4ef;
  --surface: #ffffff;
  --text: #1f2430;
  --muted: #5f6670;
  --border: #ddd6c8;
  --accent: #3050d8;
  --accent-text: #ffffff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161b;
    --surface: #1c2027;
    --text: #e8e6e1;
    --muted: #a0a6b0;
    --border: #2d323b;
    --accent: #7b93ff;
    --accent-text: #0d1117;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--accent); }

.wrap {
  width: 100%;
  max-width: 62rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  font-size: 0.9rem;
}

.topbar .mark { font-weight: 700; letter-spacing: 0.2em; }
.topbar nav a { margin-left: 0.4rem; color: var(--muted); }
.topbar nav a[aria-current="true"] { font-weight: 700; color: var(--text); text-decoration: none; }

.hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

h1 {
  margin: 1.5rem 0 0.4rem;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  letter-spacing: 0.18em;
  line-height: 1.1;
}

.lead {
  max-width: 40rem;
  margin: 0 0 1.2rem;
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
}

.buttons { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 0; }

.btn {
  display: inline-block;
  padding: 0.7rem 1.1rem;
  font-weight: 600;
  color: var(--accent-text);
  text-decoration: none;
  background: var(--accent);
  border: 1px solid transparent;
  border-radius: 8px;
}

.btn:hover { filter: brightness(1.08); }
.btn-secondary { color: var(--text); background: transparent; border-color: var(--border); }

a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

section { margin: 2.6rem 0; }
section h2 { margin: 0 0 0.6rem; font-size: 1.4rem; }
section p { max-width: 44rem; margin: 0 0 0.8rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.steps li::before {
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--accent-text);
  content: counter(step);
  counter-increment: step;
  background: var(--accent);
  border-radius: 50%;
}

.steps h3 { margin: 0 0 0.3rem; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); }

.note { color: var(--muted); }

footer {
  padding: 1.5rem 0 2.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

footer p { margin: 0.2rem 0; }
