/* ==========================================================================
   Support Section
   Phase 7C-C — extracted from inline styles in
   ContentBlocks/ContentElements/support-section/templates/frontend.html

   Note: .support-grid block was added during Welle-2 hotfix (mobile overflow
   fix for IBAN/numbers). All those rules are migrated 1:1 from main.css here.
   ========================================================================== */

.support-section {
  background: var(--accent);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

/* ----- Welle-2 Mobile-Overflow-Fix (migrated from main.css) ----- */
/* Mobile-first: single column, reduced padding to prevent viewport overflow */
.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 48px 24px;
  align-items: center;
}

/* Constrain IBAN/numeric content (Anton 22px overflows narrow viewports) */
.support-grid .num,
.support-grid [class*="num"] {
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  .support-grid .display.num {
    font-size: 18px;
    letter-spacing: .02em;
  }
}

@media (min-width: 768px) {
  .support-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    padding: 72px 32px;
  }
}

/* ----- Tablet & Phone overrides (migrated from main.css) -----
   Welle-2-Hotfix: !important behalten bei .support-grid Layout-Reset —
   schützt gegen IBAN/Numeric-Overflow auf engen Viewports. Plan-Vorgabe. */
@media (max-width: 960px) {
  .support-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding: 56px 20px !important;
  }
  .support-grid h2 { font-size: 56px; }
}

@media (max-width: 600px) {
  .support-grid h2 { font-size: 44px; }
  .support-grid .btn { width: 100%; justify-content: center; }
}

/* ----- Inline-Style Refactor (Phase 7C-C) ----- */
.support-section__label {
  color: rgba(255, 255, 255, .7);
}

.support-section__headline {
  font-size: clamp(56px, 7vw, 112px);
  margin: 12px 0 16px;
}

.support-section__text {
  max-width: 540px;
  font-size: 17px;
  line-height: 1.5;
  opacity: .95;
}

.support-section__cta-row {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.support-section__sidebar {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: .02em;
}

.support-section__block {
  border-top: 1px solid rgba(255, 255, 255, .4);
  padding-top: 16px;
  margin-bottom: 14px;
}

.support-section__block:last-child {
  margin-bottom: 0;
}

.support-section__block-label {
  opacity: .7;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 10px;
  margin-bottom: 6px;
}

.support-section__iban {
  font-size: 22px;
  letter-spacing: .04em;
}

.support-section__counter {
  font-size: 48px;
  line-height: 1;
}

.support-section__counter-goal {
  font-size: 18px;
  opacity: .7;
}

.support-section__progress {
  height: 6px;
  background: rgba(255, 255, 255, .25);
  margin-top: 10px;
  position: relative;
}

.support-section__progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: #0e0e10;
  /* Phase 7D: width via Custom-Property aus Template (Inline-Style migriert) */
  width: var(--progress, 0%);
}
