/* faq.css — Häufige Fragen v2 — premium redesign */

/* ───────────── Hero ───────────── */
.faq-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 560px at 86% 6%, rgba(114,186,211,0.38), transparent 64%),
    radial-gradient(760px 480px at -6% 94%, rgba(244,97,12,0.18), transparent 60%),
    radial-gradient(560px 440px at 46% 52%, rgba(120,190,214,0.10), transparent 70%),
    linear-gradient(135deg, var(--cv-blue-deep) 0%, var(--cv-blue-dark) 58%, #2d3f72 100%);
  color: #fff;
  padding: 52px 0 80px;
}
.faq-hero .cv-breadcrumb { margin-bottom: 38px; }
.faq-hero-inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 64px; align-items: center;
}
.faq-hero-copy { max-width: 620px; }
.faq-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.20em; text-transform: uppercase; color: var(--cv-blue-light);
  margin-bottom: 22px;
}
.faq-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cv-orange);
  box-shadow: 0 0 0 4px rgba(244,97,12,0.22);
}
.faq-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(48px, 7vw, 74px); line-height: 1.0; letter-spacing: -0.035em;
  margin: 0 0 20px; color: #fff;
}
.faq-title .accent { color: var(--cv-blue-light); }
.faq-lead {
  font-size: 19px; line-height: 1.62; color: rgba(255,255,255,0.84);
  max-width: 540px; margin: 0 0 32px;
}
.faq-lead strong { color: #fff; font-weight: 700; }

/* hero stats strip */
.faq-hero-stats {
  display: flex; align-items: center; gap: 30px; flex-wrap: wrap;
}
.faq-hero-stat {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,0.75);
}
.faq-hero-stat .num {
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  color: var(--cv-blue-light); line-height: 1;
}
.faq-hero-stat .sep { color: rgba(255,255,255,0.25); }

/* Hero glass card */
.faq-hero-card {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px;
  padding: 34px 36px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.55);
}
.faq-hero-card-top {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 20px; margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.faq-seal {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--cv-blue-light), var(--cv-blue-dark));
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 26px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}
.faq-hero-card-top .name {
  font-family: var(--font-display); font-weight: 800; font-size: 18px; color: #fff;
}
.faq-hero-card-top .sub { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 3px; }
.faq-hero-card p {
  margin: 0 0 22px; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.86);
}

/* response time indicator */
.faq-response-badge {
  display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
  font-size: 13px; color: rgba(255,255,255,0.7);
}
.faq-response-badge .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #34c789; flex-shrink: 0;
  animation: faq-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(52,199,137,0.6);
}
@keyframes faq-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(52,199,137,0.6); }
  50% { box-shadow: 0 0 0 5px rgba(52,199,137,0); }
}

.faq-hero-card-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px 20px; border-radius: 14px;
  background: var(--cv-orange); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 14px 28px -12px rgba(244,97,12,0.65);
}
.faq-hero-card-cta:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -12px rgba(244,97,12,0.75); }

/* ───────────── Filter bar ───────────── */
.faq-filter-bar {
  position: sticky; top: 72px; z-index: 20;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--cv-line);
}
.faq-filter-inner {
  display: flex; align-items: center; gap: 10px; height: 62px;
  overflow-x: auto; scrollbar-width: none;
}
.faq-filter-inner::-webkit-scrollbar { display: none; }
.faq-filter-label {
  font-family: var(--font-display); font-weight: 800; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--cv-blue-dark);
  white-space: nowrap; padding-right: 10px; border-right: 1px solid var(--cv-line);
  flex-shrink: 0;
}
.faq-chip {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 7px 14px; border-radius: 999px; flex-shrink: 0;
  border: 1.5px solid var(--cv-line); background: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 13.5px;
  color: var(--cv-text-mute); cursor: pointer; transition: all .18s;
}
.faq-chip:hover { border-color: var(--cv-blue-soft); color: var(--cv-blue-dark); }
.faq-chip.is-active {
  background: var(--cv-blue-dark); border-color: var(--cv-blue-dark); color: #fff;
}
.faq-chip .cdot { width: 6px; height: 6px; border-radius: 50%; background: var(--cv-orange); }
.faq-chip .count {
  font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 999px;
  background: rgba(39,53,95,0.08); color: var(--cv-text-mute);
}
.faq-chip.is-active .count { background: rgba(255,255,255,0.2); color: #fff; }

/* ───────────── Main ───────────── */
.faq-main { padding: 64px 0 96px; background: var(--cv-gray); }
.faq-section-head {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 28px;
}
.faq-section-title {
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  letter-spacing: -0.015em; color: var(--cv-blue-dark);
}
.faq-section-hr {
  flex: 1; height: 1px; background: var(--cv-line);
}
.faq-section-count {
  font-size: 13px; color: var(--cv-text-mute); font-weight: 600;
}

.faq-group { margin-bottom: 52px; }
.faq-list { max-width: 920px; margin: 0 auto; }

/* ───────────── Accordion cards ───────────── */
.faq-card {
  background: #fff;
  border: 1px solid rgba(39,53,95,0.07);
  border-radius: 18px;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px -8px rgba(27,38,74,0.12);
  transition: box-shadow .28s, border-color .28s, transform .28s;
  position: relative; overflow: hidden;
}
.faq-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--cv-orange); border-radius: 18px 0 0 18px;
  opacity: 0; transition: opacity .28s;
}
.faq-card.is-open {
  box-shadow: 0 18px 44px -20px rgba(27,38,74,0.30);
  border-color: rgba(39,53,95,0.13);
}
.faq-card.is-open::before { opacity: 1; }
.faq-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -16px rgba(27,38,74,0.22); }
.faq-card.is-open:hover { transform: none; }

.faq-q-btn {
  width: 100%; display: flex; align-items: center; gap: 20px;
  padding: 26px 32px; text-align: left;
  background: transparent; border: 0; cursor: pointer; font: inherit; color: inherit;
}
.faq-q-num {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cv-gray); border: 1px solid var(--cv-line);
  font-family: var(--font-display); font-weight: 800; font-size: 13px;
  color: var(--cv-text-mute); transition: all .28s;
}
.faq-card.is-open .faq-q-num {
  background: rgba(244,97,12,0.10); border-color: rgba(244,97,12,0.25);
  color: var(--cv-orange);
}
.faq-q-text {
  flex: 1;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(17px, 1.5vw, 21px); line-height: 1.28; letter-spacing: -0.01em;
  color: var(--cv-blue-dark); text-wrap: pretty;
  transition: color .22s;
}
.faq-q-btn:hover .faq-q-text { color: var(--cv-blue-deep); }
.faq-card.is-open .faq-q-text { color: var(--cv-orange); }
.faq-chevron {
  flex-shrink: 0; width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--cv-text-mute); border-radius: 50%;
  background: var(--cv-gray); border: 1px solid var(--cv-line);
  transition: transform .38s cubic-bezier(.2,.7,.2,1), background .22s, color .22s, border-color .22s;
}
.faq-card.is-open .faq-chevron {
  transform: rotate(180deg); background: var(--cv-orange); color: #fff; border-color: var(--cv-orange);
}
.faq-q-btn:focus-visible { outline: 3px solid rgba(114,186,211,0.55); outline-offset: -3px; border-radius: 18px; }

/* answer */
.faq-a-wrap {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .42s cubic-bezier(.2,.7,.2,1);
}
.faq-card.is-open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; min-height: 0; }
.faq-a { margin: 0 32px 0 88px; padding: 0 0 28px; border-top: 1px solid var(--cv-line); }
.faq-a-pad { padding-top: 20px; }
.faq-a p {
  font-size: 16px; line-height: 1.74; color: var(--cv-text); margin: 0 0 14px; text-wrap: pretty;
}
.faq-a p:last-child { margin: 0; }
.faq-a strong { color: var(--cv-blue-dark); font-weight: 700; }
.faq-a a { color: var(--cv-orange); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.faq-a a:hover { color: var(--cv-blue-dark); }

/* ───────────── Closing CTA ───────────── */
.faq-cta {
  padding: 0 0 80px; background: var(--cv-gray);
}
.faq-cta-card {
  position: relative; overflow: hidden; border-radius: 26px;
  background:
    radial-gradient(640px 380px at 100% 0%, rgba(244,97,12,0.38), transparent 60%),
    linear-gradient(130deg, var(--cv-blue-deep) 0%, var(--cv-blue-dark) 60%, #2d3f72 100%);
  color: #fff; padding: 56px 60px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  box-shadow: 0 40px 90px -50px rgba(20,33,70,0.55);
}
.faq-cta-block { position: absolute; border-radius: 26px; pointer-events: none; }
.faq-cta-block.orange { width: 160px; height: 160px; background: var(--cv-orange); top: -52px; right: 22%; opacity: 0.88; }
.faq-cta-block.blue { width: 130px; height: 130px; background: var(--cv-blue-light); bottom: -44px; right: 8%; opacity: 0.65; }
.faq-cta-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--cv-blue-light);
}
.faq-cta-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cv-orange); }
.faq-cta-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(28px, 3.2vw, 42px); line-height: 1.06; letter-spacing: -0.025em;
  margin: 0 0 14px; color: #fff; text-wrap: balance;
}
.faq-cta-sub { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.82); margin: 0; }
.faq-cta-actions {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
.faq-cta-call {
  font-size: 14.5px; color: rgba(255,255,255,0.72);
  font-family: var(--font-display); font-weight: 600; transition: color .2s;
}
.faq-cta-call:hover { color: #fff; }

/* ───────────── Responsive ───────────── */
@media (max-width: 920px) {
  .faq-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .faq-cta-card { grid-template-columns: 1fr; gap: 32px; padding: 44px 36px; }
}
@media (max-width: 640px) {
  .faq-hero { padding: 40px 0 64px; }
  .faq-title { font-size: 42px; }
  .faq-lead { font-size: 17px; }
  .faq-filter-bar { top: 64px; }
  .faq-main { padding: 48px 0 72px; }
  .faq-q-btn { padding: 20px 20px; gap: 14px; }
  .faq-q-num { width: 30px; height: 30px; font-size: 12px; }
  .faq-a { margin: 0 20px; }
  .faq-cta { padding: 0 0 64px; }
}
