:root {
  --paper: #f7f8f4;
  --surface: #ffffff;
  --ink: #19232a;
  --muted: #64727c;
  --blue: #1778bd;
  --green: #18a268;
  --line: #dce4dd;
  --grid-line: rgba(23, 120, 189, 0.08);
  --shadow: 0 24px 70px rgba(25, 35, 42, 0.12);
}

* {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(247, 248, 244, 0.96)),
    var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main {
  display: grid;
  padding: 26px 22px 54px;
}

.page {
  width: min(880px, 100%);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 66px;
  margin-bottom: 44px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(220, 228, 221, 0.8);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 760;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.main-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.menu-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 640;
}

.menu-link[aria-current="page"] {
  color: var(--ink);
  background: rgba(24, 162, 104, 0.1);
}

.menu-link:hover {
  color: var(--ink);
  background: rgba(23, 120, 189, 0.1);
}

.menu-spacer {
  width: 46px;
}

.breadcrumb {
  margin-bottom: 22px;
}

.breadcrumb a {
  color: var(--blue);
  font-weight: 640;
  font-size: 15px;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  margin: 0 0 40px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
}

.help-article h2 {
  margin: 44px 0 16px;
  font-size: clamp(22px, 2.6vw, 27px);
  line-height: 1.25;
}

.help-article h3 {
  margin: 30px 0 12px;
  font-size: 19px;
}

.help-article p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.65;
}

.help-article ul,
.help-article ol {
  margin: 0 0 20px;
  padding-left: 26px;
  font-size: 17px;
  line-height: 1.65;
}

.help-article li {
  margin-bottom: 8px;
}

.help-article ol {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

.help-article ol li {
  position: relative;
  padding-left: 46px;
  margin-bottom: 18px;
}

.help-article ol li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 760;
  font-size: 14px;
}

.help-article code {
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(23, 120, 189, 0.1);
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  word-break: break-word;
}

.help-article pre {
  margin: 0 0 20px;
  padding: 18px 20px;
  border-radius: 8px;
  background: #19232a;
  overflow-x: auto;
}

.help-article pre code {
  padding: 0;
  background: none;
  color: #e9f3fb;
  font-size: 15px;
  line-height: 1.6;
}

.help-article a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: rgba(23, 120, 189, 0.35);
  text-underline-offset: 3px;
}

.help-article a:hover {
  text-decoration-color: var(--blue);
}

.callout {
  margin: 0 0 24px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: rgba(24, 162, 104, 0.06);
}

.callout p {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--ink);
}

.callout p:last-child {
  margin-bottom: 0;
}

figure.screenshot {
  margin: 8px 0 28px;
}

figure.screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hilfe-intro {
  margin-bottom: 40px;
}

.hilfe-intro h1 {
  font-size: clamp(36px, 6vw, 56px);
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.theme-card {
  display: block;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    rgba(255, 255, 255, 0.86);
  background-size: 22px 22px;
  box-shadow: 0 14px 34px rgba(25, 35, 42, 0.06);
  transition:
    border-color 160ms ease,
    transform 160ms ease;
}

.theme-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.theme-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.theme-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.site-footer {
  margin-top: 76px;
  padding-top: 26px;
  border-top: 1px solid rgba(220, 228, 221, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(120px, 1fr));
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.footer-column {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-column strong {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--ink);
}

.footer-column a {
  color: var(--muted);
  font-size: 14px;
}

.footer-column a:hover {
  color: var(--blue);
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 34px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  main {
    padding: 22px 16px 44px;
  }

  .main-menu {
    min-width: 0;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  h1 {
    font-size: 30px;
  }

  .lead {
    font-size: 17px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
