/* =============================================
   Schwabenbasketball FAQ — v3
   ============================================= */

/* Hero */
.sbfaq-hero {
  background: #1a1a1a;
  padding: 50px 30px 44px;
  position: relative;
  overflow: hidden;
}
.sbfaq-hero::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: #ff8432;
  opacity: 0.07;
  pointer-events: none;
}
.sbfaq-hero-inner { max-width: 1100px; margin: 0 auto; }
.sbfaq-hero h1 {
  font-size: 44px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin: 0 0 10px;
}
.sbfaq-hero h1 span { color: #ff8432; }
.sbfaq-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  max-width: 480px;
  margin: 0;
}

/* Page content wrapper */
.sbfaq-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px 80px;
}

/* Wrap */
.sbfaq-wrap { }

/* Search */
.sbfaq-search-bar {
  background: #ff8432;
  padding: 18px 30px;
  margin: 0 -30px;
}
.sbfaq-search {
  display: block;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  font-family: inherit;
  font-size: inherit;
  padding: 12px 18px;
  border: none;
  border-radius: 5px;
  background: rgba(255,255,255,0.95);
  color: #1a1a1a;
  outline: none;
}
.sbfaq-search::placeholder { color: #aaa; }

/* Tabs — Pill-Buttons nebeneinander */
.sbfaq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 28px 0 32px;
  border: none;
  background: none;
}

.sbfaq-tab {
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  padding: 9px 20px;
  color: #666;
  cursor: pointer;
  border: 1px solid #d8d6d0;
  border-radius: 30px;
  white-space: nowrap;
  background: #fff;
  transition: all 0.15s;
  line-height: 1;
}
.sbfaq-tab:hover  { color: #ff8432; border-color: #ff8432; }
.sbfaq-tab.active { color: #fff; background: #ff8432; border-color: #ff8432; }

/* Category section */
.sbfaq-category { margin-bottom: 52px; }

.sbfaq-cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e2e0da;
}
.sbfaq-cat-label {
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  background: #ff8432;
  padding: 5px 14px;
  border-radius: 4px;
  flex-shrink: 0;
}
.sbfaq-cat-title {
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
  padding: 0;
  border: none;
}
.sbfaq-cat-count {
  font-size: 12px;
  font-weight: 700;
  color: #ff8432;
  background: #fef3ec;
  padding: 3px 10px;
  border-radius: 20px;
  margin-left: auto;
  white-space: nowrap;
}

/* FAQ items */
.sbfaq-list { display: flex; flex-direction: column; gap: 6px; }

.sbfaq-item {
  background: #fff;
  border: 1px solid #e2e0da;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.15s;
}
.sbfaq-item:hover { border-color: #bbb; }
.sbfaq-item.open  { border-color: #ff8432; box-shadow: 0 0 0 1px #ff8432; }

.sbfaq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  transition: color 0.15s;
}
.sbfaq-question:hover         { color: #ff8432; }
.sbfaq-item.open .sbfaq-question { color: #ff8432; }

.sbfaq-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #f5f4f2;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #888;
  flex-shrink: 0;
  transition: all 0.15s;
}
.sbfaq-item.open .sbfaq-num { background: #ff8432; color: #fff; }

.sbfaq-q-text { flex: 1; }

.sbfaq-chevron {
  flex-shrink: 0;
  display: flex; align-items: center;
  color: #bbb;
  transition: transform 0.25s, color 0.15s;
}
.sbfaq-item.open .sbfaq-chevron { transform: rotate(180deg); color: #ff8432; }

.sbfaq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.sbfaq-answer-inner {
  padding: 0 18px 18px 56px;
  font-family: inherit;
  font-size: inherit;
  color: #666;
  line-height: 1.75;
}
.sbfaq-answer-inner p             { margin: 0 0 10px; }
.sbfaq-answer-inner p:last-child  { margin-bottom: 0; }
.sbfaq-answer-inner a             { color: #ff8432; text-decoration: none; }
.sbfaq-answer-inner a:hover       { text-decoration: underline; }
.sbfaq-answer-inner ul,
.sbfaq-answer-inner ol            { margin: 8px 0 8px 20px; }
.sbfaq-answer-inner li            { margin-bottom: 4px; }

.sbfaq-empty {
  color: #aaa;
  font-style: italic;
  font-size: 14px;
  padding: 10px 0;
}

.sbfaq-no-results {
  text-align: center;
  padding: 48px 20px;
  color: #888;
  font-size: 16px;
}

/* Responsive */
@media (max-width: 640px) {
  .sbfaq-hero           { padding: 36px 20px; }
  .sbfaq-hero h1        { font-size: 28px; }
  .sbfaq-content        { padding: 0 20px 60px; }
  .sbfaq-search-bar     { margin: 0 -20px; padding: 16px 20px; }
  .sbfaq-answer-inner   { padding-left: 18px; }
}
