/* Next Eleven – Camp-Buchung (05.11.2026)
   Ergänzt styles.css für camps.html (Termin-Karten mit Plätzen, Fortschrittsleiste, Extras-Baukasten, Summe, Erfolgspanel mit Mail-Vorschau)
   und die Fortschrittsleiste in der Kabine. Nur Tokens und Schriften der Website: Anton + Archivo (normal / 125 %). */

.form [hidden], .signup [hidden], .flow[hidden] { display: none !important; }

/* ---------- Termin-Karten: großes Datum, Plätze ---------- */
.date-card__when {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 14px;
  font-family: var(--f-num); font-size: clamp(34px, 3.4vw, 50px); line-height: 1; letter-spacing: .005em; text-transform: uppercase; color: var(--gold);
}
.date-card__when span {
  padding: 5px 11px; border: 1px solid rgba(212,175,55,.6); border-radius: 999px;
  font-family: var(--f-text); font-stretch: 125%; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--gold-soft);
}
.date-card__facts small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.date-card__seats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; }
.seat {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font-family: var(--f-text); font-stretch: 125%; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.seat::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.seat--free { background: var(--gold); color: var(--black); }
.seat--low { background: var(--gold); color: var(--black); }
.seat--low::before { animation: seat-pulse 1.8s ease-out infinite; }
.seat--full { border: 1px solid rgba(255,255,255,.3); color: var(--sand); }
.seat__sub { font-size: 13px; color: var(--muted); }
.date-card.is-full { border-color: rgba(255,255,255,.14); }
.date-card.is-full .date-card__when { color: var(--sand); }
.camp-dates__note { max-width: 70ch; margin: 28px 0 0; color: var(--muted); font-size: 15px; }
.demo-chip {
  display: inline-block; margin-bottom: 14px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-soft); border: 1px dashed rgba(212,175,55,.6); background: rgba(212,175,55,.07);
}
@keyframes seat-pulse { 0% { box-shadow: 0 0 0 0 rgba(11,11,11,.5); } 100% { box-shadow: 0 0 0 8px rgba(11,11,11,0); } }

/* ---------- Packliste & Abholung ---------- */
.camp-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.camp-note { padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--glass-line); border-radius: var(--radius); background: var(--glass); }
.camp-note__title {
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--white);
  font-size: 15px; font-weight: 700; font-stretch: 125%; letter-spacing: .06em; text-transform: uppercase;
}
.camp-note__title::before { content: ""; width: 18px; height: 2px; background: var(--gold); }
.camp-note p { color: var(--sand); font-size: 15px; }
.camp-note p:last-child { margin-bottom: 0; }
.camp-note__list li { padding: 9px 0; border-top: 1px solid var(--line-2); font-size: 15px; }
.camp-note__list li:last-child { border-bottom: 1px solid var(--line-2); }

/* ---------- Schritte: Ziel hervorheben ---------- */
.signup--camp .steps li.is-goal > span { color: var(--black); background: var(--gold); border-radius: 50%; width: 28px; height: 28px; display: grid; place-items: center; font-weight: 700; line-height: 1; margin-top: 1px; }
.signup--camp .steps li.is-goal b { color: var(--gold); }
.signup--camp .booking-card { margin-bottom: 28px; }
.signup--camp .signup__info { position: static; } /* Spalte ist höher als der Bildschirm – sonst wäre der letzte Schritt nie zu sehen */

/* ---------- Fortschrittsleiste: Termin · Anmeldung · Bezahlen · Spielerkarte ---------- */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 22px; padding: 0; list-style: none; }
.flow__step {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  font-size: 11px; font-weight: 700; font-stretch: 125%; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; color: var(--muted);
}
.flow__step::before { content: ""; position: absolute; top: 17px; right: 50%; width: 100%; height: 2px; background: var(--line-2); }
.flow__step:first-child::before { display: none; }
.flow__dot {
  position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--line-2); background: var(--black); color: var(--muted);
  font-family: var(--f-num); font-size: 16px; letter-spacing: 0; line-height: 1; transition: background .3s, border-color .3s, color .3s, box-shadow .3s;
}
.flow__step.is-done { color: var(--sand); }
.flow__step.is-done::before, .flow__step.is-current::before { background: var(--gold); }
.flow__step.is-done .flow__dot {
  border-color: var(--gold); background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0b0b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
  font-size: 0; color: transparent;
}
.flow__step.is-current { color: var(--white); }
.flow__step.is-current .flow__dot { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 0 5px rgba(212,175,55,.16); }
.flow__step--goal { color: var(--gold-soft); }
.flow__step--goal .flow__dot { border-color: var(--gold); color: var(--gold); }
.flow__step--goal.is-current .flow__dot { background: var(--gold); color: var(--black); }
.flow__step--goal.is-done .flow__dot { background-image: none; font-size: 16px; color: var(--black); }
.flow--dialog { margin: 0 0 4px; }
/* Am Formular bleibt die Leiste beim Scrollen sichtbar – das Ziel „Spielerkarte“ steht immer im Blick */
@media (min-width: 901px) {
  .signup__formwrap > .flow { position: sticky; top: calc(var(--header-h) - 6px); z-index: 5; margin-bottom: 14px; padding: 14px 0 12px; background: linear-gradient(var(--black) 78%, rgba(11,11,11,0)); }
}
.flow-goal { margin: -10px 0 22px; text-align: center; font-size: 13px; color: var(--muted); }
.flow-goal b { color: var(--gold); font-weight: 700; }

/* ---------- Formular: Details, Baukasten, Summe ---------- */
.form__hint--note { padding: 10px 14px; border: 1px dashed rgba(212,175,55,.6); border-radius: 12px; background: rgba(212,175,55,.07); color: var(--gold-soft); }
.form__group .opt { color: var(--muted); letter-spacing: .02em; text-transform: none; font-weight: 400; font-stretch: 100%; }
.form__more { border: 1px solid var(--line-2); border-radius: 12px; background: rgba(0,0,0,.2); }
.form__more summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 0 16px; cursor: pointer; list-style: none;
  font-size: 11.5px; font-weight: 600; font-stretch: 125%; letter-spacing: .08em; text-transform: uppercase; color: var(--sand);
}
.form__more summary::-webkit-details-marker { display: none; }
.form__more summary::after { content: "+"; font-family: var(--f-num); font-size: 22px; color: var(--gold); transition: transform .25s var(--ease); }
.form__more[open] summary::after { transform: rotate(45deg); }
.form__more summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 12px; }
.form__more-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; padding: 4px 16px 18px; }
.options--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 10px; }
.options--grid legend { grid-column: 1 / -1; }
.options--grid .option { padding: 12px 14px; }
.options--grid .option span { font-size: 15px; }
.options--grid .option small { margin-top: 2px; }
.sum { padding: 18px 20px; border: 1px solid var(--glass-line); border-radius: 14px; background: rgba(0,0,0,.25); }
.sum .info { width: 100%; }
.sum .info div:first-child { border-top: 0; padding-top: 0; }
.sum .info dd { text-align: right; }
.sum .info div { grid-template-columns: 1fr auto; }
.sum .checkout__sum dd { font-family: var(--f-num); font-size: 32px; line-height: 1; color: var(--gold); }
.sum .field__hint { margin-top: 12px; }
/* Warteliste-Button (.btn--gold[data-waitlist]) sieht aus wie Sekundär – Regel in styles.css (Buttons – System A) */

/* ---------- Demo-Hinweis auf der Seite ---------- */
.signup--camp .demo-note { margin: 0 0 20px; }
.form .demo-note { margin: 0; }

/* ---------- Bezahlen-Dialog (Schein-Zahlung): Zahlarten, Fortschritt ---------- */
/* kompakter, damit der Dialog auch bei 900 px Höhe ohne Scrollen passt */
.checkout__panel { gap: 14px; padding-block: 24px 26px; }
.checkout__panel .checkout__title { font-size: clamp(32px, 4vw, 42px); }
.checkout__panel .info div { padding: 8px 0; }
.checkout__panel .checkout__methods .option { min-height: 46px; padding: 8px 14px; }
.checkout__panel .demo-note { font-size: 12.5px; padding: 8px 12px; }
.checkout__panel .field__hint { margin: 0; }
.checkout__panel .flow { margin-bottom: 8px; }
.checkout__panel .flow__step { font-size: 10px; letter-spacing: .06em; }
.checkout__methods legend { padding: 0; }
.checkout__panel .info div { grid-template-columns: 110px 1fr; }
.checkout__panel .info .checkout__sum { align-items: center; }

/* ---------- Erfolgspanel mit Mail-Vorschau ---------- */
.form__success h3 { text-wrap: balance; }
.form__success .btn { margin-top: 6px; }
.success__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.success__actions .btn { margin-top: 0; }
.success__actions a:not(.btn) { color: var(--sand); font-size: 14px; font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--gold); }
.mailprev { width: 100%; margin: 6px 0 2px; border: 1px solid var(--glass-line); border-radius: 14px; background: rgba(0,0,0,.35); overflow: hidden; }
.mailprev__cap { margin: 0; padding: 10px 16px; font-size: 12px; font-weight: 700; font-stretch: 125%; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--line-2); }
.mailprev__head { display: grid; gap: 2px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); font-size: 13px; color: var(--muted); }
.mailprev__head b { color: var(--white); font-size: 15px; font-weight: 700; }
.mailprev__body { margin: 0; padding: 16px; max-height: 340px; overflow: auto; white-space: pre-line; font-size: 14px; line-height: 1.55; color: var(--sand); }
.mailprev__body a { color: var(--gold-soft); word-break: break-all; }

@media (max-width: 900px) {
  .camp-notes { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form__more-grid { grid-template-columns: 1fr; }
  .flow__step, .checkout__panel .flow__step { font-size: 10px; letter-spacing: .03em; font-stretch: 100%; }
  .flow__dot { width: 32px; height: 32px; font-size: 14px; }
  .flow__step::before { top: 15px; }
  .date-card__when { font-size: 36px; }
  .success__actions .btn { width: 100%; justify-content: space-between; }
  .checkout__panel .info div { grid-template-columns: 90px 1fr; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .seat--low::before { animation: none; }
  .flow__dot, .form__more summary::after { transition: none; }
}

/* ============================================================
   Handy-System – Camps/Buchung (14.11.2026) – Stufen siehe Block „Handy-System“ am Ende von styles.css (--m-*). Nur bis 767 px. */
@media (max-width: 767px) {
  /* Fortschrittsleiste: Beschriftung 12 px (vorher 10 px) */
  .flow__step, .checkout__panel .flow__step { font-size: var(--m-micro); letter-spacing: 0; }
  .form__more summary { min-height: 44px; font-size: var(--m-micro); }
  .checkout__panel .demo-note { font-size: var(--m-small); }
  .date-card__when span { font-size: var(--m-micro); }
  .sum .checkout__sum dd, .checkout__sum dd { font-size: var(--m-title); }
}
@media (max-width: 430px) {
  /* Im Bezahlen-Dialog (Panel schmaler als die Seite) überlappen 12-px-Beschriftungen unter 430 px: dort 11 px (Ausnahme, Prototyp-Dialog) */
  .checkout__panel .flow__step { font-size: 11px; }
}
@media (max-width: 359px) {
  /* ≤ 359 px passt „Spielerkarte“ nicht mehr in eine Spalte: dort 11 px (wie die Hero-Leiste) */
  .flow__step, .checkout__panel .flow__step { font-size: 11px; }
}
