/* Hilfe: Suchkopf, Inhaltsverzeichnis links (auf dem Handy oben), Themen als Karten. */
.help-hero {
  padding: 64px 0 36px;
  background:
    radial-gradient(50% 120% at 15% 0%, rgba(139, 92, 255, 0.16), transparent 70%),
    radial-gradient(50% 120% at 90% 0%, rgba(63, 123, 255, 0.14), transparent 70%);
  text-align: center;
}
.help-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}
.help-hero .lead {
  max-width: 46ch;
  margin: 0 auto 26px;
}
.search {
  position: relative;
  width: min(560px, 100%);
  margin: 0 auto;
}
.search input {
  width: 100%;
  min-height: 54px;
  padding: 12px 20px 12px 50px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow);
  color: var(--text);
  font: inherit;
}
.search input:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.search svg {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 20px;
  height: 20px;
  color: var(--text-3);
  transform: translateY(-50%);
  pointer-events: none;
}
.quick {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.quick a {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--text-2);
  font-size: 0.92rem;
  text-decoration: none;
}
.quick a:hover {
  border-color: var(--accent);
  color: var(--text);
}

.help {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}
.toc {
  min-width: 0;
  position: sticky;
  top: 84px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  font-size: 0.95rem;
}
.toc h2 {
  margin: 18px 0 6px;
  color: var(--text-3);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.toc h2:first-child {
  margin-top: 0;
}
.toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.toc a {
  display: block;
  padding: 5px 10px;
  border-radius: 8px;
  color: var(--text-2);
  text-decoration: none;
}
.toc a:hover {
  background: var(--accent-soft);
  color: var(--text);
}

.topic-group > h2 {
  margin: 48px 0 16px;
  font-size: 1.6rem;
}
.topic-group:first-child > h2 {
  margin-top: 0;
}
.topic {
  margin-bottom: 16px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
}
.topic h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
}
.topic h3 .ico {
  font-size: 1.3rem;
}
.topic p,
.topic li {
  color: var(--text-2);
}
.topic p:last-child,
.topic ol:last-child,
.topic ul:last-child {
  margin-bottom: 0;
}
.topic ol,
.topic ul {
  padding-left: 1.3em;
}
.topic li {
  margin-bottom: 0.35em;
}
.topic li::marker {
  color: var(--accent-text);
  font-weight: 700;
}
.ui {
  padding: 0.05em 0.45em;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 600;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.tip {
  margin-top: 14px;
  padding: 12px 16px;
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: var(--bg-2);
  color: var(--text-2);
  font-size: 0.97rem;
}
.dots {
  display: grid;
  gap: 8px;
  margin: 0 0 1em;
  padding: 0;
  list-style: none;
}
.dots li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dot {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.on {
  background: var(--online);
}
.dot.call {
  background: var(--danger);
}
.dot.off {
  background: var(--text-3);
}
.limits {
  width: 100%;
  border-collapse: collapse;
}
.limits th,
.limits td {
  padding: 10px 4px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.limits td {
  color: var(--text-2);
  text-align: right;
  white-space: nowrap;
}
.limits th {
  font-weight: 500;
}
#keine-treffer {
  padding: 40px 0;
  color: var(--text-3);
  text-align: center;
}
.contact {
  margin-top: 48px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--gradient);
  color: #fff;
}
.contact h2 {
  font-size: 1.5rem;
}
.contact p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}
.contact a {
  color: #fff;
  font-weight: 650;
}

@media (max-width: 900px) {
  .help {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .toc {
    position: static;
    max-height: none;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--bg-2);
  }
  .toc ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
  }
  .topic {
    padding: 22px 20px;
  }
}
