/* Öffentliche Startseite (index.html). */
html { scroll-behavior: smooth; }
body {
  font-size: 16px; line-height: 1.6;
  background-image: radial-gradient(60rem 40rem at 50% -10rem, rgba(34, 197, 94, .10), transparent 70%);
}
.wrap { max-width: 720px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) 1.25rem 3.5rem; }

/* Hero (zentriert) */
header { text-align: center; }
h1 {
  font-size: clamp(2rem, 6vw, 2.9rem); font-weight: 700; letter-spacing: -.02em;
  line-height: 1.1; margin: 0 0 .5rem;
}
h1 .accent { color: var(--accent); }
.lead { font-size: 1.1rem; color: var(--muted); margin: 0 auto; max-width: 34rem; }
.keylink {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem;
  color: var(--muted); font-size: .9rem; text-decoration: none;
}
.keylink:hover { color: var(--accent); }
.keylink svg { width: 15px; height: 15px; }

/* Install-Schritte */
h2 {
  font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); margin: 3rem 0 1rem;
}
.card-head { display: flex; align-items: center; gap: .7rem; margin-bottom: .8rem; }
.num {
  flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  font-size: .82rem; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); border: 1px solid rgba(34, 197, 94, .25);
}
.card-head span { font-weight: 500; font-size: .95rem; }

.codeblock { position: relative; }
pre {
  margin: 0; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 10px; padding: .9rem 3rem .9rem 1rem; overflow-x: auto;
  font-size: .875rem; line-height: 1.55;
}
.copy {
  position: absolute; top: .5rem; right: .5rem; cursor: pointer; padding: 0;
  display: grid; place-items: center; width: 30px; height: 30px;
  border: 1px solid var(--border-strong); border-radius: 8px;
  background: var(--surface); color: var(--muted);
  transition: color .15s ease, border-color .15s ease;
}
.copy:hover { color: var(--fg); border-color: #46587a; }
.copy svg { width: 15px; height: 15px; }
.copy.done { color: var(--accent); border-color: var(--accent); }

.hint { color: var(--muted); font-size: .85rem; margin: .8rem 0 0; }
.hint code { color: var(--fg); background: var(--surface-2); padding: .1rem .4rem; border-radius: 5px; }
