/* hagmanet.ch – Kurslisten & Anmeldung (ctek, 2026-11). Eigene Datei, damit style.scss/massif_minify unberührt bleibt. */
:root {
  --hp-orange: #ff9100;
  --hp-orange-dark: #e67700;
  --hp-ink: #171717;
  --hp-muted: #5f5c56;
  --hp-line: #e7e4de;
  --hp-soft: #fff7ec;
  --hp-radius: 14px;
}

/* ---------- Nothelferkurse ---------- */
.nh-list { display: grid; gap: 18px; margin-bottom: 40px; }
.nh-card { background: #fff; color: var(--hp-ink); border-radius: var(--hp-radius); box-shadow: 0 10px 30px rgba(0,0,0,.18); overflow: hidden; }
.nh-card__main { display: grid; grid-template-columns: 110px 1fr auto; gap: 24px; align-items: center; padding: 22px 26px; }
.nh-date { background: var(--hp-ink); color: #fff; border-radius: 12px; text-align: center; padding: 14px 8px; border-bottom: 4px solid var(--hp-orange); }
.nh-date__days { display: block; font-size: 26px; font-weight: 900; line-height: 1.1; letter-spacing: -.5px; }
.nh-date__month { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--hp-orange); }
.nh-title { margin: 0 0 8px; font-size: 20px; font-weight: 700; color: var(--hp-ink); }
.nh-sessions { list-style: none; margin: 0 0 10px; padding: 0; }
.nh-sessions li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 15px; line-height: 1.7; color: var(--hp-ink); }
.nh-sessions li span { color: var(--hp-muted); }
.nh-sessions svg, .nh-location svg, .nh-help svg, .nh-btn svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nh-sessions svg { color: var(--hp-orange-dark); }
.nh-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.nh-location { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--hp-muted); text-decoration: none; }
.nh-location:hover { color: var(--hp-orange-dark); text-decoration: underline; }
.nh-seats { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.nh-seats::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.nh-seats.is-free { background: #e8f6ee; color: #1a7a45; }
.nh-seats.is-few { background: #fff1db; color: #a85600; }
.nh-seats.is-full { background: #fde8e8; color: #b42318; }
.nh-cta { text-align: right; }
.nh-price { margin: 0 0 12px; font-size: 26px; font-weight: 900; line-height: 1.1; color: var(--hp-ink); }
.nh-price small { display: block; font-size: 12px; font-weight: 400; color: var(--hp-muted); margin-top: 2px; }
.nh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--hp-orange); color: var(--hp-ink); border: 0; border-radius: 10px; padding: 12px 20px; font-size: 15px; font-weight: 700; line-height: 1; cursor: pointer; white-space: nowrap; transition: background .15s, transform .05s; text-decoration: none; }
.nh-btn:hover { background: #ffa33a; color: var(--hp-ink); }
.nh-btn:active { transform: translateY(1px); }
.nh-btn:focus-visible { outline: 3px solid rgba(255,145,0,.45); outline-offset: 2px; }
.nh-btn.is-disabled { background: #ece9e3; color: #8a867e; cursor: default; }
.nh-btn--block { width: 100%; padding: 15px 20px; font-size: 16px; }
.nh-btn[aria-expanded="true"] { background: var(--hp-ink); color: #fff; }
.nh-form__inner { border-top: 1px solid var(--hp-line); background: #faf9f7; padding: 24px 26px 26px; }
.nh-form__title { margin: 0 0 16px; font-size: 16px; font-weight: 700; color: var(--hp-ink); }
.nh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.nh-span-2 { grid-column: span 2; }
.nh-field label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 700; color: #3b3934; }
.nh-optional { font-weight: 400; color: var(--hp-muted); }
.nh-field .form-control { height: 46px; border: 1px solid #d6d2ca; border-radius: 10px; background: #fff; color: var(--hp-ink); font-size: 15px; padding: 10px 14px; box-shadow: none; }
.nh-field .form-control:focus { border-color: var(--hp-orange); box-shadow: 0 0 0 4px rgba(255,145,0,.18); }
.nh-field .form-control::placeholder { color: #aaa59c; }
.was-validated .nh-field .form-control:invalid { border-color: #d92d20; }
.nh-help { display: flex; gap: 8px; margin: -2px 0 0; padding: 10px 12px; font-size: 13px; line-height: 1.45; color: #5a4a2f; background: var(--hp-soft); border-radius: 10px; }
.nh-help svg { color: var(--hp-orange-dark); margin-top: 1px; }
.nh-pot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.nh-submit { margin-top: 20px; }
.nh-note { margin: 10px 0 0; font-size: 13px; text-align: center; color: var(--hp-muted); }
.nh-alert { background: #fff1db; color: #7a3c0b; border-left: 4px solid var(--hp-orange); border-radius: 10px; padding: 14px 18px; font-weight: 500; }
.nh-empty { padding: 24px 26px; }
.nh-empty a { color: var(--hp-orange-dark); }

@media (max-width: 767px) {
  .nh-card__main { grid-template-columns: 78px 1fr; gap: 16px; padding: 18px; }
  .nh-date { padding: 10px 4px; }
  .nh-date__days { font-size: 19px; }
  .nh-date__month { font-size: 10px; letter-spacing: 1px; }
  .nh-title { font-size: 17px; }
  .nh-cta { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; border-top: 1px solid var(--hp-line); padding-top: 14px; }
  .nh-price { margin: 0; font-size: 22px; }
  .nh-form__inner { padding: 18px; }
  .nh-grid { grid-template-columns: 1fr; }
  .nh-span-2 { grid-column: auto; }
}

/* ---------- Anmeldeformular (Modul Anmeldung) ---------- */
.apply-form .form-control { border-radius: 10px; min-height: 48px; transition: border-color .15s, box-shadow .15s; }
.apply-form .form-control:focus { border-color: var(--hp-orange); box-shadow: 0 0 0 4px rgba(255,145,0,.25); }
.apply-form .control-label { font-weight: 700; }

/* moto course choice: categories as cards, dates as selectable buttons */
.motocourse-wrapper .inside-columns { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--hp-radius); padding: 16px 18px; margin-bottom: 14px; }
.motocourse-wrapper .column-checkbox > div { position: relative; margin-top: 8px; }
.motocourse-wrapper .column-checkbox input[type=radio] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.motocourse-wrapper .column-checkbox label.a-column { display: block; margin: 0; padding: 10px 14px 10px 38px; border: 1px solid rgba(255,255,255,.25); border-radius: 10px; color: #fff; font-weight: 700; cursor: pointer; position: relative; transition: background .15s, border-color .15s; }
.motocourse-wrapper .column-checkbox label.a-column::before { content: ""; position: absolute; left: 13px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 2px solid rgba(255,255,255,.6); border-radius: 50%; }
.motocourse-wrapper .column-checkbox label.a-column:hover { border-color: var(--hp-orange); }
.motocourse-wrapper .column-checkbox input:checked + label.a-column { background: var(--hp-orange); border-color: var(--hp-orange); color: var(--hp-ink); }
.motocourse-wrapper .column-checkbox input:checked + label.a-column::before { border-color: var(--hp-ink); background: radial-gradient(circle, var(--hp-ink) 0 4px, transparent 5px); }
.motocourse-wrapper .column-checkbox input:focus-visible + label.a-column { outline: 3px solid rgba(255,145,0,.5); outline-offset: 2px; }
.motocourse-wrapper .inside-columns:not(:has(input)) .column-checkbox::after { content: "Zurzeit keine Kursdaten – neue Daten folgen."; display: block; margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.6); }

/* instructor choice: highlight the selected person */
.team-members-wrapper .inside-columns { border-radius: var(--hp-radius); padding: 10px; transition: background .15s, box-shadow .15s; }
.team-members-wrapper .inside-columns:hover { background: rgba(255,255,255,.05); }
.team-members-wrapper .inside-columns:has(input:checked) { background: rgba(255,145,0,.12); box-shadow: inset 0 0 0 2px var(--hp-orange); }
