.qs-faq-page{
  padding-bottom:64px;
}

.qs-faq-hero .qs-support-hero__panel{
  align-self:stretch;
}

.qs-faq-filter-form{
  align-items:stretch;
}

.qs-faq-filter-form select{
  min-width:180px;
}

.qs-faq-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:14px;
}

.qs-faq-card{
  min-height:176px;
  align-content:start;
}

.qs-faq-card strong{
  font-size:1rem;
}

.qs-faq-card p{
  margin:0;
  color:var(--qs-support-muted);
  line-height:1.6;
}

.qs-faq-list{
  display:grid;
  gap:14px;
}

.qs-faq-list__item{
  display:flex;
  gap:16px;
  justify-content:space-between;
  align-items:flex-start;
  padding:18px;
  border:1px solid var(--qs-support-border);
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,0.96), rgba(240,247,255,0.74));
  box-shadow:var(--qs-support-shadow-card);
}

.qs-faq-list__copy{
  display:grid;
  gap:8px;
  min-width:0;
  flex:1 1 auto;
}

.qs-faq-list__copy h3{
  margin:0;
  font-size:1.06rem;
  line-height:1.25;
}

.qs-faq-list__copy h3 a{
  color:inherit;
  text-decoration:none;
}

.qs-faq-list__copy p{
  margin:0;
  color:var(--qs-support-muted);
  line-height:1.65;
}

.qs-faq-list__copy small{
  display:block;
  margin-top:2px;
}

.qs-faq-list__actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
  flex:0 0 auto;
}

.qs-faq-editorial-grid{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);
  gap:18px;
}

.qs-faq-editorial-grid.is-public-only{
  grid-template-columns:1fr;
}

.qs-faq-checkbox{
  display:flex !important;
  align-items:center;
  gap:10px;
  font-weight:700;
  color:var(--qs-support-text);
}

.qs-faq-checkbox input{
  width:auto;
  min-height:0;
  margin:0;
}

.qs-faq-body{
  display:grid;
  gap:14px;
  color:#21425e;
  line-height:1.8;
  font-size:1rem;
}

.qs-faq-body h2,
.qs-faq-body h3{
  margin:0;
  color:var(--qs-support-text);
}

.qs-faq-body p{
  margin:0;
}

.qs-faq-body ul,
.qs-faq-body ol{
  margin:0;
  padding-left:1.2rem;
}

.qs-faq-body a{
  color:#0a4d93;
  text-decoration:underline;
}

.qs-faq-related,
.qs-faq-editor-box,
.qs-faq-revisions{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid var(--qs-support-border);
}

.qs-faq-related h2,
.qs-faq-editor-box h3,
.qs-faq-revisions h3{
  margin:0 0 14px;
}

.qs-faq-page .qs-support-form textarea{
  min-height:140px;
}

.qs-faq-page .qs-support-card--side{
  position:relative;
}

.qs-faq-honeypot{
  position:absolute !important;
  left:-9999px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}

/* Stats-Karten lokal an QuickStand angleichen */
.qs-team-grid{
  display:grid;
  gap:14px;
  grid-template-columns:repeat(4, minmax(0,1fr));
  margin:0 0 18px;
}

.qs-team-grid--stats{
  grid-template-columns:repeat(4, minmax(0,1fr));
}

.qs-team-card{
  padding:18px;
  border-radius:18px;
  border:1px solid var(--qs-support-border);
  background:linear-gradient(180deg, rgba(255,255,255,0.96), rgba(240,247,255,0.78));
  box-shadow:var(--qs-support-shadow-card);
}

.qs-team-card__eyebrow{
  display:block;
  margin-bottom:10px;
  color:var(--qs-support-accent);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.qs-team-card__title{
  margin:0;
  font-size:clamp(1.55rem, 2.2vw, 2rem);
  line-height:1.05;
  color:var(--qs-support-text);
}

.qs-team-card__text{
  margin:.45rem 0 0;
  color:var(--qs-support-muted);
  line-height:1.55;
}

@media (max-width:1080px){
  .qs-faq-grid,
  .qs-faq-editorial-grid,
  .qs-team-grid,
  .qs-team-grid--stats{
    grid-template-columns:1fr;
  }

  .qs-faq-list__item{
    flex-direction:column;
  }

  .qs-faq-list__actions{
    justify-content:flex-start;
  }
}

@media (max-width:720px){
  .qs-faq-list__item,
  .qs-team-card{
    border-radius:16px;
  }
}

/* =====================================================================
   Milestone 29 — UI-Polish / Konsistenz / Restkanten
   Letzte Detailangleichung für FAQ-Unterseiten
   ===================================================================== */
.qs-faq-page{
  gap:18px;
}

.qs-faq-hero .qs-support-hero__panel{
  justify-content:space-between;
}

.qs-faq-grid{
  gap:16px;
}

.qs-faq-card{
  min-height:190px;
  padding:20px;
  border-radius:20px;
}

.qs-faq-card strong{
  line-height:1.2;
}

.qs-faq-list{
  gap:12px;
}

.qs-faq-list__item{
  gap:18px;
  border-radius:20px;
  transition:transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.qs-faq-list__item:hover{
  transform:translateY(-1px);
  border-color:rgba(0,148,255,0.22);
  box-shadow:0 14px 30px rgba(0,51,102,0.08);
}

.qs-faq-list__copy{
  gap:9px;
}

.qs-faq-list__copy h3{
  line-height:1.18;
}

.qs-faq-list__copy p{
  max-width:72ch;
}

.qs-faq-list__actions{
  align-items:center;
}

.qs-faq-editorial-grid{
  gap:20px;
  align-items:start;
}

.qs-faq-editorial-grid > :last-child{
  min-width:0;
}

.qs-faq-body{
  gap:16px;
  font-size:1.02rem;
}

.qs-faq-body > *{
  max-width:74ch;
}

.qs-faq-related,
.qs-faq-editor-box,
.qs-faq-revisions{
  margin-top:24px;
  padding-top:20px;
}

.qs-faq-page .qs-support-card--side{
  top:22px;
}

.qs-faq-page .qs-support-form textarea{
  min-height:160px;
}

.qs-faq-page .qs-team-grid,
.qs-faq-page .qs-team-grid--stats{
  gap:16px;
  margin-bottom:20px;
}

.qs-faq-page .qs-team-card{
  padding:20px;
  border-radius:20px;
}

.qs-faq-page .qs-team-card__title{
  line-height:1.08;
}

@media (max-width:1080px){
  .qs-faq-page{
    gap:16px;
  }

  .qs-faq-page .qs-support-card--side{
    top:auto;
  }
}

@media (max-width:720px){
  .qs-faq-page{
    gap:14px;
  }

  .qs-faq-card,
  .qs-faq-list__item,
  .qs-faq-page .qs-team-card{
    border-radius:18px;
  }

  .qs-faq-list__actions{
    width:100%;
  }

  .qs-faq-list__actions .qs-support-btn{
    width:100%;
  }
}


.qs-faq-page .qs-support-grid--service-form{
  align-items:start;
}

.qs-faq-page .qs-support-card{
  min-height:0;
}

.qs-faq-page .qs-faq-list__item{
  padding:18px 0;
}

.qs-faq-page .qs-faq-list__item:first-child{
  padding-top:0;
}

.qs-faq-page .qs-faq-list__item:last-child{
  padding-bottom:0;
}

@media (max-width: 980px){
  .qs-faq-page .qs-support-grid--service-form{
    grid-template-columns:1fr;
  }
}


/* =====================================================================
   HOTFIX — FAQ Klarheit / Professionalität
   ===================================================================== */
.qs-faq-search-card{
  padding:22px 24px;
}

.qs-faq-split{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:18px;
}

.qs-faq-section{
  min-height:0;
}

.qs-faq-section__eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(0,148,255,0.08);
  color:var(--qs-support-accent);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.qs-faq-section--editorial .qs-faq-section__eyebrow{
  background:rgba(0,148,255,0.08);
  color:#0a4d93;
}

.qs-faq-section--community .qs-faq-section__eyebrow{
  background:rgba(0,51,102,0.08);
  color:#003366;
}

.qs-faq-list--compact{
  gap:0;
}

.qs-faq-list--compact .qs-faq-list__item{
  padding:16px 0;
  border:0;
  border-bottom:1px solid var(--qs-support-border);
  border-radius:0;
  box-shadow:none;
  background:transparent;
}

.qs-faq-list--compact .qs-faq-list__item:first-child{
  padding-top:0;
}

.qs-faq-list--compact .qs-faq-list__item:last-child{
  padding-bottom:0;
  border-bottom:0;
}

.qs-faq-list--compact .qs-faq-list__item:hover{
  transform:none;
  box-shadow:none;
  border-color:var(--qs-support-border);
}

.qs-faq-bridge{
  display:grid;
  gap:10px;
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--qs-support-border);
}

.qs-faq-bridge p{
  margin:0;
}

@media (max-width:1080px){
  .qs-faq-split{
    grid-template-columns:1fr;
  }
}


/* FAQ clarity hotfix */
.qs-faq-page .qs-support-hero{
  margin-bottom:18px;
}

.qs-faq-search-card{
  margin-bottom:18px;
}

.qs-faq-split{
  align-items:stretch;
}

.qs-faq-section{
  position:relative;
  overflow:hidden;
}

.qs-faq-section::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:linear-gradient(180deg, #0f65d8, #6ab7ff);
  opacity:.9;
}

.qs-faq-section--community::before{
  background:linear-gradient(180deg, #003366, #0f65d8);
}

.qs-faq-section .qs-support-card__head{
  padding-left:6px;
}

.qs-faq-section h2{
  font-size:clamp(1.55rem, 2vw, 2.1rem);
}

.qs-faq-community-list{
  margin-top:18px;
}

.qs-faq-community-list .qs-support-card__head{
  align-items:center;
}

.qs-faq-list__item{
  min-height:0;
}

.qs-faq-list__item h3{
  margin-bottom:6px;
}

.qs-faq-editor-box{
  margin-top:18px;
}

.qs-faq-filter-form .qs-custom-select{
  min-width:0;
}

.qs-faq-honeypot{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}

@media (max-width:860px){
  .qs-faq-community-list .qs-support-card__head{
    align-items:stretch;
  }

  .qs-faq-community-list .qs-support-card__head .qs-support-btn{
    width:100%;
  }
}


/* Feedback-Hotfix: FAQ dropdowns must render above cards */
.qs-faq-page .qs-support-card,
.qs-faq-page .qs-faq-card,
.qs-faq-page .qs-faq-list__item,
.qs-faq-page .qs-faq-filter-form,
.qs-faq-page .qs-support-form,
.qs-faq-page label{
  overflow:visible;
}

.qs-faq-page .qs-custom-select{
  z-index:2;
}

.qs-faq-page .qs-custom-select.is-open{
  z-index:10000;
}

.qs-faq-page .qs-custom-select__panel{
  z-index:10001;
}

.qs-faq-page .qs-service-modal{
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

.qs-faq-page .qs-service-modal__dialog{
  box-shadow:0 16px 42px rgba(0,51,102,0.18);
}

/* Feedback fix: no decorative blue side stripes on FAQ cards. */
.qs-faq-section{
  overflow:visible;
}

.qs-faq-section::before,
.qs-faq-section--community::before{
  content:none !important;
  display:none !important;
}

.qs-faq-section .qs-support-card__head{
  padding-left:0;
}



/* Targeted M9 redo: keep the overview lean without deleting the preserved markup. */
.qs-faq-page > .qs-faq-split{
  display:none;
}

/* Targeted M9 redo: no decorative blue side stripes on FAQ overview/sections. */
.qs-faq-page .qs-faq-section{
  border-left:0 !important;
}

.qs-faq-page .qs-faq-section::before,
.qs-faq-page .qs-faq-section--community::before{
  content:none !important;
  display:none !important;
  width:0 !important;
  opacity:0 !important;
  background:none !important;
}

/* Targeted M9 redo: keep short action labels on one line. */
.qs-faq-page .qs-support-card__head .qs-support-btn,
.qs-faq-page .qs-faq-list__actions .qs-support-btn{
  white-space:nowrap;
  min-width:max-content;
  flex:0 0 auto;
}


/* Targeted FAQ correction: show the overview cards again; hide only the small oval labels. */
.qs-faq-page > .qs-faq-split{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:18px;
}

.qs-faq-page .qs-faq-section__eyebrow{
  display:none !important;
}

.qs-faq-page .qs-support-card__head .qs-support-btn{
  white-space:nowrap !important;
}

@media (max-width:1080px){
  .qs-faq-page > .qs-faq-split{
    grid-template-columns:1fr;
  }
}


/* M7 Public Service Regression: FAQ dropdowns above cards, compact buttons and no clipping. */
.qs-faq-page .qs-support-card,
.qs-faq-page .qs-faq-card,
.qs-faq-page .qs-faq-list__item,
.qs-faq-page .qs-faq-section,
.qs-faq-page .qs-faq-filter-form,
.qs-faq-page .qs-support-form,
.qs-faq-page label{
  overflow:visible !important;
}

.qs-faq-page .qs-custom-select-host--open,
.qs-faq-page .qs-custom-select.is-open{
  position:relative;
  z-index:1400;
}

.qs-faq-page .qs-custom-select__panel{
  z-index:1401;
}

.qs-faq-page .qs-support-card__head .qs-support-btn,
.qs-faq-page .qs-faq-list__actions .qs-support-btn,
.qs-faq-page .qs-support-actions .qs-support-btn{
  white-space:nowrap;
}

.qs-faq-page .qs-service-modal,
.qs-faq-page .qs-support-modal__backdrop{
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
}

.qs-faq-page .qs-service-modal__dialog{
  box-shadow:0 14px 34px rgba(0,51,102,0.14);
}
