/* ===== Hilfe-Center: Suche, Kategorie-Navigation, Fragen, Ticket ===== */
.help-hero { padding-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.help-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.help-search { position: relative; max-width: 640px; margin-top: 1.8rem; }
.help-search > i { position: absolute; left: 1.15rem; top: 50%; transform: translateY(-50%); color: var(--pb-lime); font-size: 1.15rem; pointer-events: none; }
.help-search input { width: 100%; height: 60px; padding: 0 3.2rem 0 3.1rem; border-radius: 16px; border: 1px solid rgba(90,209,106,.35); background: rgba(255,255,255,.04);
  color: #fff; font-size: 1.05rem; outline: none; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; }
.help-search input::placeholder { color: var(--pb-muted-dark); }
.help-search input:focus { border-color: var(--pb-lime); box-shadow: 0 0 0 4px rgba(90,209,106,.15); }
.help-search input::-webkit-search-cancel-button { display: none; }
.help-search button { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 10px; background: rgba(255,255,255,.06); color: #fff; }
.help-meta { margin: .8rem 0 0; font-family: var(--f-mono); font-size: .76rem; color: var(--pb-muted-dark); }
.help-quick { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.help-quick a { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .9rem; border-radius: 999px; border: 1px solid var(--pb-line-dark); color: #E9EFE9; text-decoration: none; font-size: .88rem; font-weight: 600; }
.help-quick a i { color: var(--pb-lime); }
.help-quick a:hover { border-color: var(--pb-lime); color: #fff; }
.help-created { display: flex; gap: .8rem; align-items: center; padding: 1rem 1.2rem; border-radius: 14px; background: rgba(90,209,106,.1); border: 1px solid rgba(90,209,106,.35); }
.help-created > i { font-size: 1.6rem; color: var(--pb-lime); } .help-created > div { display: flex; flex-direction: column; } .help-created span { color: var(--pb-muted); font-size: .9rem; }

.help-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.help-nav { position: sticky; top: calc(var(--nav-h, 68px) + 1.2rem); display: flex; flex-direction: column; gap: .2rem; }
.help-nav__title { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--pb-muted); margin-bottom: .5rem; }
.help-nav a { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .6rem .8rem; border-radius: 10px; color: var(--pb-ink); text-decoration: none; font-weight: 600; font-size: .93rem; border-left: 3px solid transparent; }
.help-nav a b { font-family: var(--f-mono); font-size: .72rem; font-weight: 600; color: var(--pb-muted); background: var(--pb-paper, #f2f5f2); padding: .1rem .45rem; border-radius: 999px; }
.help-nav a:hover { background: var(--pb-paper, #f2f5f2); }
.help-nav a.is-active { border-left-color: var(--pb-lime); background: color-mix(in srgb, var(--pb-lime) 10%, transparent); }
.help-nav__ticket { margin-top: .8rem; justify-content: flex-start !important; color: var(--pb-lime-ink, #2f8a3c) !important; }
.help-nav a[hidden] { display: none; }

.help-cat { scroll-margin-top: calc(var(--nav-h, 68px) + 1.5rem); margin-bottom: 2.4rem; }
.help-cat[hidden] { display: none; }
.help-cat h2 { font-size: 1.35rem; display: flex; align-items: baseline; gap: .6rem; margin-bottom: 1rem; }
.help-cat h2 small { font-family: var(--f-mono); font-size: .75rem; color: var(--pb-muted); font-weight: 500; }
.help-q { border: 1px solid var(--pb-line); border-radius: 14px; background: var(--pb-white, #fff); margin-bottom: .6rem; transition: border-color .2s, box-shadow .2s; }
.help-q[hidden] { display: none; }
.help-q[open] { border-color: color-mix(in srgb, var(--pb-lime) 55%, transparent); box-shadow: 0 10px 26px -18px rgba(0,0,0,.35); }
.help-q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.15rem; font-weight: 600; font-size: 1rem; }
.help-q summary::-webkit-details-marker { display: none; }
.help-q summary i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--pb-paper, #f2f5f2); color: var(--pb-ink); transition: transform .2s, background .2s; }
.help-q[open] summary i { transform: rotate(180deg); background: var(--pb-lime); color: #08140C; }
.help-q__a { padding: 0 1.15rem 1.1rem; color: var(--pb-muted); line-height: 1.65; }
.help-q mark { background: color-mix(in srgb, var(--pb-lime) 35%, transparent); color: inherit; padding: 0 .1em; border-radius: 3px; }
.help-none { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; padding: 2.5rem 1rem; border: 1px dashed var(--pb-line); border-radius: 16px; }
.help-none[hidden] { display: none; }
.help-none > i { font-size: 1.8rem; color: var(--pb-lime); } .help-none span { color: var(--pb-muted); max-width: 26rem; } .help-none .pb-btn { margin-top: .6rem; }
.help-empty { text-align: center; color: var(--pb-muted); }

.help-ticket { background: var(--pb-paper, #f2f5f2); scroll-margin-top: var(--nav-h, 68px); }
.help-ticket__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.8rem, 4vw, 3.5rem); align-items: start; }
.help-ticket__points { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; }
.help-ticket__points li { display: flex; gap: .7rem; align-items: center; font-weight: 600; }
.help-ticket__points i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--pb-lime) 16%, transparent); color: var(--pb-lime-ink, #2f8a3c); }
.help-form { background: var(--pb-white, #fff); border: 1px solid var(--pb-line); border-radius: 18px; padding: clamp(1.1rem, 3vw, 1.8rem); box-shadow: 0 24px 50px -32px rgba(0,0,0,.35); }

html[data-theme="dark"] .help-q, html[data-theme="dark"] .help-form { background: #131A13; border-color: #263026; }
html[data-theme="dark"] .help-ticket { background: #0e140e; }

@media (max-width: 991.98px) {
  .help-layout { grid-template-columns: 1fr; gap: 1rem; }
  /* Kategorien als wischbare Leiste, die unter der Navigation mitlaeuft */
  .help-nav { top: var(--nav-h, 68px); z-index: 20; flex-direction: row; overflow-x: auto; gap: .4rem; padding: .7rem 0; margin: 0 calc(-1 * var(--bs-gutter-x, .75rem));
    padding-inline: var(--bs-gutter-x, .75rem); background: var(--pb-bg, #fff); scrollbar-width: none; border-bottom: 1px solid var(--pb-line); }
  .help-nav::-webkit-scrollbar { display: none; }
  .help-nav__title { display: none; }
  .help-nav a { flex: none; border-left: 0; border: 1px solid var(--pb-line); border-radius: 999px; padding: .5rem .85rem; font-size: .88rem; white-space: nowrap; }
  .help-nav a.is-active { border-color: var(--pb-lime); }
  .help-nav__ticket { margin-top: 0; }
  .help-ticket__grid { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .help-search input { height: 54px; font-size: 1rem; }
  .help-q summary { padding: .9rem 1rem; font-size: .96rem; }
  .help-q__a { padding: 0 1rem 1rem; }
}

/* ===== Dunkles Website-Design (oeffentliche Seiten sind dunkel) ===== */
.help-body { background: var(--pb-deep, #0f160f); }
.help-nav__title { color: var(--pb-muted-dark); }
.help-nav a { color: #E9EFE9; }
.help-nav a b { background: rgba(255,255,255,.07); color: var(--pb-muted-dark); }
.help-nav a:hover { background: rgba(255,255,255,.05); }
.help-nav a.is-active { background: rgba(90,209,106,.12); }
.help-nav__ticket { color: var(--pb-lime) !important; }
.help-cat h2 { color: #fff; } .help-cat h2 small { color: var(--pb-muted-dark); }
.help-q { background: rgba(255,255,255,.035); border-color: var(--pb-line-dark); }
.help-q[open] { border-color: rgba(90,209,106,.5); box-shadow: 0 14px 30px -20px rgba(0,0,0,.7); }
.help-q summary { color: #F2F6F2; }
.help-q summary i { background: rgba(255,255,255,.07); color: #E9EFE9; }
.help-q__a { color: var(--pb-muted-dark); }
.help-q mark { background: rgba(90,209,106,.3); color: #fff; }
.help-none { border-color: var(--pb-line-dark); } .help-none strong { color: #fff; } .help-none span { color: var(--pb-muted-dark); }
.help-empty { color: var(--pb-muted-dark); }
.help-ticket { background: var(--pb-night, #0a110b); }
.help-ticket h2 { color: #fff; } .help-ticket .pb-lead { color: var(--pb-muted-dark); }
.help-ticket__points li { color: #E9EFE9; }
.help-ticket__points i { background: rgba(90,209,106,.14); color: var(--pb-lime); }
.help-form { background: rgba(255,255,255,.035); border-color: var(--pb-line-dark); box-shadow: 0 30px 60px -36px rgba(0,0,0,.8); }
.help-form label { color: #E9EFE9; }
.help-created span { color: var(--pb-muted-dark); } .help-created strong { color: #fff; }
@media (max-width: 991.98px) {
  .help-nav { background: var(--pb-deep, #0f160f); border-bottom-color: var(--pb-line-dark); }
  .help-nav a { border-color: var(--pb-line-dark); }
}
@media (max-width: 991.98px) { .help-nav { margin: 0; padding-inline: 0; max-width: 100%; } }

/* Persoenlicher Ticket-Link */
.ticket-link { margin-top: 1.4rem; padding: 1rem 1.1rem; border-radius: 16px; background: rgba(90,209,106,.08); border: 1px solid rgba(90,209,106,.35); }
.ticket-link__head { display: flex; gap: .75rem; align-items: flex-start; }
.ticket-link__head > i { font-size: 1.4rem; color: var(--pb-lime); line-height: 1.2; }
.ticket-link__head > div { display: flex; flex-direction: column; gap: .2rem; } .ticket-link__head strong { color: #fff; } .ticket-link__head span { color: var(--pb-muted-dark); font-size: .9rem; }
.ticket-link__row { display: flex; gap: .5rem; margin-top: .9rem; flex-wrap: wrap; }
.ticket-link__row input { flex: 1 1 260px; min-width: 0; font-size: .82rem; }
@media (max-width: 575.98px) { .ticket-link__row .pb-btn { flex: 1; justify-content: center; } }
