/* Mess-Animation [fg_messvideo] (19.10.2026), Farben laut CLAUDE.md */
.fg-video {
  box-sizing: border-box;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid #D9DEC8;
  border-radius: 10px;
  overflow: hidden;
  background: #FFFFFF;
}

.fg-video svg {
  display: block;
  width: 100%;
  height: auto;
}

.fg-video svg text {
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
}

.fg-video__untertitel {
  min-height: 4.2em;
  margin: 0;
  padding: 12px 16px;
  background: #2E3616;
  color: #FFFFFF;
  font-size: 18px;
  line-height: 1.4;
}

.fg-video__leiste {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #F5F8ED;
}

.fg-video__leiste button {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 14px;
  border: 0;
  border-radius: 6px;
  background: #5C6C2D;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.fg-video__leiste button:focus-visible {
  outline: 3px solid #0C0C0C;
  outline-offset: 2px;
}

.fg-video__fortschritt {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: #D9DEC8;
  overflow: hidden;
}

.fg-video__fortschritt span {
  display: block;
  width: 0;
  height: 100%;
  background: #5C6C2D;
}

.fg-video__zeit {
  min-width: 3em;
  text-align: right;
  color: #54595F;
  font-variant-numeric: tabular-nums;
}

.fg-video__ohne-js {
  margin: 0;
  padding: 16px;
  color: #54595F;
}

@media (max-width: 480px) {
  .fg-video__untertitel {
    font-size: 16px;
  }
}

/* Immer volle Breite: Im Elementor-Container richtete sich die Breite sonst nach dem Untertitel (19.10.2026) */
.elementor-widget-shortcode:has(.fg-video),
.elementor-widget-shortcode:has(.fg-video) .elementor-widget-container,
.elementor-widget-shortcode:has(.fg-video) .elementor-shortcode {
  width: 100%;
  max-width: 960px;
  align-self: stretch;
}
