:root {
  color-scheme: dark;
  --bg: #0b0f16;
  --bg-2: #121a26;
  --panel: #151b24;
  --line: #263142;
  --text: #e9edf2;
  --muted: #9aa6b5;
  --cyan: #00e5ff;
  --green: #2bff4f;
  --yellow: #ffd12b;
  --magenta: #ff2be0;
  --radius: 14px;
  --max: 1040px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 520px) var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--cyan); text-underline-offset: 2px; }
a:hover { color: #7ff2ff; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-weight: 700; font-size: 19px;
}
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .wrap {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
}
.eyebrow {
  color: var(--cyan); font-weight: 600; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px;
}
h1 { font-size: clamp(34px, 5.5vw, 54px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.02em; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.hero-icon {
  width: 100%; max-width: 360px; justify-self: center;
  border-radius: 22%; box-shadow: 0 30px 80px rgba(0, 229, 255, .12), 0 10px 30px rgba(0,0,0,.5);
}

.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 12px; font-weight: 600; text-decoration: none;
  border: 1px solid var(--line); color: var(--text); background: var(--panel);
}
.btn-primary { background: var(--text); color: #0b0f16; border-color: var(--text); }
.btn-primary:hover { color: #0b0f16; background: #fff; }
.btn[aria-disabled="true"] { cursor: default; }
.note { color: var(--muted); font-size: 14px; }

/* Sections */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.6vw, 34px); line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
.section-lead { color: var(--muted); margin: 0 0 32px; max-width: 40em; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; counter-increment: step;
}
.step::before {
  content: counter(step); display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%; margin-bottom: 12px;
  border: 2px solid var(--cyan); color: var(--cyan); font-weight: 700; font-size: 15px;
}
.step h3, .feature h3 { margin: 0 0 6px; font-size: 18px; }
.step p, .feature p { margin: 0; color: var(--muted); font-size: 16px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; border-top: 3px solid var(--accent, var(--cyan));
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.diagram { width: 100%; max-width: 440px; justify-self: center; }
.diagram text { font: 600 13px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding-inline-start: 30px; position: relative; margin: 0 0 10px; }
.checklist li::before {
  content: ""; position: absolute; inset-inline-start: 4px; top: .45em;
  width: 12px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg);
}

.callout {
  background: var(--panel); border: 1px solid var(--line); border-inline-start: 4px solid var(--yellow);
  border-radius: var(--radius); padding: 18px 22px; color: var(--muted);
}
.callout strong { color: var(--text); }

/* Long-form pages */
.doc { max-width: 760px; padding: 56px 20px 72px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); }
.doc h2 { font-size: 24px; margin-top: 40px; }
.doc h3 { font-size: 18px; margin-top: 28px; }
.doc p, .doc li { color: #cfd6df; }
.doc .updated { color: var(--muted); margin-top: -8px; }
.summary {
  background: var(--panel); border: 1px solid var(--line); border-inline-start: 4px solid var(--green);
  border-radius: var(--radius); padding: 18px 22px; margin: 24px 0 8px;
}
.summary p { margin: 0; color: var(--text); }
.faq details {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 20px; margin: 0 0 12px;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 10px 0 2px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: var(--muted); }
.site-footer p { margin: 0; }

@media (max-width: 820px) {
  .hero { padding: 48px 0 40px; }
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 32px; }
  .hero-icon { max-width: 220px; order: -1; justify-self: start; }
  .steps, .features { grid-template-columns: 1fr; }
}

/* Language menu in the footer */
.langs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px;
  max-width: var(--max); margin: 16px auto 0; padding: 0 20px; font-size: 13px;
}
.langs a { color: var(--muted); text-decoration: none; }
.langs a[aria-current] { color: var(--text); font-weight: 600; }

/* Long words (German compounds) break with the language's own hyphenation. */
body { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
