/* Unterseiten des Training-Hub-Bereichs (/training-hub/<sub>/): Funktionen, Geraete, Preise, So startest du, Hilfe.
   Laedt nach training-hub.css (Farben, Schrift, Knoepfe, Rahmen). Ruhige Dokumentations-Optik: Haarlinien statt
   Kaesten, keine Symbole in Kreisen, keine Verlaeufe. Klassen-Prefix .hd- */

.page-hub-doc { --hd-measure: 44rem; }

/* ------------------------------------------------------------------ Kopf jeder Unterseite */
.page-hub-doc .hd-hero { background: var(--th-navy); color: #fff; padding: clamp(40px, 6vw, 88px) 0 clamp(44px, 6vw, 80px); }
.page-hub-doc .hd-hero .breadcrumbs { margin-bottom: 1.6rem; }
.page-hub-doc .hd-hero .th-eyebrow { color: #7fe9e1; }
.page-hub-doc .hd-hero .th-h1 { color: #fff; font-size: clamp(36px, 4.6vw, 64px); max-width: 15em; }
.page-hub-doc .hd-hero .th-lead { color: rgba(255, 255, 255, .78); max-width: 36em; }
.page-hub-doc .hd-hero .th-fine { color: rgba(255, 255, 255, .6); }
.page-hub-doc .hd-hero__facts { display: flex; flex-wrap: wrap; gap: .4rem 2rem; margin: 2rem 0 0; padding: 1.2rem 0 0; list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; color: rgba(255, 255, 255, .72); }
.page-hub-doc .hd-hero__facts strong { color: #fff; font-weight: 700; }

/* ------------------------------------------------------------------ Zweispaltig: Inhaltsverzeichnis + Text */
.page-hub-doc .hd-body { padding: clamp(48px, 6vw, 96px) 0 clamp(64px, 8vw, 120px); }
.page-hub-doc .hd-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .page-hub-doc .hd-layout { grid-template-columns: 220px minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
  .page-hub-doc .hd-toc { position: sticky; top: calc(var(--th-header-h) + 32px); }
}
.page-hub-doc .hd-toc__t { margin: 0 0 .9rem; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--th-muted); }
.page-hub-doc .hd-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--th-line); }
.page-hub-doc .hd-toc a { display: block; margin-left: -1px; padding: .42rem 0 .42rem 1rem; border-left: 2px solid transparent;
  font-size: 14px; line-height: 1.4; color: var(--th-text); text-decoration: none; }
.page-hub-doc .hd-toc a:hover { color: var(--th-ink); }
.page-hub-doc .hd-toc a.is-current { border-left-color: var(--th-accent); color: var(--th-ink); font-weight: 700; }
@media (max-width: 1023px) {
  .page-hub-doc .hd-toc { padding: 1.2rem 1.2rem .6rem; border: 1px solid var(--th-line); border-radius: 14px; }
  .page-hub-doc .hd-toc ol { border-left: 0; columns: 2 12rem; column-gap: 1.5rem; }
  .page-hub-doc .hd-toc a { padding-left: 0; border-left: 0; }
}

/* ------------------------------------------------------------------ Abschnitte und Text */
.page-hub-doc .hd-content { min-width: 0; }
.page-hub-doc .hd-sec { padding: 0 0 clamp(48px, 5vw, 72px); }
.page-hub-doc .hd-sec + .hd-sec { padding-top: clamp(40px, 4vw, 56px); border-top: 1px solid var(--th-line); }
.page-hub-doc .hd-h2 { margin: 0; font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; color: var(--th-ink); text-wrap: balance; }
.page-hub-doc .hd-h3 { margin: 2.2rem 0 0; font-size: 19px; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; color: var(--th-ink); }
.page-hub-doc .hd-kicker { margin: 0 0 .7rem; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--th-accent-text); }
.page-hub-doc .hd-text { max-width: var(--hd-measure); }
.page-hub-doc .hd-text p, .page-hub-doc .hd-p { margin: 1rem 0 0; font-size: 17px; line-height: 1.65; color: var(--th-text); }
.page-hub-doc .hd-text a, .page-hub-doc .hd-p a, .page-hub-doc .hd-steps a, .page-hub-doc .hd-table a, .page-hub-doc .hd-list a,
.page-hub-doc .hd-note a, .page-hub-doc .th-faq__a a { color: var(--th-accent-text); font-weight: 600; text-underline-offset: 3px; }
.page-hub-doc .hd-text strong { color: var(--th-ink); }
.page-hub-doc .hd-list { margin: 1rem 0 0; padding-left: 1.2rem; max-width: var(--hd-measure); }
.page-hub-doc .hd-list li { margin: .45rem 0; font-size: 17px; line-height: 1.6; color: var(--th-text); }
.page-hub-doc .hd-list li::marker { color: var(--th-accent-text); }

/* Beschriftungen aus der App (Knoepfe, Menuepunkte) */
.page-hub-doc .hd-ui { display: inline-block; padding: .02em .45em; border: 1px solid var(--th-line); border-radius: 6px; background: #f7f9fa;
  font-size: .92em; font-weight: 700; line-height: 1.45; color: var(--th-ink); white-space: nowrap; }

/* ------------------------------------------------------------------ Schritte */
.page-hub-doc .hd-steps { list-style: none; margin: 1.6rem 0 0; padding: 0; counter-reset: hd; max-width: var(--hd-measure); }
.page-hub-doc .hd-steps > li { counter-increment: hd; position: relative; padding: 1.1rem 0 1.1rem 3.4rem; border-top: 1px solid var(--th-line);
  font-size: 17px; line-height: 1.6; color: var(--th-text); }
.page-hub-doc .hd-steps > li:last-child { border-bottom: 1px solid var(--th-line); }
.page-hub-doc .hd-steps > li::before { content: counter(hd, decimal-leading-zero); position: absolute; left: 0; top: 1.05rem;
  font-size: 15px; font-weight: 800; letter-spacing: .02em; color: var(--th-accent-text); font-variant-numeric: tabular-nums; }
.page-hub-doc .hd-steps strong { display: block; color: var(--th-ink); font-size: 17px; margin-bottom: .15rem; }
.page-hub-doc .hd-steps p { margin: .3rem 0 0; }

/* ------------------------------------------------------------------ Hinweis */
.page-hub-doc .hd-note { margin: 1.6rem 0 0; padding: 1rem 1.2rem; max-width: var(--hd-measure); border-left: 3px solid var(--th-accent);
  background: var(--th-grey); border-radius: 0 10px 10px 0; font-size: 15.5px; line-height: 1.6; color: var(--th-text); }
.page-hub-doc .hd-note strong { color: var(--th-ink); }
.page-hub-doc .hd-note p { margin: 0; }
.page-hub-doc .hd-note p + p { margin-top: .5rem; }

/* ------------------------------------------------------------------ Tabellen */
.page-hub-doc .hd-tablewrap { margin: 1.6rem 0 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.page-hub-doc .hd-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.page-hub-doc .hd-table th, .page-hub-doc .hd-table td { padding: .85rem 1rem .85rem 0; border-bottom: 1px solid var(--th-line); text-align: left; vertical-align: top; color: var(--th-text); }
.page-hub-doc .hd-table thead th { padding-top: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--th-muted); border-bottom-color: var(--th-ink); }
.page-hub-doc .hd-table tbody th { font-weight: 700; color: var(--th-ink); white-space: nowrap; }
.page-hub-doc .hd-yes, .page-hub-doc .hd-no, .page-hub-doc .hd-part { font-weight: 700; }
.page-hub-doc .hd-yes { color: var(--th-accent-text); }
.page-hub-doc .hd-no { color: var(--th-muted); }
.page-hub-doc .hd-part { color: #8a5a00; }

/* ------------------------------------------------------------------ Bilder */
.page-hub-doc .hd-figure { margin: 2rem 0 0; }
.page-hub-doc .hd-figure figcaption { margin-top: .8rem; font-size: 14px; line-height: 1.5; color: var(--th-muted); max-width: var(--hd-measure); }
.page-hub-doc .hd-figure--phone { display: flex; flex-direction: column; align-items: center; }
.page-hub-doc .hd-figure--phone .th-phone { width: min(78vw, 300px); }
.page-hub-doc .hd-figure--phone figcaption { text-align: center; }

/* ------------------------------------------------------------------ Funktionsliste (Funktionen) */
.page-hub-doc .hd-feats { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0 clamp(24px, 3vw, 48px); }
@media (min-width: 760px) { .page-hub-doc .hd-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.page-hub-doc .hd-feats li { padding: 1rem 0; border-top: 1px solid var(--th-line); }
.page-hub-doc .hd-feats strong { display: block; font-size: 16px; color: var(--th-ink); }
.page-hub-doc .hd-feats span { display: block; margin-top: .25rem; font-size: 15px; line-height: 1.55; color: var(--th-text); }

/* ------------------------------------------------------------------ Preise */
.page-hub-doc .hd-tiers { display: grid; gap: 16px; margin: 2rem 0 0; }
@media (min-width: 760px) { .page-hub-doc .hd-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.page-hub-doc .hd-tier { display: flex; flex-direction: column; padding: clamp(22px, 2.2vw, 28px); border: 1px solid var(--th-line); border-radius: 18px; background: #fff; }
.page-hub-doc .hd-tier--main { background: var(--th-navy); border-color: var(--th-navy); color: rgba(255, 255, 255, .8); }
.page-hub-doc .hd-tier__k { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--th-accent-text); }
.page-hub-doc .hd-tier--main .hd-tier__k { color: #7fe9e1; }
.page-hub-doc .hd-tier__name { margin: .5rem 0 0; font-size: 21px; font-weight: 800; letter-spacing: -.015em; color: var(--th-ink); }
.page-hub-doc .hd-tier--main .hd-tier__name { color: #fff; }
.page-hub-doc .hd-tier__price { margin: .9rem 0 0; font-size: 34px; font-weight: 800; letter-spacing: -.035em; line-height: 1; color: var(--th-ink); }
.page-hub-doc .hd-tier__price small { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--th-muted); }
.page-hub-doc .hd-tier--main .hd-tier__price { color: #fff; }
.page-hub-doc .hd-tier--main .hd-tier__price small { color: rgba(255, 255, 255, .7); }
.page-hub-doc .hd-tier__who { margin: .8rem 0 0; font-size: 15px; line-height: 1.5; }
.page-hub-doc .hd-tier ul { list-style: none; margin: 1.2rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--th-line); display: grid; gap: .55rem; flex: 1; align-content: start; }
.page-hub-doc .hd-tier--main ul { border-top-color: rgba(255, 255, 255, .16); }
.page-hub-doc .hd-tier li { position: relative; padding-left: 1.2rem; font-size: 14.5px; line-height: 1.45; color: var(--th-text); }
.page-hub-doc .hd-tier--main li { color: rgba(255, 255, 255, .88); }
.page-hub-doc .hd-tier li::before { content: ''; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--th-accent); }
.page-hub-doc .hd-tier .th-btn { margin-top: 1.4rem; min-height: 46px; font-size: 15px; align-self: flex-start; }
.page-hub-doc .hd-btn-line { background: transparent; color: var(--th-ink); border: 1px solid var(--th-line); }
.page-hub-doc .hd-btn-line:hover { border-color: var(--th-ink); }

/* ------------------------------------------------------------------ Hilfe: Suche, Themen, Kontakt */
.page-hub-doc .hd-search { position: relative; margin: 2rem 0 0; max-width: 40rem; }
.page-hub-doc .hd-search label { display: block; margin-bottom: .5rem; font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .85); }
.page-hub-doc .hd-search input { width: 100%; height: 56px; padding: 0 1.2rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: 14px;
  background: #fff; font: inherit; font-size: 17px; color: var(--th-ink); }
.page-hub-doc .hd-search input:focus { outline: 2px solid var(--th-accent); outline-offset: 2px; }
.page-hub-doc .hd-search__status { margin: .7rem 0 0; min-height: 1.4em; font-size: 14px; color: rgba(255, 255, 255, .72); }
.page-hub-doc .hd-cats { display: grid; gap: 0 clamp(24px, 3vw, 48px); margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .page-hub-doc .hd-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.page-hub-doc .hd-cats a { display: block; padding: 1rem 0; border-top: 1px solid var(--th-line); text-decoration: none; }
.page-hub-doc .hd-cats strong { display: block; font-size: 17px; color: var(--th-ink); }
.page-hub-doc .hd-cats span { display: block; margin-top: .2rem; font-size: 14.5px; line-height: 1.5; color: var(--th-text); }
.page-hub-doc .hd-cats a:hover strong { color: var(--th-accent-text); }
.page-hub-doc .hd-help .th-faq__list { margin-top: 1.2rem; }
.page-hub-doc .hd-help .th-faq__q { font-size: 17px; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.page-hub-doc .hd-help .th-faq__a p + p { margin-top: .7rem; }
.page-hub-doc .hd-help .th-faq__a ol, .page-hub-doc .hd-help .th-faq__a ul { margin: .6rem 0 0; padding-left: 1.2rem; }
.page-hub-doc .hd-help .th-faq__a li { margin: .3rem 0; }
.page-hub-doc [data-help-item][hidden], .page-hub-doc [data-help-group][hidden] { display: none; }
.page-hub-doc .hd-empty { margin: 1.6rem 0 0; padding: 1.2rem; border: 1px dashed var(--th-line); border-radius: 14px; font-size: 16px; color: var(--th-text); }
.page-hub-doc .hd-contact { display: grid; gap: clamp(32px, 4vw, 64px); }
@media (min-width: 1024px) { .page-hub-doc .hd-contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.page-hub-doc .hd-contact .inquiry-form { max-width: 40rem; }

/* ------------------------------------------------------------------ Weiter im Bereich */
.page-hub-doc .hd-pager { display: grid; gap: 12px; margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 760px) { .page-hub-doc .hd-pager { grid-template-columns: 1fr 1fr; } }
.page-hub-doc .hd-pager a { display: block; padding: 1.1rem 1.3rem; border: 1px solid var(--th-line); border-radius: 14px; text-decoration: none; }
.page-hub-doc .hd-pager a:hover { border-color: var(--th-ink); }
.page-hub-doc .hd-pager small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--th-muted); }
.page-hub-doc .hd-pager strong { display: block; margin-top: .25rem; font-size: 18px; color: var(--th-ink); }
.page-hub-doc .hd-pager__next { text-align: right; }
@media (min-width: 760px) { .page-hub-doc .hd-pager__next:only-child { grid-column: 2; } }

@media (max-width: 767px) {
  .page-hub-doc .hd-hero .th-btn { width: 100%; }
  .page-hub-doc .hd-steps > li { padding-left: 2.6rem; }
}

/* ------------------------------------------------------------------ Tabellen am Handy: jede Zeile als Block
   (training-hub-docs.js setzt data-label aus dem Tabellenkopf; ohne JS bleibt die scrollbare Tabelle) */
@media (max-width: 640px) {
  .page-hub-doc .hd-table.is-stacked { min-width: 0; }
  .page-hub-doc .hd-table.is-stacked thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .page-hub-doc .hd-table.is-stacked tr { display: block; padding: .9rem 0; border-bottom: 1px solid var(--th-line); }
  .page-hub-doc .hd-table.is-stacked th, .page-hub-doc .hd-table.is-stacked td { display: block; padding: .15rem 0; border: 0; white-space: normal; }
  .page-hub-doc .hd-table.is-stacked tbody th { margin-bottom: .3rem; font-size: 16px; }
  .page-hub-doc .hd-table.is-stacked td[data-label]::before { content: attr(data-label) ': '; font-weight: 600; color: var(--th-muted); }
  .page-hub-doc .hd-table.is-stacked td[data-label=""]::before { content: none; }
}
