/* MODULE: camp – Eventbezogener Teilnehmerbereich */
.camp-main { max-width: 900px; margin: 0 auto; padding: 24px 20px 80px; }

/* Hero */
.camp-hero { text-align: center; padding: 24px 0 8px; }
.camp-hero-eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 12px;
  font-weight: 700; color: var(--accent, #FF6B00); margin: 0 0 6px;
}
.camp-hero-title { font-size: clamp(28px, 6vw, 44px); margin: 0 0 8px; color: var(--text, #1A1A2E); }
.camp-hero-subtitle { color: var(--text-muted, #6B6B80); max-width: 640px; margin: 0 auto 18px; line-height: 1.6; }

/* Countdown */
.camp-countdown { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.camp-count-box {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: var(--bg-card, #F7F7F9); border: 1px solid var(--border, #EFEFF2);
  border-radius: 14px; padding: 14px 22px; min-width: 130px;
}
.camp-count-num { font-size: 24px; font-weight: 800; color: var(--accent, #FF6B00); }
.camp-count-label { font-size: 12px; color: var(--text-muted, #6B6B80); text-align: center; line-height: 1.35; }

/* Sticky Abschnitts-Nav */
.camp-subnav {
  position: sticky; top: 0; z-index: 20;
  display: flex; gap: 6px; overflow-x: auto; padding: 12px 4px;
  margin: 18px 0 8px; background: var(--bg, #fff);
  border-bottom: 1px solid var(--border, #EFEFF2);
  -webkit-overflow-scrolling: touch;
}
.camp-subnav-link {
  flex: 0 0 auto; font-size: 13px; font-weight: 600; text-decoration: none;
  color: var(--text-muted, #6B6B80); background: var(--bg-card, #F7F7F9);
  border: 1px solid var(--border, #EFEFF2); border-radius: 999px; padding: 7px 14px;
  transition: background .15s, color .15s, border-color .15s;
}
.camp-subnav-link:hover { color: var(--text, #1A1A2E); border-color: #FF8C3A; }

/* Sektionen */
.camp-section { padding: 26px 0; border-bottom: 1px solid var(--border, #EFEFF2); scroll-margin-top: 64px; }
.camp-section:last-child { border-bottom: none; }
.camp-section-title { font-size: 22px; margin: 0 0 14px; color: var(--text, #1A1A2E); }
.camp-h3 { font-size: 16px; margin: 0 0 6px; color: var(--text, #1A1A2E); }
.camp-p { color: var(--text-muted, #6B6B80); line-height: 1.7; margin: 0 0 10px; }
.camp-muted { font-style: italic; }
.camp-block { margin: 0 0 18px; }
.camp-list { margin: 0 0 12px; padding-left: 20px; color: var(--text-muted, #6B6B80); line-height: 1.7; }
.camp-list li { margin-bottom: 4px; }

/* Buttons */
.camp-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent, #FF6B00); color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 600; padding: 10px 18px; border-radius: 10px;
  transition: background .15s;
}
.camp-btn:hover { background: #e55f00; }
.camp-btn--sm { padding: 6px 12px; font-size: 12px; }
.camp-btn--ghost { background: var(--bg-card, #F7F7F9); color: var(--text, #1A1A2E); border: 1px solid var(--border, #EFEFF2); }
.camp-btn--wa { background: #25D366; }
.camp-btn--wa:hover { background: #1eb757; }

/* Routen */
.camp-routes { display: grid; gap: 14px; }
.camp-route { background: var(--bg-card, #F7F7F9); border: 1px solid var(--border, #EFEFF2); border-radius: 14px; padding: 16px 18px; }
.camp-route-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.camp-route-stats { font-size: 13px; color: var(--accent, #FF6B00); font-weight: 600; margin: 2px 0 8px; }
.camp-route-canvas { width: 100%; height: 120px; margin-top: 8px; }
/* Ganzes Bild zeigen (kein Zuschnitt) – Hoehe automatisch aus dem Seitenverhaeltnis */
.camp-route-img { width: 100%; height: auto; border-radius: 10px; margin: 8px 0; display: block; }

/* Tipps */
.camp-tip { background: var(--bg-card, #F7F7F9); border: 1px solid var(--border, #EFEFF2); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }

/* Tagesplan / Kontakte / Docs */
.camp-schedule { list-style: none; padding: 0; margin: 0; }
.camp-schedule li { padding: 6px 0; border-bottom: 1px dashed var(--border, #EFEFF2); color: var(--text-muted, #6B6B80); }
.camp-contacts { list-style: none; padding: 0; margin: 0; }
.camp-contacts li { padding: 5px 0; color: var(--text-muted, #6B6B80); }
.camp-contacts a { color: var(--accent, #FF6B00); font-weight: 600; text-decoration: none; }

.camp-faq { border: 1px solid var(--border, #EFEFF2); border-radius: 10px; padding: 10px 14px; margin-bottom: 8px; background: var(--bg-card, #F7F7F9); }
.camp-faq summary { cursor: pointer; font-weight: 600; color: var(--text, #1A1A2E); }

/* Persoenlicher (geschuetzter) Bereich */
#sec-persoenlich { background: rgba(255,107,0,0.04); border-radius: 16px; padding: 22px; margin: 8px 0; }
.camp-personal-hint, .camp-safety-hint { font-size: 12px; font-weight: 600; color: var(--accent, #FF6B00); margin-bottom: 12px; }
.camp-diag { border-collapse: collapse; }
.camp-diag th { text-align: left; padding: 6px 24px 6px 0; color: var(--text-muted, #6B6B80); font-weight: 600; }
.camp-diag td { padding: 6px 0; color: var(--text, #1A1A2E); font-weight: 700; }
.camp-notes { white-space: pre-wrap; }
.camp-docs { list-style: none; padding: 0; margin: 0; }
.camp-doc { display: flex; align-items: center; gap: 8px; padding: 7px 0; color: var(--text, #1A1A2E); }
.camp-doc-icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; font-size: 13px; }
.camp-doc.is-ok .camp-doc-icon { background: #16a34a; color: #fff; }
.camp-doc.is-open .camp-doc-icon { background: var(--border, #EFEFF2); color: var(--text-muted, #6B6B80); }
.camp-doc-status { margin-left: auto; font-size: 12px; color: var(--text-muted, #6B6B80); }
.camp-doc.is-ok .camp-doc-status { color: #16a34a; font-weight: 600; }

@media (max-width: 560px) {
  .camp-count-box { min-width: 110px; padding: 12px 16px; }
  .camp-section-title { font-size: 19px; }
}

/* "Meine Camps"-Karte im Profil */
.mycamp-card { border-left: 3px solid var(--accent, #FF6B00); }
.mycamp-link {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  padding: 12px 14px; border-radius: 12px; background: rgba(255,107,0,0.06);
  border: 1px solid var(--border, #EFEFF2); margin-top: 8px;
  transition: background .15s, border-color .15s;
}
.mycamp-link:hover { background: rgba(255,107,0,0.12); border-color: #FF8C3A; }
.mycamp-emoji { font-size: 22px; }
.mycamp-text { display: flex; flex-direction: column; flex: 1; }
.mycamp-text strong { color: var(--text, #1A1A2E); }
.mycamp-sub { font-size: 12px; color: var(--text-muted, #6B6B80); }
.mycamp-arrow { color: var(--accent, #FF6B00); font-size: 20px; font-weight: 700; }

/* Vorschaubild der Strecke in der "Meine Camps"-Karte (js/my-camps.js) */
.mycamp-thumb {
  width: 46px; height: 46px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;
}

/* Route-Bild: datensparsame Mobil-Ansicht (LQIP) + Fokus (js/camp.js) */
.camp-route-imgwrap { position: relative; margin: 8px 0; }
.camp-route-imgwrap .camp-route-img { margin: 0; }
.camp-route-img.is-lqip { filter: blur(8px); transform: scale(1.02); }
.camp-route-hd {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(0,0,0,.62); color: #fff; border: none;
  border-radius: 6px; padding: 5px 11px; font-size: 12px; font-weight: 700;
  cursor: pointer; letter-spacing: .03em;
}
.camp-route-hd:hover { background: rgba(0,0,0,.78); }
@media (min-width: 700px) { .camp-route-hd { display: none; } }

/* Umfrage (Baustein) im Camp-Teilnehmerbereich (js/camp.js) */
.camp-survey-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; max-width: 420px; }
.camp-survey-field label { font-size: 13px; font-weight: 600; color: var(--text-muted, #6B6B80); }
.camp-survey-field input, .camp-survey-field select {
  padding: 9px 11px; border: 1px solid var(--border, #EFEFF2); border-radius: 8px;
  font: inherit; font-size: 14px; background: #fff;
}
.camp-survey-done { color: #16a34a; }
.camp-btn--sm { padding: 6px 12px; font-size: 13px; margin-top: 10px; }
#campSurveyStatus { margin-top: 8px; font-size: 12.5px; }
