/* Hey!CDC – Inhaltsseiten /ausschreibung/ und /bewertung/ (ergänzt style.css) */
.ink { color: var(--accent-ink, var(--pink)); }
.mt-lg { margin-top: 28px; }
.mt-xl { margin-top: clamp(36px, 5vw, 56px); }

/* Sprungziele nicht unter dem Sticky-Header verstecken */
.topic, .anchor { scroll-margin-top: 96px; }
.topic + .topic { margin-top: clamp(44px, 6vw, 72px); padding-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.topic h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.topic h3 { margin-top: 1.4em; }
.topic > h3:first-of-type, .topic h2 + h3 { margin-top: .6em; }

/* Inhaltsverzeichnis */
.toc { margin-top: 28px; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.toc h2 { font-family: var(--body); font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: inline-flex; align-items: center; gap: .5em; padding: .5em 1em; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--white); text-decoration: none; font-weight: 700; font-size: .92rem; transition: border-color .2s, background .2s; }
.toc a::before { content: counter(toc); font-size: .78rem; color: var(--accent-ink, var(--pink)); }
.toc a:hover { border-color: var(--pink); background: rgba(255,94,201,.10); }

/* Eckdaten */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 24px 0 0; }
.facts > div { padding: 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.facts dt { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 700; color: var(--white); font-size: 1.08rem; line-height: 1.4; }
.facts dd small { display: block; font-weight: 500; font-size: .86rem; color: var(--muted); }
.facts--hi > div:nth-child(-n+2) { border-color: rgba(255,94,201,.45); }

/* Schritte (Ablauf der Anmeldung) */
.steps { list-style: none; counter-reset: step; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 16px 18px 16px 64px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--pink); color: var(--ink); }
.steps strong { color: var(--white); }

/* Aufklappbare Abschnitte */
.acc { margin-top: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.acc[open] { border-color: var(--line-strong); }
.acc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; font-weight: 800; color: var(--white); }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after { content: '+'; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; line-height: 1; border: 1px solid var(--line-strong); color: var(--accent-ink, var(--pink)); transition: transform .2s; }
.acc[open] > summary::after { transform: rotate(45deg); }
.acc > summary:hover::after { border-color: var(--pink); }
.acc > summary h3, .acc > summary h4 { margin: 0; font-size: 1.1rem; }
.acc__body { padding: 0 20px 18px; }
.acc__body > :last-child { margin-bottom: 0; }

/* Kategorien-Tabelle – auf dem Handy als Karten */
.table-wrap { margin-top: 20px; border-radius: 16px; border: 1px solid var(--line); overflow: hidden; }
.cat-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.table-note { margin: 10px 2px 0; color: var(--muted); font-size: .88rem; }
.cat-table th, .cat-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cat-table thead th { background: var(--surface-2); color: var(--white); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.cat-table tbody th { color: var(--white); font-family: var(--head); font-size: 1.08rem; }
.cat-table tbody th small, .cat-table td small { display: block; font-family: var(--body); font-weight: 500; font-size: .84rem; color: var(--muted); }
.cat-table tbody tr:last-child > * { border-bottom: 0; }
.cat-table .no { color: var(--muted); }
@media (max-width: 680px) {
  .cat-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cat-table, .cat-table tbody, .cat-table tr, .cat-table th, .cat-table td { display: block; }
  .cat-table tbody tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .cat-table tbody tr:last-child { border-bottom: 0; }
  .cat-table tbody th, .cat-table td { padding: 4px 0; border: 0; }
  .cat-table td { display: grid; grid-template-columns: 80px 1fr; gap: 10px; }
  .cat-table td::before { content: attr(data-label); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .2em; }
}

/* Startgebühr */
.prices--auto { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-top: 20px; }
.prices--auto .price__value { font-size: 2.4rem; }
@media (max-width: 760px) { .prices.prices--auto { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .prices--auto .price { padding: 18px; } .prices--auto .price__value { font-size: 2rem; } }

/* Bewertung: Kriterien */
.crit { display: flex; flex-direction: column; }
.crit__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: .6em; }
.crit__head h3, .crit__head h4 { margin: 0; }
.crit__no { color: var(--accent-ink, var(--pink)); margin-right: .25em; }
.pts { flex: none; display: inline-flex; align-items: baseline; gap: .3em; padding: .25em .8em; border-radius: 999px; font-weight: 800; font-size: .9rem; color: var(--ink); background: var(--pink); }
.card--sky .pts { background: var(--sky); }
.crit .dot-list { gap: 8px; margin-bottom: 0; font-size: .97rem; }
.jump { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 24px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Öffentliche Startliste / Zeitplan ---------- */
.prog { margin-top: 26px; }
.prog-status { padding: 22px 24px; border-radius: 16px; border: 1px dashed var(--line-strong); color: var(--muted); }
.prog-suche { margin-bottom: 4px; }
.prog-suche__feld { width: 100%; max-width: 360px; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); font: inherit; }
.prog-suche__feld:focus { outline: 2px solid var(--pink); outline-offset: 2px; }
.prog-table .prog-nr, .prog-table .prog-zeit { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; color: var(--white); }
.prog-table tbody th { font-size: 1rem; }
.prog-block th { background: var(--surface-2); font-family: var(--head); font-size: 1.15rem; color: var(--white); }
.prog-block th span { font-family: var(--body); font-size: .88rem; color: var(--muted); font-weight: 500; }
.prog-pause td { color: var(--muted); font-style: italic; }
@media (max-width: 640px) {
  .prog-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .prog-table, .prog-table tbody, .prog-table tr, .prog-table td, .prog-table th { display: block; width: 100%; }
  .prog-table tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .prog-table tr > * { padding: 2px 0; border: 0; }
  .prog-table td[data-label]::before { content: attr(data-label) ': '; color: var(--muted); font-size: .85rem; }
  .prog-block th, .prog-pause td { padding: 4px 0; }
}
.prog-table tr[hidden] { display: none !important; }
.rechtstext h3 { margin-top: 28px; } .rechtstext p { line-height: 1.6; } .footer-bottom a { color: inherit; }
