/* ==========================================================================
   info_hint – short explanation behind an info symbol (T317). A native
   <details>: the summary is the symbol (or a question with the symbol,
   variant info_hint_labeled), the text unfolds below – works without
   JavaScript and with the keyboard (Enter / Space). Used where a term needs a
   word of explanation without taking room: "KI-Analysen" in the plan cards,
   the comparison of the pricing page, "Tarif & Abrechnung", the registration.
   ========================================================================== */
.info_hint { display: inline; }
.info_hint_toggle {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; vertical-align: -3px; list-style: none; cursor: pointer;
  border-radius: var(--radius-xl); color: var(--q-highlight-3); font-size: var(--fs-12); font-weight: var(--w-bold);
}
.info_hint_toggle::-webkit-details-marker { display: none; }
.info_hint_toggle::marker { content: ''; }
.info_hint_toggle:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.info_hint_icon {
  flex: none; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: url('/assets/icons/info_dark.svg') center / contain no-repeat; mask: url('/assets/icons/info_dark.svg') center / contain no-repeat;
}
.info_hint_toggle:hover, .info_hint[open] > .info_hint_toggle { color: var(--q-highlight-2); }
.info_hint_text {
  display: block; margin: 8px 0 2px; padding: 10px 12px; max-width: 46ch; box-sizing: border-box; border-radius: var(--radius-md);
  background: var(--q-highlight-4); color: var(--q-dark); font-size: var(--fs-12); font-weight: var(--w-regular); line-height: 1.5; text-align: left; text-wrap: pretty;
}

/* variant: the question written out next to the symbol (where there is room) */
.info_hint_labeled { display: block; }
.info_hint_labeled > .info_hint_toggle { margin-left: 0; vertical-align: baseline; }

/* on dark cards (e.g. the featured plan) the symbol takes the colour of the text */
.billing_plan_featured .info_hint_toggle { color: rgba(255, 255, 255, .8); }
.billing_plan_featured .info_hint_toggle:hover, .billing_plan_featured .info_hint[open] > .info_hint_toggle { color: var(--q-white); }
.billing_plan_feature_text { min-width: 0; }
