/**
 * UGG FAQs – Design-System nach Briefing März 2026
 * Poppins, 8px-Grid, UGG Farbpalette
 */

/* ===== DESIGN TOKENS ===== */
.ugg-faq-page,
.ugg-faq-page * {
  box-sizing: border-box;
}

.ugg-faq-page {
  --green-500: #40b38a; /* rgb(64, 179, 138) */
  --green-dark: #2a7d60;
  --coral: #E55C3D;
  --coral-dark: #c94e33;
  --mustard-400: #FFB11B;
  --mustard-100: #FFE8BB;
  --black-900: #1B1B1B;
  --gray-700: #707070;
  --gray-600: #8A8A8A;
  --lightgray-400: #DFE0E1;
  --lightgray-200: #E9E9E9;
  --lightgray-100: #F7F7F7;
  --white: #FFFFFF;

  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  color: var(--black-900);
  background: var(--white);

  /* 100vw full-width breakout */
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  overflow-x: hidden;
}


/* All zone content stacks above circles */
.ugg-faq-main,
.ugg-faq-cta-bar,
.ugg-faq-downloads-strip {
  position: relative;
  z-index: 1;
}

/* Inner max-width centering — hero above .ugg-faq-main so search autosuggest overlaps FAQ card */
.ugg-faq-hero {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  position: relative;
  z-index: 25;
}

.ugg-faq-main,
.ugg-faq-cta-bar,
.ugg-faq-downloads-strip {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* ===== ANIMATIONS ===== */
@keyframes ugg-fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== ZONE 1: HERO ===== */
.ugg-faq-hero {
  background: #FFFFFF;
  padding: 64px 40px 48px;
  text-align: center;
}

.ugg-faq-hero__inner {
  max-width: 720px;
  margin: 0 auto;
}

.ugg-faq-overline {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--green-500); /* korrektes Marken-Grün */
  margin-bottom: 16px;
  animation: ugg-fade-up 0.55s ease both;
  animation-delay: 0.05s;
}

.ugg-faq-hero__h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.2;
  color: #1B1B1B;
  margin: 0 0 16px;
  animation: ugg-fade-up 0.55s ease both;
  animation-delay: 0.18s;
}

.ugg-faq-hero .h1_highlight .highlight {
  /* nur Klasse, keine Farbüberschreibung */
}

.ugg-faq-hero__subtext {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.5;
  color: #707070;
  margin: 0 0 32px;
  animation: ugg-fade-up 0.55s ease both;
  animation-delay: 0.3s;
}

.ugg-faq-search-wrap {
  position: relative;
  z-index: 10;
  isolation: isolate;
  max-width: 560px;
  margin: 0 auto;
  animation: ugg-fade-up 0.55s ease both;
  animation-delay: 0.42s;
  /* Höhe des Suchfelds — Hälfte davon: Dropdown nach oben für Überlappung mit Pill-Input */
  --ugg-faq-search-field-h: 64px;
}

.ugg-faq-search-field {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 64px;
  padding: 0 132px 0 52px;
  border: 1.5px solid #DFE0E1;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1.3125rem;
  color: #1B1B1B;
  background: #FFFFFF;
  outline: none;
  transition: border-color 150ms;
  -webkit-appearance: none;
  appearance: none;
}

.ugg-faq-search-field::-webkit-search-cancel-button,
.ugg-faq-search-field::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.ugg-faq-search-field::placeholder {
  color: #8A8A8A;
}

.ugg-faq-search-field:focus {
  border-color: #8A8A8A;
}

.ugg-faq-search-icon {
  position: absolute;
  z-index: 3;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #707070;
  pointer-events: none;
  display: flex;
  align-items: center;
}

/* Autosuggest — unter dem Input (z-index), oben eckig, unten abgerundet */
.ugg-faq-autosuggest {
  position: absolute;
  z-index: 1;
  top: calc(100% - (var(--ugg-faq-search-field-h) / 2));
  left: 0;
  right: 0;
  padding: 24px 26px 26px 26px;
  background: #FFFFFF;
  border: 1.5px solid #DFE0E1;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  box-sizing: border-box;
  /* Vorschlagsliste vorerst aus — diese eine Zeile löschen, um Autosuggest wieder sichtbar zu machen */
  display: none !important;
}

.ugg-faq-search-wrap:focus-within .ugg-faq-autosuggest:not([hidden]) {
  border-color: #8A8A8A;
}

.ugg-faq-autosuggest[hidden] {
  display: none;
}

.ugg-faq-autosuggest__item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 16px 10px;
  border: none;
  border-top: 1px solid #DFE0E1;
  background: none;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #1B1B1B;
  cursor: pointer;
  transition: background 100ms;
  line-height: 1.4;
  box-sizing: border-box;
}

.ugg-faq-autosuggest__item:first-child {
  border-top: none;
  padding-top: 4px;
}

.ugg-faq-autosuggest__item:last-child {
  padding-bottom: 4px;
}

.ugg-faq-search-ai-btn {
  position: absolute;
  z-index: 3;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  box-sizing: border-box;
  border: 2px solid rgb(55, 200, 250);
  border-radius: 999px;
  background: transparent;
  color: rgb(55, 200, 250);
  height: 44px;
  min-width: 118px;
  padding: 0 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.ugg-faq-search-ai-btn:hover:not(:disabled) {
  background: rgba(55, 200, 250, 0.12);
  border-color: rgb(40, 175, 220);
  color: rgb(40, 175, 220);
}

.ugg-faq-search-ai-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.ugg-faq-ai-answer {
  border: none;
  background: transparent;
  border-radius: 0;
  padding: 0 0 16px;
  margin-bottom: 8px;
}

.ugg-faq-ai-stream-preview {
  font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, monospace;
  font-size: 11px;
  line-height: 1.45;
  color: #374151;
  margin: 0 0 12px;
  min-height: 1.35em;
  white-space: pre-wrap;
  word-break: break-word;
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(243, 244, 246, 0.65);
}

.ugg-faq-ai-stream-preview:not(:empty) {
  filter: blur(5px);
  opacity: 0.45;
  user-select: none;
  pointer-events: none;
}

.ugg-faq-ai-answer.is-ai-streaming .ugg-faq-ai-stream-preview:empty {
  filter: none;
  opacity: 1;
  background: transparent;
  padding-left: 0;
}

.ugg-faq-ai-answer.is-ai-streaming .ugg-faq-ai-stream-preview:empty::after {
  content: 'Antwort wird erstellt…';
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #707070;
}

.ugg-faq-ai-answer-text {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  color: #1B1B1B;
  line-height: 1.65;
}

.ugg-faq-ai-answer-text a {
  color: var(--green-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.ugg-faq-ai-text-segment {
  margin-bottom: 10px;
}
.ugg-faq-ai-text-segment:last-child {
  margin-bottom: 0;
}
.ugg-faq-ai-text-segment p {
  margin: 0 0 6px;
}
.ugg-faq-ai-text-segment p:last-child {
  margin-bottom: 0;
}

.ugg-faq-ai-faq-segment {
  margin: 12px 0;
  border-left: none;
  padding-left: 0;
  border-radius: 0;
}
.ugg-faq-ai-faq-segment .ugg-faq-item {
  margin: 0;
}

.ugg-faq-ai-answer-refs {
  margin: 10px 0 0;
  padding-left: 18px;
}

.ugg-faq-ai-answer-refs a {
  color: var(--green-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.ugg-faq-ai-answer-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.ugg-faq-ai-reset {
  display: inline;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 15px;
  color: var(--green-dark, #1a6b4a);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
}

.ugg-faq-ai-reset:hover {
  color: #145238;
}

/* Fixed: alle aufgeklappten Fragen schließen + nach oben */
.ugg-faq-close-all-fab {
  position: fixed;
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: max(22px, env(safe-area-inset-bottom, 0px));
  z-index: 99990;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 12px 16px;
  margin: 0;
  border: 1px solid rgba(42, 125, 96, 0.45);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  color: #2a7d60;
  cursor: pointer;
  transform: translate3d(0, calc(100% + 32px), 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.34s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 0.28s ease,
    visibility 0.28s,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.ugg-faq-close-all-fab.is-visible {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ugg-faq-close-all-fab:hover {
  border-color: #2a7d60;
  color: #1f5c47;
  box-shadow: 0 10px 32px rgba(42, 125, 96, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ugg-faq-close-all-fab:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(64, 179, 138, 0.45), 0 8px 28px rgba(0, 0, 0, 0.12);
}

.ugg-faq-close-all-fab:focus:not(:focus-visible) {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.ugg-faq-close-all-fab__icon {
  display: flex;
  flex-shrink: 0;
  color: currentColor;
}

.ugg-faq-close-all-fab__text {
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .ugg-faq-close-all-fab {
    transition-duration: 0.01ms !important;
  }
}

.ugg-faq-autosuggest__item:hover,
.ugg-faq-autosuggest__item:focus {
  background: #F7F7F7;
  outline: none;
}

.ugg-faq-autosuggest__item strong {
  font-weight: 600;
}

.ugg-faq-search-hint {
  margin: 8px auto 0;
  max-width: 480px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #8A8A8A;
  text-align: center;
  animation: ugg-fade-up 0.55s ease both;
  animation-delay: 0.54s;
}

/* ===== ZONE 2: AUDIENCE FILTER BAR ===== */
.ugg-faq-filter-bar {
  background: #FFFFFF;
  border-bottom: 1px solid #DFE0E1;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: sticky;
  top: var(--nav-height, 0px);
  z-index: 50;
}

.ugg-faq-filter-bar::-webkit-scrollbar {
  display: none;
}

.ugg-faq-filter-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 11px;
  color: #8A8A8A;
  flex-shrink: 0;
  white-space: nowrap;
}

.ugg-faq-pill {
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid #DFE0E1;
  padding: 6px 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #707070;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 150ms, color 150ms, background 150ms;
}

.ugg-faq-pill:hover {
  border-color: #2a7d60;
  color: #2a7d60;
}

.ugg-faq-pill.is-active {
  background: #2a7d60;
  border-color: #2a7d60;
  color: #FFFFFF;
}

/* ===== ZONE 3: DOWNLOADS STRIP ===== */
.ugg-faq-downloads-strip {
  background: #F7F7F7;
  border-top: 1px solid #DFE0E1;
  border-bottom: 1px solid #DFE0E1;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ugg-faq-downloads-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ugg-faq-downloads-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: #2a7d60;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.ugg-faq-downloads-title {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #1B1B1B;
  line-height: 1.3;
}

.ugg-faq-downloads-sub {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 11px;
  color: #707070;
  line-height: 1.3;
}

/* ===== BUTTONS ===== */
.ugg-faq-btn-secondary {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid #1B1B1B;
  padding: 8px 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #1B1B1B;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 150ms, color 150ms;
}

.ugg-faq-btn-secondary:hover {
  background: #1B1B1B;
  color: #FFFFFF;
}

.ugg-faq-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: none;
  padding: 10px 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #FFFFFF;
  background: #E55C3D;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 150ms;
}

.ugg-faq-btn-primary:hover {
  background: #c94e33;
  color: #FFFFFF;
}

/* ===== ZONE 4: MAIN LAYOUT ===== */
.ugg-faq-main {
  display: grid;
  grid-template-columns: minmax(0, 288px) minmax(0, 1fr);
  align-items: stretch;
  border-top: none;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #DFE0E1;
  box-shadow: 0 4px 40px rgba(0,0,0,0.06);
  max-width: 1400px;
  width: min(100% - 64px, 1400px);
  margin: 0 auto 40px;
  transition: grid-template-columns 0.42s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* KI: gesamte Sidebar-Spalte zuklappen (nicht nur Inhalt ausblenden) */
.ugg-faq-main.is-ai-sidebar-collapsed {
  grid-template-columns: 0fr minmax(0, 1fr);
}

/* ===== ZONE 4a: SIDEBAR ===== */
.ugg-faq-sidebar {
  background: #F7F7F7;
  border-right: 1px solid #DFE0E1;
  padding: 28px 0 24px;
  position: relative;
  top: auto;
  align-self: stretch;
  min-height: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 20px 0 0 20px;
  transition: padding 0.38s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.32s ease,
    opacity 0.32s ease;
}

.ugg-faq-main.is-ai-sidebar-collapsed .ugg-faq-sidebar {
  border-right-color: transparent;
  pointer-events: none;
}

/* KI-Antwort: Filter (Zielgruppe + Themen) animiert einklappen */
.ugg-faq-sidebar-filters-wrap {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ugg-faq-sidebar-filters-wrap.is-collapsed {
  grid-template-rows: 0fr;
}

.ugg-faq-sidebar-filters-inner {
  overflow: hidden;
  min-height: 0;
  opacity: 1;
  transition: opacity 0.32s ease;
}

.ugg-faq-sidebar-filters-wrap.is-collapsed .ugg-faq-sidebar-filters-inner {
  opacity: 0;
  pointer-events: none;
}

.ugg-faq-sidebar.is-ai-filters-collapsed {
  padding-top: 10px;
  padding-bottom: 10px;
}

@media (prefers-reduced-motion: reduce) {
  .ugg-faq-main,
  .ugg-faq-sidebar,
  .ugg-faq-sidebar-filters-wrap,
  .ugg-faq-sidebar-filters-inner {
    transition-duration: 0.01ms !important;
  }
}

.ugg-faq-sidebar-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  color: #1B1B1B;
  padding: 0 20px 10px;
  margin: 0;
}

.ugg-faq-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ugg-faq-sidebar-list li {
  padding: 0 10px;
}

.ugg-faq-sidebar-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 18px;
  border: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #1B1B1B;
  text-align: left;
  transition: background 220ms ease, color 220ms ease;
}

.ugg-faq-sidebar-btn:hover {
  background: #EAEAEA;
}

.ugg-faq-sidebar-btn.is-active {
  color: #2a7d60;
  font-weight: 600;
  background: rgba(64,179,138,0.16);
  border-left: none;
  border-radius: 10px;
}

.ugg-faq-sidebar-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: none;
  background: rgba(64,179,138,0.16);
  font-size: 14px;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  text-align: center;
  color: #1B1B1B;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), background 220ms ease, box-shadow 220ms ease;
  line-height: 1;
}
.ugg-faq-sidebar-btn:hover .ugg-faq-sidebar-icon {
  background: rgba(64,179,138,0.24);
}
.ugg-faq-sidebar-btn.is-active .ugg-faq-sidebar-icon {
  background: rgba(64,179,138,0.28);
  box-shadow: 0 4px 10px rgba(64,179,138,0.2);
  transform: rotate(-10deg) scale(1.12);
}

.ugg-faq-sidebar-name {
  flex: 1;
  line-height: 1.3;
}

.ugg-faq-sidebar-count {
  flex-shrink: 0;
  font-size: 12px;
  background: rgba(0,0,0,0.06);
  border-radius: 10px;
  padding: 2px 8px;
  color: #8A8A8A;
}
.ugg-faq-sidebar-btn.is-active .ugg-faq-sidebar-count {
  background: rgba(64,179,138,0.22);
  color: #2a7d60;
}

/* Audience select in sidebar */
.ugg-faq-sidebar-audience {
  padding: 16px 16px 12px;
  border-bottom: 1px solid #DFE0E1;
  margin-bottom: 8px;
}

/* Temporarily hide "Ich bin" selector block */
.ugg-faq-sidebar-audience {
  display: none !important;
}

.ugg-faq-sidebar-audience .ugg-faq-sidebar-label {
  padding: 0 0 6px;
  display: block;
  margin-bottom: 8px;
}

.ugg-faq-audience-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #1B1B1B;
  background: #F7F7F7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238A8A8A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1.5px solid #DFE0E1;
  border-radius: 8px;
  padding: 10px 36px 10px 12px;
  cursor: pointer;
  outline: none;
  transition: border-color 150ms, background 150ms;
  line-height: 1.4;
}
.ugg-faq-audience-select:hover {
  border-color: #40b38a;
  background-color: #FFFFFF;
}
.ugg-faq-audience-select:focus {
  border-color: #40b38a;
  background-color: #FFFFFF;
}


/* ===== TOMSELECT BASE (no external CSS needed) ===== */
.ts-wrapper                     { position: relative; display: block; width: 100%; }
.ts-control                     { position: relative; display: flex; align-items: center; flex-wrap: nowrap; width: 100%; cursor: pointer; }
.ts-control input               { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; border: none; padding: 0; margin: 0; background: transparent; }
.ts-hidden-accessible           { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; padding: 0; margin: 0; }
.ts-dropdown                    { position: absolute; z-index: 9999; left: 0; top: calc(100% + 4px); width: 100%; background: #fff; }
.ts-dropdown.is-hidden,
.ts-dropdown[hidden]            { display: none !important; }
.ts-dropdown-content            { overflow-y: auto; max-height: 220px; }
[data-ts-item]                  { display: none; }
.ts-wrapper.rtl .ts-dropdown   { left: auto; right: 0; }

/* ===== TOMSELECT OVERRIDES ===== */
.ugg-faq-sidebar-audience .ts-wrapper {
  width: 100%;
}
.ugg-faq-sidebar-audience .ts-control {
  display: flex;
  align-items: center;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #1B1B1B;
  background: #F7F7F7;
  border: 1.5px solid #DFE0E1;
  border-radius: 8px;
  padding: 9px 36px 9px 12px;
  cursor: pointer;
  outline: none;
  transition: border-color 150ms, background 150ms;
  min-height: unset;
  box-shadow: none;
}
.ugg-faq-sidebar-audience .ts-wrapper.focus .ts-control,
.ugg-faq-sidebar-audience .ts-wrapper:hover .ts-control {
  border-color: #40b38a;
  background: #FFFFFF;
  box-shadow: none;
}
.ugg-faq-sidebar-audience .ts-control::after {
  content: none;
}
.ugg-faq-sidebar-audience .ts-wrapper.single .ts-control::after {
  content: none !important; /* hide TomSelect built-in caret */
  border: 0 !important;
}
.ugg-faq-sidebar-audience .ts-wrapper::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238A8A8A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center center;
  pointer-events: none;
}
.ugg-faq-sidebar-audience .ts-wrapper {
  position: relative;
}
.ugg-faq-sidebar-audience .ts-dropdown {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  background: #FFFFFF;
  border: 1px solid #DFE0E1;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  margin-top: 4px;
  z-index: 100;
  overflow: hidden;
}
.ugg-faq-sidebar-audience .ts-dropdown .option {
  padding: 9px 14px;
  color: #1B1B1B;
  cursor: pointer;
  transition: background 100ms;
}
.ugg-faq-sidebar-audience .ts-dropdown .option:hover,
.ugg-faq-sidebar-audience .ts-dropdown .option.active {
  background: #F0F9F1;
  color: #2a7d60;
}
.ugg-faq-sidebar-audience .ts-dropdown .option.selected {
  font-weight: 600;
  color: #2a7d60;
}
.ugg-faq-sidebar-audience .ts-hidden-accessible { display: none; }

/* ===== ZONE 4b: FAQ CONTENT ===== */
.ugg-faq-content {
  padding: 28px 32px;
  min-width: 0;
  width: 100%;
  max-width: none;
  transition: opacity 240ms ease;
}
.ugg-faq-content.is-theme-fade {
  opacity: 0.5;
}

.ugg-faq-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.ugg-faq-content-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.2;
  color: #1B1B1B;
  margin: 0;
}

.ugg-faq-content-count {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  color: #8A8A8A;
}

/* ===== FAQ ITEM (ACCORDION) ===== */
.ugg-faq-item {
  --faq-body-size: 17px;
  --faq-body-line: 1.4;
  background: #FFFFFF;
  border: 1px solid #DFE0E1;
  border-radius: 16px;
  margin-bottom: 8px;
  box-shadow: 0 0 0 0 transparent;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.ugg-faq-item:hover:not(.is-open) {
  border-color: #8A8A8A;
}

.ugg-faq-item.is-open {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 1px var(--green-dark);
}

.ugg-faq-item.is-hidden {
  display: none;
}

.ugg-faq-question {
  margin: 0;
  padding: 0;
  font-size: inherit;
}

.ugg-faq-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 18px 20px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: var(--faq-body-size);
  line-height: var(--faq-body-line);
  color: #1B1B1B;
}

.ugg-faq-trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(64,179,138,0.5);
  border-radius: 14px;
}

.ugg-faq-trigger-text {
  flex: 1;
}

.ugg-faq-chevron {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: #8A8A8A;
  transition: transform 200ms, color 200ms;
}

.ugg-faq-item.is-open .ugg-faq-chevron {
  transform: rotate(180deg);
  color: #2a7d60;
}

.ugg-faq-answer {
  border-top: 1px solid #DFE0E1;
  padding: 18px 20px 18px;
  overflow: hidden;
}

.ugg-faq-answer[hidden] {
  display: none;
}

.ugg-faq-answer-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: var(--faq-body-size);
  line-height: var(--faq-body-line);
  color: #4a4a4a;
  padding-top: 0;
}

.ugg-faq-answer-text p:first-child { margin-top: 0; }
.ugg-faq-answer-text p:last-child { margin-bottom: 0; }

.ugg-faq-answer-text a {
  color: var(--green-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.ugg-faq-answer-text ul,
.ugg-faq-answer-text ol {
  padding-left: 1.25em;
  margin: 0.5em 0;
}

/* Tags */
.ugg-faq-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.ugg-faq-tag {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  background: #F0F9F1;
  color: #2a7d60;
}

/* Updated */
.ugg-faq-updated {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  color: #8A8A8A;
  margin: 8px 0 0;
}

/* Feedback Footer */
.ugg-faq-feedback {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #DFE0E1;
  gap: 12px;
  flex-wrap: wrap;
}

.ugg-faq-feedback-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ugg-faq-feedback-label {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  color: #8A8A8A;
}

.ugg-faq-feedback-btns {
  display: flex;
  gap: 6px;
}

.ugg-faq-vote-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  border: 1px solid #DFE0E1;
  border-radius: 999px;
  padding: 4px 14px;
  background: transparent;
  color: #707070;
  cursor: pointer;
  transition: background 100ms, color 100ms, border-color 100ms;
}

.ugg-faq-vote-btn:hover {
  border-color: #2a7d60;
  color: #2a7d60;
}

.ugg-faq-vote-btn.is-voted {
  background: #2a7d60;
  color: #FFFFFF;
  border-color: #2a7d60;
}

.ugg-faq-copy-anchor {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  color: #2a7d60;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  align-self: flex-end;
}

.ugg-faq-copy-anchor:hover {
  text-decoration: none;
}

/* No results */
.ugg-faq-no-results {
  padding: 48px 24px;
  text-align: center;
  color: #8A8A8A;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  margin: 0;
}

/* ===== PAGINATION ===== */
.ugg-faq-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px 0 8px;
  flex-wrap: wrap;
}
.ugg-faq-page-btn {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #DFE0E1;
  border-radius: 8px;
  background: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #1B1B1B;
  cursor: pointer;
  padding: 0 10px;
  transition: border-color 150ms, background 150ms, color 150ms;
}
.ugg-faq-page-btn:hover:not(:disabled) {
  border-color: #40b38a;
  color: #2a7d60;
}
.ugg-faq-page-btn.is-active {
  background: #40b38a;
  border-color: #40b38a;
  color: #FFFFFF;
  font-weight: 600;
}
.ugg-faq-page-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.ugg-faq-page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 38px;
  color: #8A8A8A;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  user-select: none;
}


/* ===== ZONE 5: CTA BAR ===== */
.ugg-faq-cta-bar {
  background: #F7F7F7;
  border-top: 1px solid #DFE0E1;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.ugg-faq-cta-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #707070;
}

.ugg-faq-cta-btns {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

/* ===== TOAST ===== */
.ugg-faq-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #1B1B1B;
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 999px;
  z-index: 9999;
  pointer-events: none;
  transition: transform 300ms ease, opacity 300ms ease;
  opacity: 0;
  white-space: nowrap;
}

.ugg-faq-toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ===== LEGACY: keep old accordion classes working ===== */
.ugg-faqs,
.ugg-faqs-sidebar {
  --ugg-black-900: #1B1B1B;
  --ugg-white-000: #FFFFFF;
  --ugg-gray-700: #707070;
  --ugg-gray-600: #8A8A8A;
  --ugg-lightgray-400: #DFE0E1;
  --ugg-lightgray-200: #E9E9E9;
  --ugg-lightgray-100: #F7F7F7;
  --ugg-green-500: #40b38a; /* rgb(64, 179, 138) */
  --ugg-green-dark: #2a7d60;
  --ugg-coral-500: #E55C3D;
  --ugg-faqs-bg: #FFFFFF;
  --ugg-faqs-border: #E9E9E9;
  --ugg-faqs-text: #1B1B1B;
  --ugg-faqs-btn: #E55C3D;
  --ugg-faqs-btn-hover: #c94e33;
  --ugg-faqs-green: #40b38a;
  --ugg-faqs-radius: 9999px;
  --ugg-faqs-radius-card: 1.5rem;
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
}

.ugg-faqs { width: 100%; color: var(--ugg-faqs-text); }
.ugg-faqs--with-sidebar .ugg-faqs__inner { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 768px) {
  .ugg-faqs--with-sidebar .ugg-faqs__inner { grid-template-columns: 260px minmax(0, 1fr); gap: 0; }
  .ugg-faqs__aside.ugg-faqs-sidebar { position: sticky; top: 1.5rem; border-right: 1px solid var(--ugg-lightgray-400); padding: 16px 0; }
}
.ugg-faqs__main { min-width: 0; }
.ugg-faqs__search-wrap { position: relative; display: flex; align-items: center; gap: 10px; margin-bottom: 2rem; border: 1.5px solid var(--ugg-lightgray-400); border-radius: 8px; background: #fff; padding: 0; transition: border-color 150ms; }
.ugg-faqs__search-wrap:focus-within { border-color: var(--ugg-gray-600); }
.ugg-faqs__search-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.ugg-faqs__search-input { flex: 1; min-width: 0; padding: 0 16px 0 44px; height: 56px; border: 0; border-radius: 8px; background: transparent; color: var(--ugg-faqs-text); font-family: inherit; font-size: 1.125rem; }
.ugg-faqs__search-input::placeholder { color: var(--ugg-gray-600); }
.ugg-faqs__search-input:focus { outline: none; }
.ugg-faqs__search-btn { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-right: 6px; padding: 0; border: none; border-radius: 50%; background: var(--ugg-black-900); color: #fff; cursor: pointer; }
.ugg-faqs__search-btn--ai {
  width: auto;
  min-width: 118px;
  height: 44px;
  margin-right: 8px;
  padding: 0 16px;
  border-radius: 999px;
  border: 2px solid rgb(55, 200, 250);
  background: transparent;
  color: rgb(55, 200, 250);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
}
.ugg-faqs__search-btn--ai:hover { background: rgba(55, 200, 250, 0.12); border-color: rgb(40, 175, 220); color: rgb(40, 175, 220); }
.ugg-faqs__results { transition: opacity 0.2s; }
.ugg-faqs__results.ugg-faqs__results--fade-out { opacity: 0; }
.ugg-faqs__list, .ugg-faqs-list { list-style: none; margin: 0; padding: 0; }
.ugg-faqs__item, .ugg-faqs-accordion__item { background: #fff; border: 1px solid var(--ugg-lightgray-400); border-radius: 12px; margin-bottom: 8px; overflow: hidden; transition: border-color 150ms; }
.ugg-faqs__item:hover { border-color: #8A8A8A; }
.ugg-faqs__item-trigger, .ugg-faqs-accordion__trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 16px; border: 0; background: transparent; cursor: pointer; text-align: left; color: var(--ugg-faqs-text); font-family: inherit; font-weight: 600; font-size: 13px; line-height: 1.4; }
.ugg-faqs__item-trigger:focus { outline: 2px solid var(--ugg-faqs-green); outline-offset: -2px; }
.ugg-faqs__item-title { flex: 1; }
.ugg-faqs__item-icon { flex-shrink: 0; width: 16px; height: 16px; position: relative; color: #8A8A8A; transition: transform 200ms, color 200ms; }
.ugg-faqs__item-icon::before, .ugg-faqs__item-icon::after { content: ""; position: absolute; top: 50%; left: 50%; background: currentColor; transition: transform 200ms; }
.ugg-faqs__item-icon::before { width: 8px; height: 1.5px; margin-left: -4px; margin-top: -.75px; }
.ugg-faqs__item-icon::after { width: 1.5px; height: 8px; margin-left: -.75px; margin-top: -4px; }
.ugg-faqs__item-trigger[aria-expanded="true"] .ugg-faqs__item-icon { transform: rotate(180deg); color: var(--ugg-green-dark); }
.ugg-faqs__item-trigger[aria-expanded="true"] .ugg-faqs__item-icon::after { transform: scale(0); }
.ugg-faqs__item-content, .ugg-faqs-accordion__panel { overflow: hidden; transition: height .3s cubic-bezier(.4,0,.2,1); }
.ugg-faqs__item-content[hidden] { display: block; height: 0; visibility: hidden; }
.ugg-faqs__item-content-inner { padding: 0 16px 14px; color: #4a4a4a; font-size: 12px; line-height: 1.7; }
.ugg-faqs__item-content-inner a {
  color: var(--ugg-green-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}
.ugg-faqs__item-content-inner p:first-child { margin-top: .75rem; }
.ugg-faqs__item-content-inner p:last-child { margin-bottom: 0; }
.ugg-faqs__load-more-wrap { margin-top: 2rem; text-align: center; }
.ugg-faqs__load-more { padding: .875rem 2rem; border: none; border-radius: var(--ugg-faqs-radius); font-family: inherit; font-weight: 600; font-size: 1rem; cursor: pointer; background: var(--ugg-faqs-btn); color: #fff; transition: background .15s; }
.ugg-faqs__load-more:hover { background: var(--ugg-faqs-btn-hover); }
.ugg-faqs__no-results { margin: 2rem 0; padding: 2rem; text-align: center; color: var(--ugg-gray-600); font-size: 14px; }
.ugg-faqs__loading--hidden { display: none; }
.ugg-faqs-sidebar, .ugg-faqs__aside.ugg-faqs-sidebar { width: 100%; padding: 1.5rem 1rem; background: #fff; }
.ugg-faqs-sidebar__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .25rem; }
.ugg-faqs-sidebar__btn { display: block; width: 100%; padding: .625rem 1rem; border: none; border-radius: .5rem; background: transparent; color: var(--ugg-black-900); font-family: inherit; font-weight: 600; font-size: 12px; line-height: 1.35; cursor: pointer; text-align: left; transition: background .15s, color .15s; }
.ugg-faqs-sidebar__btn:hover { background: var(--ugg-lightgray-100); color: var(--ugg-green-dark); }
.ugg-faqs-sidebar__btn.is-active { background: var(--ugg-green-dark); color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1023px) {
  .ugg-faq-main:not(.is-ai-sidebar-collapsed) {
    grid-template-columns: minmax(0, 252px) minmax(0, 1fr);
  }
  .ugg-faq-main {
    width: min(100% - 40px, 1400px);
    max-width: none;
    margin: 0 auto 32px;
  }
}

@media (max-width: 767px) {
  .ugg-faq-hero {
    padding: 40px 20px 32px;
  }
  .ugg-faq-hero__h1 {
    font-size: 32px;
  }
  /* Eine Spalte; KI: nicht Desktop-0fr/1fr (würde Sidebar und Inhalt nebeneinander zwingen) */
  .ugg-faq-main,
  .ugg-faq-main.is-ai-sidebar-collapsed {
    grid-template-columns: 1fr;
    margin: 0 12px 24px;
    border-radius: 14px;
    transition: grid-template-columns 0.42s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  /* Untereinander: Sidebar-Zeile per Höhe zuklappen (KI) */
  .ugg-faq-main.is-ai-sidebar-collapsed .ugg-faq-sidebar {
    max-height: 0;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    border-bottom-width: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
  }
  .ugg-faq-sidebar {
    border-right: none;
    border-bottom: 1px solid #DFE0E1;
    position: static;
    min-height: 0;
    padding: 8px 0 4px;
    max-height: 720px;
    opacity: 1;
    transition: max-height 0.42s cubic-bezier(0.2, 0.7, 0.2, 1),
      opacity 0.32s ease,
      padding 0.35s ease,
      border-width 0.2s ease,
      margin 0.2s ease;
  }
  .ugg-faq-sidebar-label {
    display: none;
  }
  .ugg-faq-sidebar-audience .ugg-faq-sidebar-label {
    display: block;
  }
  .ugg-faq-sidebar-list {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 12px 8px;
    gap: 6px;
  }
  .ugg-faq-sidebar-list li {
    padding: 0;
  }
  .ugg-faq-sidebar-list::-webkit-scrollbar {
    display: none;
  }
  .ugg-faq-sidebar-btn {
    flex-shrink: 0;
    width: auto;
    border-radius: 999px;
    border: 1px solid #DFE0E1;
    white-space: nowrap;
    padding: 5px 12px;
    background: transparent;
  }
  .ugg-faq-sidebar-icon {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
  .ugg-faq-sidebar-btn:hover    { background: #F7F7F7; }
  .ugg-faq-sidebar-btn.is-active { background: rgba(64,179,138,0.16); color: #2a7d60; border-color: rgba(64,179,138,0.34); }
  .ugg-faq-sidebar-dot   { display: none; }
  .ugg-faq-sidebar-count { display: none; }
  .ugg-faq-content { padding: 16px 20px; }
  .ugg-faq-trigger { padding: 14px 16px; }
  .ugg-faq-answer { padding: 14px 16px 14px; }
  .ugg-faq-cta-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ugg-faq-cta-btns { flex-direction: column; width: 100%; }
  .ugg-faq-btn-primary, .ugg-faq-btn-secondary { width: 100%; justify-content: center; }
}

@media (max-width: 479px) {
  .ugg-faq-hero { padding: 32px 16px 24px; }
  .ugg-faq-content { padding: 12px 16px; }
  .ugg-faq-item { --faq-body-size: 14px; }
}

@media (max-width: 480px) {
  .ugg-faq-filter-bar {
    padding: 10px 12px;
  }

  .ugg-faq-downloads-strip {
    padding: 12px 16px;
  }

  .ugg-faq-cta-bar {
    padding: 12px 16px;
  }
}

/* ===== KATEGORIE-DROPDOWN-TOGGLE (nur Mobile) ===== */
/* Auf Desktop/Tablet komplett unsichtbar */
.ugg-faq-cat-toggle { display: none; }

/* ===== RESPONSIVE: SUCHFELD + HAUPTLAYOUT ===== */

/* Tablet (768 – 1023 px) */
@media (max-width: 1023px) {
  .ugg-faq-search-wrap {
    max-width: 480px;
  }
}

/* Mobile (≤ 767 px) */
@media (max-width: 767px) {

  /* ── Suchfeld: Höhe reduzieren, Placeholder größer ── */
  .ugg-faq-search-wrap {
    --ugg-faq-search-field-h: 54px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
  }
  .ugg-faq-search-field {
    height: 54px;
    font-size: 20px;
    padding: 0 28px 0 48px;
  }

  /* ── KI-Button: aus dem Suchfeld heraus, als volle Breite darunter ── */
  .ugg-faq-search-ai-btn {
    position: static;
    transform: none;
    width: 100%;
    height: 44px;
    min-width: unset;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
  }

  /* Suchicon: vertikal zentrieren relativ zur Input-Zeile (nicht zum ganzen Wrap) */
  .ugg-faq-search-icon {
    left: 16px;
    top: 27px; /* = 54px / 2 */
  }

  /* ── Hero Subtext ── */
  .ugg-faq-hero__subtext {
    font-size: 18px;
    margin-bottom: 24px;
  }

  /* ── Downloads-Streifen vertikal stapeln ── */
  .ugg-faq-downloads-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* ── Grid-Fix: Spezifitätsproblem lösen ──
     .ugg-faq-main:not(.is-ai-sidebar-collapsed) aus ≤1023px hat Spezifität (0,2,0)
     und überschreibt das grid-template-columns:1fr (0,1,0) im bestehenden ≤767px-Block. */
  .ugg-faq-main:not(.is-ai-sidebar-collapsed) {
    grid-template-columns: 1fr;
  }
  .ugg-faq-main,
  .ugg-faq-main.is-ai-sidebar-collapsed {
    width: auto;
  }

  /* ── Sidebar: Dropdown-Modus auf Mobile ── */
  .ugg-faq-sidebar {
    padding: 0;
    border-radius: 0;
    border-bottom: none; /* dunkler Button schafft visuellen Abstand */
    overflow: visible;   /* bottom border-radius des Buttons muss sichtbar sein */
  }

  /* Toggle-Button: dunkel, unten abgerundet */
  .ugg-faq-cat-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 16px 18px;
    background: #1B1B1B;
    border: none;
    border-radius: 0 0 10px 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #FFFFFF;
    cursor: pointer;
    text-align: left;
    transition: background 150ms, border-radius 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .ugg-faq-cat-toggle:hover {
    background: #2d2d2d;
  }
  /* Wenn Panel offen: unten flach, damit es mit dem Panel verbunden wirkt */
  .ugg-faq-sidebar.is-cat-open .ugg-faq-cat-toggle {
    border-radius: 0;
    background: #1B1B1B;
  }
  .ugg-faq-cat-toggle-icon {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    font-size: 15px;
    flex-shrink: 0;
    line-height: 1;
  }
  .ugg-faq-cat-toggle-label {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .ugg-faq-cat-toggle-chevron {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1), color 150ms;
  }
  .ugg-faq-sidebar.is-cat-open .ugg-faq-cat-toggle-chevron {
    transform: rotate(180deg);
    color: #FFFFFF;
  }

  /* Panel: Standard zugeklappt, Animation via grid-template-rows
     :not(.is-collapsed) → KI-Sidebar-Kollaps bleibt weiterhin funktional */
  .ugg-faq-sidebar-filters-wrap:not(.is-collapsed) {
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .ugg-faq-sidebar.is-cat-open .ugg-faq-sidebar-filters-wrap:not(.is-collapsed) {
    grid-template-rows: 1fr;
  }

  /* Kategorien: vertikale Liste im Dropdown */
  .ugg-faq-sidebar-label { display: none; }
  .ugg-faq-sidebar-list {
    flex-direction: column;
    flex-wrap: nowrap;
    overflow-x: unset;
    overflow-y: unset;
    padding: 8px 10px;
    gap: 2px;
  }
  .ugg-faq-sidebar-list li { padding: 0; }
  .ugg-faq-sidebar-btn {
    width: 100%;
    border: none;
    border-radius: 8px;
    white-space: nowrap;
    padding: 10px 12px;
    font-size: 14px;
    flex-shrink: 1;
  }
  .ugg-faq-sidebar-count { display: inline; } /* Counts wieder zeigen */
}

/* Klein-Mobil (≤ 479 px) */
@media (max-width: 479px) {
  .ugg-faq-search-wrap {
    --ugg-faq-search-field-h: 48px;
  }
  .ugg-faq-search-field {
    height: 48px;
    font-size: 16px; /* iOS: mind. 16px — sonst Auto-Zoom beim Focus */
    padding: 0 24px 0 42px;
  }
  .ugg-faq-search-icon {
    left: 14px;
    top: 24px; /* = 48px / 2 */
  }
  .ugg-faq-hero__h1 {
    font-size: 28px;
  }
  .ugg-faq-hero__subtext {
    font-size: 15px;
  }
  .ugg-faq-search-hint {
    font-size: 12px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ugg-faq-chevron,
  .ugg-faq-pill,
  .ugg-faq-sidebar-btn,
  .ugg-faq-item,
  .ugg-faq-toast,
  .ugg-faq-vote-btn {
    transition: none;
  }
}
