/* FAQ als "Liquid Accordion" (nach Nimbus UI "Spillway"), angepasst an Grau/Silber/Gelb.
   Wird von faq.js aufgebaut. Ohne JavaScript bleiben die <details> aus styles.css. */
.nimbus-faq {
  --f-tint: rgba(59, 65, 72, .55);
  --f-fg: #f5f6f7;
  --f-soft: #c3c9d0;
  --f-line: rgba(255, 255, 255, .09);
  --f-rim: rgba(255, 255, 255, .28);
  position: relative; box-sizing: border-box; width: 100%; max-width: 720px; margin: 28px auto 0;
  padding: 8px; border-radius: 28px; isolation: isolate;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
.nf-glass {
  position: absolute; inset: 0; border-radius: inherit; z-index: -2; overflow: hidden; background: var(--f-tint);
  -webkit-backdrop-filter: blur(12px) saturate(1.15); backdrop-filter: blur(12px) saturate(1.15);
  box-shadow: inset 0 1px 1px var(--f-rim), inset 0 0 0 1px rgba(255, 255, 255, .1), 0 18px 44px -20px rgba(0, 0, 0, .75), 0 2px 6px rgba(0, 0, 0, .2);
}
.nf-glass::after { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .05; mix-blend-mode: overlay; }
.nf-water { position: absolute; left: -14px; top: -14px; z-index: -1; pointer-events: none; }
.nimbus-faq[data-gl="off"] .nf-water { display: none; }
.nf-pool {
  display: none; position: absolute; left: 8px; right: 8px; top: 0; border-radius: 20px; z-index: -1; pointer-events: none;
  transition: transform .5s cubic-bezier(.3, 1.3, .4, 1), height .5s cubic-bezier(.25, .9, .3, 1), opacity .3s;
  background: radial-gradient(120% 90% at 30% 0%, rgba(255, 255, 255, .26), rgba(255, 255, 255, 0) 55%), rgba(200, 206, 212, .16);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .55), inset 0 0 0 1px rgba(245, 196, 0, .35), 0 8px 20px -10px rgba(0, 0, 0, .6);
}
.nimbus-faq[data-gl="off"] .nf-pool { display: block; }
.nf-item { position: relative; }
.nf-item + .nf-item::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 1px; background: var(--f-line); transition: opacity .3s; }
.nf-item[data-open="true"]::before, .nf-item[data-open="true"] + .nf-item::before { opacity: 0; }
.nf-h { margin: 0; font: inherit; color: inherit; }
.nf-q {
  all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 16px; width: 100%; min-height: 58px;
  padding: 14px 14px 14px 22px; border-radius: 20px; cursor: pointer;
  color: var(--f-fg); font-weight: 600; font-size: 16px; line-height: 1.35; letter-spacing: -.01em; user-select: none; -webkit-user-select: none;
}
.nf-q:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.nf-qt { flex: 1; min-width: 0; }
.nf-ico {
  position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; color: var(--f-fg);
  background: radial-gradient(120% 120% at 30% 15%, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 60%), rgba(200, 206, 212, .16);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .55), inset 0 0 0 1px rgba(255, 255, 255, .22), 0 3px 8px -3px rgba(0, 0, 0, .6);
  transition: transform .55s cubic-bezier(.3, 1.6, .5, 1), background .3s, color .3s;
}
.nf-ico::before, .nf-ico::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.8px; margin: -.9px 0 0 -5.5px; border-radius: 2px;
  background: currentColor; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1);
}
.nf-ico::after { transform: rotate(90deg); }
.nf-item[data-open="true"] .nf-ico { transform: rotate(180deg); color: #1d2125; background: radial-gradient(120% 120% at 30% 15%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 60%), var(--accent); }
.nf-item[data-open="true"] .nf-ico::after { transform: rotate(90deg) scaleX(0); }
.nf-ico[data-fx="drip"] { animation: nfDrip .7s cubic-bezier(.4, 0, .3, 1); }
@keyframes nfDrip {
  0% { translate: 0 0; scale: 1; }
  25% { translate: 0 -5px; scale: .9 1.1; }
  50% { translate: 0 2px; scale: 1.18 .84; }
  72% { translate: 0 -1px; scale: .96 1.04; }
  100% { translate: 0 0; scale: 1; }
}
.nf-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.25, .9, .3, 1); }
.nf-item[data-open="true"] > .nf-panel { grid-template-rows: 1fr; }
.nf-inner { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s .5s; }
.nf-item[data-open="true"] .nf-inner { visibility: visible; transition: visibility 0s; }
.nf-a { padding: 0 64px 22px 22px; color: var(--f-soft); font-size: 15px; line-height: 1.62; opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .4s; }
.nf-a > *:first-child { margin-top: 0; }
.nf-a > *:last-child { margin-bottom: 0; }
.nf-item[data-open="true"] .nf-a { opacity: 1; transform: none; transition: opacity .4s .1s, transform .5s .06s cubic-bezier(.25, .9, .3, 1); }
@media (max-width: 520px) {
  .nf-q { padding-left: 18px; font-size: 15px; }
  .nf-a { padding: 0 18px 20px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .nf-panel, .nf-inner, .nf-a, .nf-ico, .nf-ico::before, .nf-ico::after, .nf-pool, .nf-item::before { transition: none !important; animation: none !important; }
}
