/* Close Call — Help page (Hilfe)
   Utility page: compact, functional, easy to scan. Extends the shared
   design system (home.css) only — same tokens, spacing, buttons, forms,
   accordion language (mirrors .cc-pdp-details) and motion as the rest of
   the storefront. No new visual language is introduced here. */

body.cc-help-active {
  background: var(--cc-paper);
}

/* ---------- Intro (compact, not a hero) ---------- */

.cc-help-intro {
  padding-block: clamp(40px, 5vw, 64px) clamp(24px, 3vw, 36px);
}

.cc-help-intro h1 {
  margin: 0 0 10px;
  font-size: clamp(44px, 5vw, 64px);
  letter-spacing: -.04em;
  line-height: .92;
}

.cc-help-intro p {
  max-width: 52ch;
  margin: 0;
  color: var(--cc-ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- Section nav ---------- */

.cc-help-nav {
  position: sticky;
  z-index: 10;
  top: 72px;
  border-block: 1px solid var(--cc-line);
  background: rgba(243, 240, 232, .96);
  backdrop-filter: blur(14px);
}

.admin-bar .cc-help-nav {
  top: 104px;
}

.cc-help-nav__inner {
  display: flex;
  gap: clamp(18px, 2.4vw, 32px);
  align-items: center;
  min-height: 52px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.cc-help-nav__inner::-webkit-scrollbar {
  display: none;
}

.cc-help-nav a {
  flex: 0 0 auto;
  color: var(--cc-ink-soft);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .075em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .2s var(--cc-ease);
}

.cc-help-nav a:hover,
.cc-help-nav a:focus-visible {
  color: var(--cc-ink);
}

/* ---------- Shared section rhythm ---------- */

.cc-help-section {
  padding-block: clamp(40px, 4.5vw, 64px);
  border-bottom: 1px solid var(--cc-line);
  scroll-margin-top: 128px;
}

.cc-help-section:last-of-type {
  border-bottom: 0;
}

.cc-help-section--deep {
  background: var(--cc-paper-deep);
}

.cc-help-section__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 2.6vw, 38px);
  letter-spacing: -.03em;
}

.cc-help-lede {
  max-width: 62ch;
  margin: 0 0 clamp(24px, 2.8vw, 34px);
  color: var(--cc-ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.cc-help-lede a,
.cc-help-note a {
  border-bottom: 1px solid var(--cc-line-strong);
}

.cc-help-note {
  max-width: 62ch;
  margin: 16px 0 0;
  color: var(--cc-ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

/* ---------- FAQ accordion (mirrors .cc-pdp-details) ---------- */

.cc-help-faq {
  max-width: 720px;
}

.cc-help-faq__item {
  border-bottom: 1px solid var(--cc-line);
}

.cc-help-faq__item summary {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  cursor: pointer;
}

.cc-help-faq__item summary::-webkit-details-marker {
  display: none;
}

.cc-help-faq__q {
  font-size: 15px;
  font-weight: 520;
  letter-spacing: -.01em;
}

.cc-help-faq__icon {
  position: relative;
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.cc-help-faq__icon::before,
.cc-help-faq__icon::after {
  position: absolute;
  top: 6px;
  right: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform .2s var(--cc-ease);
}

.cc-help-faq__icon::after {
  transform: rotate(90deg);
}

.cc-help-faq__item[open] .cc-help-faq__icon::after {
  transform: rotate(0);
}

.cc-help-faq__a {
  padding: 0 24px 22px 0;
  color: var(--cc-ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.cc-help-faq__a p {
  margin: 0;
}

.cc-help-faq__a a {
  border-bottom: 1px solid var(--cc-line-strong);
}

/* ---------- Tables (Versand / Größentabelle) ---------- */

.cc-help-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cc-help-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 13px;
}

.cc-help-table th,
.cc-help-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--cc-line);
  text-align: left;
  vertical-align: top;
}

.cc-help-table thead th {
  border-bottom: 1px solid var(--cc-line-strong);
  color: var(--cc-ink-soft);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .075em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cc-help-table thead th span {
  display: block;
  margin-top: 2px;
  color: var(--cc-line-strong);
  font-size: 9px;
}

.cc-help-table tbody tr:last-child td {
  border-bottom: 0;
}

.cc-help-table--sizes td {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cc-help-footnotes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 900px;
  margin-top: clamp(20px, 2.4vw, 28px);
}

.cc-help-footnotes p {
  margin: 0;
  color: var(--cc-ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

/* ---------- Card grid (Retouren / Größentabelle / Pflege / Kontakt) ---------- */

.cc-help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: clamp(20px, 2.4vw, 28px);
}

.cc-help-grid:last-child {
  margin-bottom: 0;
}

.cc-help-grid--measure {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(24px, 3vw, 34px);
}

.cc-help-grid--care {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cc-help-card {
  position: relative;
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid var(--cc-line);
  background: var(--cc-paper-light);
}

.cc-help-eyebrow {
  margin: 0 0 10px;
  color: var(--cc-ink-soft);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.cc-help-card h3 {
  margin: 0 0 8px;
  font-family: var(--cc-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.cc-help-card p {
  margin: 0;
  color: var(--cc-ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.cc-help-card__link {
  margin-bottom: 8px !important;
}

.cc-help-card__link a {
  font-size: 16px;
  font-weight: 520;
  color: var(--cc-ink);
  border-bottom: 1px solid var(--cc-line-strong);
}

.cc-help-card a {
  color: inherit;
  border-bottom: 1px solid var(--cc-line-strong);
}

.cc-help-card__num {
  display: block;
  margin-bottom: 10px;
  color: var(--cc-line-strong);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .08em;
}

.cc-help-card--note {
  background: transparent;
  border-style: dashed;
}

/* ---------- Retouren step list ---------- */

.cc-help-card--steps {
  margin-bottom: clamp(20px, 2.4vw, 28px);
}

.cc-help-steps {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cc-help-steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  padding-block: clamp(16px, 2vw, 22px);
  border-top: 1px solid var(--cc-line);
}

.cc-help-steps li:first-child {
  border-top: 0;
  padding-top: 4px;
}

.cc-help-steps__num {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--cc-line-strong);
  border-radius: 50%;
  color: var(--cc-ink-soft);
  font-size: 10px;
  font-weight: 650;
}

.cc-help-steps h4 {
  margin: 0 0 6px;
  font-family: var(--cc-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.cc-help-steps__note {
  color: var(--cc-ink-soft);
  font-size: 11px;
  font-weight: 400;
  text-transform: none;
}

.cc-help-steps p {
  margin: 0;
  color: var(--cc-ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.cc-help-steps p a {
  border-bottom: 1px solid var(--cc-line-strong);
}

.cc-help-address {
  max-width: 320px;
  padding: 14px 16px;
  border: 1px solid var(--cc-line);
  background: var(--cc-paper);
  color: var(--cc-ink);
  font-size: 13px;
  font-style: normal;
  line-height: 1.6;
}

/* ---------- Größentabelle: fit + unit toggle ---------- */

.cc-help-fit {
  margin-bottom: clamp(20px, 2.4vw, 28px);
}

.cc-help-fit h3 {
  margin: 0 0 12px;
  font-family: var(--cc-sans);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .075em;
  text-transform: uppercase;
  color: var(--cc-ink-soft);
}

.cc-help-fit__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cc-help-fit__list li {
  padding: 8px 14px;
  border: 1px solid var(--cc-line-strong);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .04em;
}

.cc-help-unit-toggle {
  display: inline-flex;
  margin-bottom: 16px;
  border: 1px solid var(--cc-line-strong);
  border-radius: 2px;
  overflow: hidden;
}

.cc-help-unit-toggle button {
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--cc-ink-soft);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .08em;
  cursor: pointer;
  transition: color .2s var(--cc-ease), background-color .2s var(--cc-ease);
}

.cc-help-unit-toggle button.is-active {
  background: var(--cc-ink);
  color: var(--cc-paper-light);
}

/* ---------- Kontakt ---------- */

.cc-help-grid--kontakt {
  align-items: start;
}

.cc-help-quicklinks {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cc-help-quicklinks li {
  border-top: 1px solid var(--cc-line);
}

.cc-help-quicklinks li:first-child {
  border-top: 0;
}

.cc-help-quicklinks a {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--cc-ink);
  font-size: 13px;
  border-bottom: 0 !important;
}

.cc-help-quicklinks a span {
  flex: 0 0 auto;
  color: var(--cc-ink-soft);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cc-help-quicklinks a:hover span,
.cc-help-quicklinks a:focus-visible span {
  color: var(--cc-ink);
}

/* ---------- Contact form (WPForms, if configured) ---------- */

.cc-help-contact-form {
  margin-top: clamp(24px, 3vw, 34px);
}

.wpforms-container input:not([type="checkbox"]):not([type="radio"]),
.wpforms-container select,
.wpforms-container textarea {
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--cc-line-strong) !important;
  border-radius: 0 !important;
  background: var(--cc-paper-light);
  color: var(--cc-ink);
  box-shadow: none !important;
  font: 400 14px/1.4 var(--cc-sans) !important;
}

.wpforms-container textarea {
  min-height: 120px;
}

.wpforms-field-label {
  color: var(--cc-ink-2) !important;
  font-size: 10px !important;
  font-weight: 650 !important;
  letter-spacing: .055em !important;
  text-transform: uppercase;
}

.wpforms-submit-container button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--cc-ink) !important;
  border-radius: 2px !important;
  background: var(--cc-ink) !important;
  color: var(--cc-paper-light) !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  letter-spacing: .075em !important;
  text-transform: uppercase;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .cc-help-grid--measure {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 859px) {
  .cc-help-nav {
    top: 56px;
  }

  .admin-bar .cc-help-nav {
    top: 102px;
  }

  .cc-help-grid,
  .cc-help-grid--care,
  .cc-help-grid--kontakt {
    grid-template-columns: 1fr;
  }

  .cc-help-steps li {
    grid-template-columns: 24px 1fr;
  }
}

@media (max-width: 719px) {
  .cc-help-section {
    padding-block: 36px;
    scroll-margin-top: 156px;
  }

  .cc-help-grid--measure {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc-help-faq__icon::after,
  .cc-help-nav a,
  .cc-help-unit-toggle button {
    transition: none !important;
  }
}
